@@ -689,8 +689,8 @@ <h2 style="margin:0" data-i18n="hero_title">Build your next paper with ARK</h2>
689689 </ select >
690690 </ div >
691691 < div class ="hero-field hero-field-iter ">
692- < label data-i18n =" max_iterations " > Max iterations </ label >
693- < input type ="number " name ="max_iterations " value ="3 " min ="1 " max ="3 " />
692+ < label > Pages < span id =" hero-pages-default " style =" font-weight:400;color:var(--text-muted);font-size:.85em " > (default: 9) </ span > </ label >
693+ < input type ="number " name ="venue_pages " id =" hero-venue-pages-input " value ="9 " min ="1 " max ="50 " />
694694 </ div >
695695 </ div >
696696
@@ -723,7 +723,6 @@ <h2 style="margin:0" data-i18n="hero_title">Build your next paper with ARK</h2>
723723
724724 < input type ="hidden " name ="mode " value ="paper " />
725725 < input type ="hidden " name ="venue_format " id ="hero-venue-format " value ="neurips " />
726- < input type ="hidden " name ="venue_pages " id ="hero-venue-pages " value ="9 " />
727726
728727 <!-- Telegram — always visible -->
729728 < div class ="tg-section " style ="margin-top:16px ">
@@ -778,6 +777,16 @@ <h2 style="margin:0" data-i18n="hero_title">Build your next paper with ARK</h2>
778777 </ label >
779778 </ div >
780779 </ div >
780+ < div style ="display:flex;gap:16px;margin-top:12px ">
781+ < div class ="hero-adv-field " style ="flex:1 ">
782+ < label > Max Dev Iterations < span style ="font-weight:400;color:var(--text-muted);font-size:.85em "> (default: 3)</ span > </ label >
783+ < input type ="number " name ="max_dev_iterations " value ="3 " min ="1 " max ="10 " />
784+ </ div >
785+ < div class ="hero-adv-field " style ="flex:1 ">
786+ < label > Max Review Iterations < span style ="font-weight:400;color:var(--text-muted);font-size:.85em "> (default: 2)</ span > </ label >
787+ < input type ="number " name ="max_iterations " value ="2 " min ="1 " max ="5 " />
788+ </ div >
789+ </ div >
781790 </ div >
782791 </ div >
783792
@@ -807,16 +816,15 @@ <h2 style="margin:0" data-i18n="hero_title">Build your next paper with ARK</h2>
807816 < div class ="detail-header ">
808817 < div style ="display:flex;align-items:center;gap:12px;margin-bottom:6px ">
809818 < button class ="btn-secondary " onclick ="navigate('dashboard') " style ="padding:6px 12px;font-size:.85rem " data-i18n ="back "> ← Back</ button >
810- < h2 id ="detail-title "> Project</ h2 >
811819 < span id ="detail-badge " class ="badge "> </ span >
812820 </ div >
813- < div class ="detail-meta " id ="detail-meta "> </ div >
814821 </ div >
815822
816- < div id ="detail-title-row " style ="margin-bottom:12px ">
817- < h3 id ="detail-paper-title " style ="font-size:1.3rem;font-weight:700;color:var(--text-primary);cursor:pointer;margin:0;padding:4px 0 "
823+ < div id ="detail-title-row " style ="margin-bottom:16px;padding:16px 20px;background:var(--bg-hover);border-radius:12px;border-left:4px solid var(--accent) ">
824+ < div style ="font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin-bottom:6px " data-i18n ="title "> Title</ div >
825+ < h3 id ="detail-paper-title " style ="font-size:1.25rem;font-weight:700;color:var(--text-primary);cursor:pointer;margin:0;line-height:1.4 "
818826 title ="Click to edit " onclick ="startEditTitle(this) "> </ h3 >
819- < input id ="detail-title-input " style ="display:none;font-size:1.3rem ;font-weight:700;width:100%;border:1px solid var(--accent);border-radius:6px;padding:4px 8px;outline:none "
827+ < input id ="detail-title-input " style ="display:none;font-size:1.25rem ;font-weight:700;width:100%;border:1px solid var(--accent);border-radius:6px;padding:4px 8px;outline:none;background:var(--bg) "
820828 onblur ="saveTitle() " onkeydown ="if(event.key==='Enter')this.blur();if(event.key==='Escape'){this.value=this.dataset.original;this.blur()} " />
821829 </ div >
822830
@@ -1787,14 +1795,10 @@ <h3 data-i18n="edit_project">Edit Project</h3>
17871795 resetProgress ( p . max_iterations ) ;
17881796 setProgressWidgetVisible ( p . status === 'running' || p . status === 'queued' ) ;
17891797
1790- document . getElementById ( 'detail-title' ) . textContent = p . id ;
17911798 const badge = document . getElementById ( 'detail-badge' ) ;
17921799 badge . className = `badge badge-${ p . status } ` ;
17931800 badge . textContent = t ( 'status_' + p . status ) || p . status ;
17941801
1795- document . getElementById ( 'detail-meta' ) . innerHTML =
1796- `<span>${ esc ( p . venue ) } </span><span>·</span><span>${ t ( 'info_created' ) } : ${ fmtDate ( p . created_at ) } </span>` ;
1797-
17981802 const titleEl = document . getElementById ( 'detail-paper-title' ) ;
17991803 titleEl . textContent = p . paper_title || p . title || p . name || '—' ;
18001804 titleEl . dataset . projectId = p . id ;
@@ -2223,7 +2227,7 @@ <h3 data-i18n="edit_project">Edit Project</h3>
22232227 const sel = document . getElementById ( 'hero-venue-select' ) ;
22242228 if ( ! sel ) return ;
22252229 sel . innerHTML = venues . map ( v =>
2226- `<option value="${ v . name } " data-format="${ v . format } " data-pages="${ v . pages } ">${ v . name } ${ v . pages ? ' (' + v . pages + ' pages)' : '' } </option>`
2230+ `<option value="${ v . name } " data-format="${ v . format } " data-pages="${ v . pages } ">${ v . name } ( ${ v . year || 2025 } ) </option>`
22272231 ) . join ( '' ) + '<option value="Customized" data-format="custom" data-pages="9">Customized</option>' ;
22282232 heroVenueChanged ( sel ) ;
22292233}
@@ -2235,14 +2239,19 @@ <h3 data-i18n="edit_project">Edit Project</h3>
22352239 if ( ! opt ) return ;
22362240 const isCustom = opt . value === 'Customized' ;
22372241 document . getElementById ( 'custom-template-wrap' ) . style . display = isCustom ? '' : 'none' ;
2242+ const pagesInput = document . getElementById ( 'hero-venue-pages-input' ) ;
2243+ const pagesDefault = document . getElementById ( 'hero-pages-default' ) ;
22382244 if ( ! isCustom ) {
2245+ const defaultPages = opt . dataset . pages || '9' ;
22392246 document . getElementById ( 'hero-venue-format' ) . value = opt . dataset . format || 'article' ;
2240- document . getElementById ( 'hero-venue-pages' ) . value = opt . dataset . pages || '9' ;
2247+ if ( pagesInput ) pagesInput . value = defaultPages ;
2248+ if ( pagesDefault ) pagesDefault . textContent = '(default: ' + defaultPages + ')' ;
22412249 customTplFile = null ;
22422250 } else {
22432251 document . getElementById ( 'hero-venue-format' ) . value = 'custom' ;
2244- document . getElementById ( 'hero-venue-pages' ) . value =
2245- document . getElementById ( 'custom-tpl-pages' ) . value || '9' ;
2252+ const customPages = document . getElementById ( 'custom-tpl-pages' ) . value || '9' ;
2253+ if ( pagesInput ) pagesInput . value = customPages ;
2254+ if ( pagesDefault ) pagesDefault . textContent = '(default: 9)' ;
22462255 }
22472256}
22482257
0 commit comments