← back to Rentv Sheet Enrich
Remove jumpy 'Wider' bulk button (bumped all cols +60 -> lurched table 1000px+ right); keep 'Fit to content' + 'Reset'. Phone split verified populating Phone 1/2/3 from multi-number Phone(s)
a8e0412e23a85730e017cb5c174e265a4ab6bd59 · 2026-08-13 14:58:10 -0700 · Steve Abrams
Files touched
Diff
commit a8e0412e23a85730e017cb5c174e265a4ab6bd59
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Aug 13 14:58:10 2026 -0700
Remove jumpy 'Wider' bulk button (bumped all cols +60 -> lurched table 1000px+ right); keep 'Fit to content' + 'Reset'. Phone split verified populating Phone 1/2/3 from multi-number Phone(s)
---
public_live/index.html | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/public_live/index.html b/public_live/index.html
index 14209d2..e303046 100644
--- a/public_live/index.html
+++ b/public_live/index.html
@@ -224,7 +224,7 @@ function buildRail(){
<button id="sortdir" title="asc/desc">${SORT&&SORT.dir<0?'▼':'▲'}</button></div>
<div class="rrow"><label>Group</label><select id="groupsel"><option value="">— none —</option>${opts}</select></div>
<div class="rrow"><label>Density</label><input type="range" id="dens" min="10" max="18" value="${getComputedStyle(document.documentElement).getPropertyValue('--fs').trim().replace('px','')||13}"></div>
- <div class="rrow"><label>Columns</label><button id="fitcols" title="expand every column to fit its content">⤢ Fit all</button><button id="widecols" title="make all columns wider">↔ Wider</button><button id="resetcols" title="reset widths + order">↺ Reset</button></div>
+ <div class="rrow"><label>Columns</label><button id="fitcols" title="size every column to fit its content">⤢ Fit to content</button><button id="resetcols" title="reset widths + order to default">↺ Reset</button></div>
<details class="sec" open><summary>Fields (${H.filter(Boolean).length}) · <span class="mini" id="allf">all</span> / <span class="mini" id="nonef">none</span></summary>
<div id="ftogs"></div></details>
<details class="sec" open><summary>Filters — click a value</summary><div id="facets"></div></details>`;
@@ -265,7 +265,7 @@ function wireRail(){
$('#sortdir').onclick=()=>{if(SORT){SORT.dir*=-1;LS.set('sort',SORT);$('#sortdir').textContent=SORT.dir<0?'▼':'▲';render()}};
$('#groupsel').onchange=e=>{GROUP=e.target.value;LS.set('group',GROUP);render()};
$('#dens').oninput=e=>{document.documentElement.style.setProperty('--fs',e.target.value+'px')};
- $('#fitcols').onclick=fitAllCols; $('#widecols').onclick=widenCols; $('#resetcols').onclick=resetLayout;
+ $('#fitcols').onclick=fitAllCols; $('#resetcols').onclick=resetLayout;
$('#allf').onclick=()=>{HIDDEN.clear();LS.set('hidden.'+GID,[]);buildRail();render()};
$('#nonef').onclick=()=>{HIDDEN=new Set(DATA.headers.map((h,i)=>h?String(i):null).filter(x=>x));LS.set('hidden.'+GID,[...HIDDEN]);buildRail();render()};
}
@@ -313,10 +313,6 @@ function fitAllCols(){ // expand every visible column to fit its content
COLW[c.i]=Math.min(640,Math.max(70,Math.round(max*7.1)+26)); });
LS.set('colw.'+GID,COLW); render();
}
-function widenCols(){ // bump every column wider by 60px
- visCols().forEach(c=>{ COLW[c.i]=Math.min(700,(COLW[c.i]||180)+60); });
- LS.set('colw.'+GID,COLW); render();
-}
function resetLayout(){ COLW={}; ORDER=[]; LS.set('colw.'+GID,{}); LS.set('order.'+GID,[]);
ORDER=LS.get('order.'+GID,[]); buildRail(); render(); }
function render(){
← 2c2d33c Fix width-weird-on-click: table width = exact sum of column
·
back to Rentv Sheet Enrich
·
Phone UX: number renders as plain text + a 📞 call icon besi ff8d35a →