From 5a192f31009d821993b47ca56c2ca92f9b2835b2 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Sun, 12 Jul 2026 06:12:58 -0400 Subject: [PATCH] Sync System Settings tabs with the URL query activeTab read ?tab= only once at mount, so settings-rail links that change just the query (Branding, Floor Map) updated the URL without switching the panel. The query param is now the source of truth: a watcher applies rail/back/forward navigation and tab clicks write the query via router.replace. Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 3 +++ .../src/views/settings/SystemSettings.vue | 21 +++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b769a27..9fc3b03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,6 +76,9 @@ ADR-007 and ADR-002. ### Fixed +- System Settings tabs follow the URL: clicking a settings-rail link that + only changes the ?tab= query (Branding, Floor Map) now switches the right + panel, tab clicks update the URL, and browser back/forward restore tabs. - Following a relationship link between two assets of the same type now loads the destination page instead of stale content (router-view keyed on path; query-only URL changes still avoid a remount). diff --git a/frontend/src/views/settings/SystemSettings.vue b/frontend/src/views/settings/SystemSettings.vue index 095c8fd..ec52a5f 100644 --- a/frontend/src/views/settings/SystemSettings.vue +++ b/frontend/src/views/settings/SystemSettings.vue @@ -15,7 +15,7 @@ :key="tab.key" class="settings-tab" :class="{ active: activeTab === tab.key }" - @click="activeTab = tab.key" + @click="selectTab(tab.key)" >{{ tab.label }}

No matching settings

@@ -923,7 +923,7 @@