[object Object]

← back to Stock Vshape Viewer

Add GO button at bottom of filter section — runs the scan with current criteria (mirrors top Scan button)

93ee25bb176905198edeb9c3a72872ba3f17a47d · 2026-08-27 14:08:42 -0700 · Steve

Files touched

Diff

commit 93ee25bb176905198edeb9c3a72872ba3f17a47d
Author: Steve <steve@designerwallcoverings.com>
Date:   Thu Aug 27 14:08:42 2026 -0700

    Add GO button at bottom of filter section — runs the scan with current criteria (mirrors top Scan button)
---
 public/app.js     | 1 +
 public/index.html | 4 ++++
 2 files changed, 5 insertions(+)

diff --git a/public/app.js b/public/app.js
index 24e55db..6c256ef 100644
--- a/public/app.js
+++ b/public/app.js
@@ -656,6 +656,7 @@ async function loadOptions(t) {
 
 function wireScanAndOptions() {
   document.getElementById('scan-btn').onclick = startScan;
+  document.getElementById('go-scan').onclick = startScan;
   const sm = document.getElementById('scan-max');
   sm.oninput = () => { scanMax = +sm.value; document.getElementById('v-scanMax').textContent = sm.value; };
   // options criteria
diff --git a/public/index.html b/public/index.html
index 0303a18..8832f80 100644
--- a/public/index.html
+++ b/public/index.html
@@ -86,6 +86,9 @@
   .matchline{font-size:11px;color:var(--dim);padding:6px 2px}
   .btn.scan{background:linear-gradient(180deg,#1c3a5e,#14263f);border-color:#2f5a8f}
   .btn.scan:hover{border-color:#5c8fd6}
+  .btn.go{width:100%;margin-top:8px;padding:11px;font-weight:700;font-size:13px;
+    background:linear-gradient(180deg,#1c5e3a,#124029);border-color:#2f8f5a;color:#d8ffe9}
+  .btn.go:hover{border-color:#39d98a;box-shadow:0 0 14px rgba(57,217,138,.25)}
   .scanrow{margin:8px 0}.scanrow label{display:flex;justify-content:space-between;font-size:11.5px;color:var(--dim);margin-bottom:4px}
   .scanrow input[type=range]{width:100%;accent-color:#5c7cff}
   .scanprog{font-size:11px;color:var(--dim);min-height:14px;margin:4px 0}
@@ -213,6 +216,7 @@
       <label class="chk"><input type="checkbox" id="f-below200"> Currently below 200-DMA</label>
       <div class="matchline" id="matchline"></div>
       <button class="btn" id="reset-filters">Reset filters</button>
+      <button class="btn go" id="go-scan">▶ GO — scan with these filters</button>
     </div>
 
     <div class="sec">

← 254436e Panel spec 14/14 green; serve /favicon.ico as 204 to elimina  ·  back to Stock Vshape Viewer  ·  Fix scan race: await autoLoadMatches before printing 'loaded 368c737 →