From 0ff0df632be7570681efe3e4f0202fc547017db6 Mon Sep 17 00:00:00 2001 From: James Smith Date: Wed, 18 Mar 2026 23:41:29 +0000 Subject: [PATCH] Open satellite dashboard in new tab --- static/js/core/command-palette.js | 2 +- templates/index.html | 6 +++--- templates/partials/nav.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/static/js/core/command-palette.js b/static/js/core/command-palette.js index a58b04c..72b1e3b 100644 --- a/static/js/core/command-palette.js +++ b/static/js/core/command-palette.js @@ -331,7 +331,7 @@ const CommandPalette = (function() { function goToMode(mode) { if (mode === 'satellite') { - window.location.href = '/satellite/dashboard'; + window.open('/satellite/dashboard', '_blank', 'noopener'); return; } diff --git a/templates/index.html b/templates/index.html index a1e7e7e..1e1d441 100644 --- a/templates/index.html +++ b/templates/index.html @@ -394,7 +394,7 @@

Space

- + Satellite @@ -3605,7 +3605,7 @@ // Mode selection from welcome page function selectMode(mode) { if (mode === 'satellite') { - window.location.href = '/satellite/dashboard'; + window.open('/satellite/dashboard', '_blank', 'noopener'); return; } selectedStartMode = mode; @@ -4404,7 +4404,7 @@ const previousMode = currentMode; if (mode === 'listening') mode = 'waterfall'; if (mode === 'satellite') { - window.location.href = '/satellite/dashboard'; + window.open('/satellite/dashboard', '_blank', 'noopener'); return; } if (!validModes.has(mode)) mode = 'pager'; diff --git a/templates/partials/nav.html b/templates/partials/nav.html index e60eeed..b9136ba 100644 --- a/templates/partials/nav.html +++ b/templates/partials/nav.html @@ -17,7 +17,7 @@ {% macro mode_item(mode, label, icon_svg, href=None) -%} {%- set is_active = 'active' if active_mode == mode else '' -%} {%- if mode == 'satellite' %} - + {{ icon_svg | safe }} {{ label }} @@ -42,7 +42,7 @@ {% macro mobile_item(mode, label, icon_svg, href=None) -%} {%- set is_active = 'active' if active_mode == mode else '' -%} {%- if mode == 'satellite' %} - + {{ icon_svg | safe }} {{ label }} {%- elif href %}