From 93eb8cc4aacbc13939129b6ab7691ae9cbd40623 Mon Sep 17 00:00:00 2001 From: Shawn Date: Tue, 16 Jun 2026 18:35:51 -0400 Subject: [PATCH] Make v2 UI Settings button navigate to /settings page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both the tab bar ⚙ Settings button and the status bar ⚙ button in the v2 UI now redirect to /settings instead of opening an inline overlay. The full settings page has the left sidebar nav with category views. --- src/web/ui-v2-dist/index.html | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/src/web/ui-v2-dist/index.html b/src/web/ui-v2-dist/index.html index 99d7700..0f3a119 100644 --- a/src/web/ui-v2-dist/index.html +++ b/src/web/ui-v2-dist/index.html @@ -786,20 +786,16 @@ function init(){ btn.onclick=()=>{ const view=btn.dataset.view; if(view==='main'){document.querySelectorAll('.tab-btn').forEach(b=>b.classList.remove('active'));btn.classList.add('active');} - else if(view==='settings')openOverlay('Settings'); + else if(view==='settings'){window.location.href='/settings';return;} else if(view==='presets'){openOverlay('Presets');loadPresets();} else if(view==='snapshots'){openOverlay('Snapshots');loadSnapshots();} else if(view==='downloads')openOverlay('Downloads'); }; }); - // Status bar: settings - document.getElementById('btnSettings').onclick=async()=>{ - document.getElementById('instrumentLabel').textContent=currentChannel.charAt(0).toUpperCase()+currentChannel.slice(1).replace('_',' '); - openOverlay('Settings'); - await loadAudioProfiles();await loadBtStatus();await loadBtMidi();await loadHotspotStatus(); - await loadNetworkInfo();await loadSystemInfo();await doWifiScan(); - loadAudioDevices();loadChInstrumentState(); + // Status bar: settings → navigate to full settings page + document.getElementById('btnSettings').onclick=()=>{ + window.location.href='/settings'; }; // Close all overlays