From 3c7dc4de6e58d1cac251f82d7f87eb7b5b05d164 Mon Sep 17 00:00:00 2001 From: Broque Thomas <26755000+Nezreka@users.noreply.github.com> Date: Wed, 22 Apr 2026 14:29:30 -0700 Subject: [PATCH] Artist detail back button falls back to Search, not Dashboard When the user reached the inline Artists detail view from outside the Artists page and no browser history is available (direct bookmark), fall back to the Search page instead of Dashboard. Search is the natural next step for finding a different artist. --- webui/static/artists.js | 5 +++-- webui/static/helper.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/webui/static/artists.js b/webui/static/artists.js index 505febf9..1f741c01 100644 --- a/webui/static/artists.js +++ b/webui/static/artists.js @@ -40,11 +40,12 @@ function initializeArtistsPage() { // Otherwise the user reached this detail view from elsewhere (Search, // Discover, watchlist, etc.). The Artists page is no longer a sidebar // entry, so there's nothing useful to fall back to here — let the - // browser take them back to wherever they came from. + // browser take them back to wherever they came from, or drop them on + // Search (the go-forward way to find another artist). if (window.history.length > 1) { window.history.back(); } else { - navigateToPage('dashboard'); + navigateToPage('search'); } }); } diff --git a/webui/static/helper.js b/webui/static/helper.js index 1f0a4f0a..bafe250c 100644 --- a/webui/static/helper.js +++ b/webui/static/helper.js @@ -3559,7 +3559,7 @@ const WHATS_NEW = { { title: 'Search Page Renamed to /search', desc: 'The Search page\'s internal id is now "search" instead of the confusing "downloads" (which clashed with the actual Downloads page). Sidebar label unchanged. URL is now /search; /downloads still resolves so old bookmarks keep working. Profile ACL "Page Access" now saves as "search"; existing profiles with "downloads" in allowed_pages still resolve through a legacy-compat check', page: 'search', unreleased: true }, { title: 'Embedded Download Manager Removed from Search Page', desc: 'The Search page used to carry a second copy of the Download Manager (active + finished queues, clear/cancel-all buttons) that was hidden by default and duplicated the dedicated Downloads page. That duplicate is gone — toggle button, side-panel HTML, and its 1-second polling loop all removed. About 330 lines of dead code cleaned up. The dedicated Downloads sidebar page is now the single downloads UI', page: 'search', unreleased: true }, { title: 'Artists Sidebar Entry Retired — Use Search Instead', desc: 'Cin flagged that "Artists" in the sidebar read like a library section but was actually a dedicated artist-search page, duplicating what the unified Search already does. The sidebar entry is gone. New flow: Sidebar → Search → type artist name → click their result. "Browse Artists" on the empty Watchlist page and "View artist from Wishlist" now open Search pre-filled with the artist\'s name. Removed "Artists" from profile Home Page + Page Access options. Deep link to /artists still resolves so old bookmarks keep working — the page just isn\'t promoted anywhere', page: 'search', unreleased: true }, - { title: 'Artist Detail Back Button Fallback', desc: 'The back button on the Artists-page inline detail view used to dump users on an empty "Search for an artist..." screen when they arrived from outside the Artists page — a dead end now that Artists isn\'t in the sidebar. If you searched inside the Artists page, back still returns to your results list. Otherwise (arriving from Search, Discover, Watchlist, etc.), back uses the browser history to land you on whichever page you came from. Falls back to Dashboard only when there\'s no browser history to go back to', page: 'search', unreleased: true }, + { title: 'Artist Detail Back Button Fallback', desc: 'The back button on the Artists-page inline detail view used to dump users on an empty "Search for an artist..." screen when they arrived from outside the Artists page — a dead end now that Artists isn\'t in the sidebar. If you searched inside the Artists page, back still returns to your results list. Otherwise (arriving from Search, Discover, Watchlist, etc.), back uses the browser history to land you on whichever page you came from. Falls back to the Search page only when there\'s no browser history to go back to (the natural place to find another artist)', page: 'search', unreleased: true }, { title: 'Interactive Help Updated for Unified Search', desc: 'The click-for-help annotations and the "Your First Download" guided tour were rewritten for the new Search page. Stale annotations pointing at removed elements (Basic/Enhanced toggle button, side-panel queues, download-manager controls) are deleted. The first-download tour now runs on /search and opens with the source picker. PAGE_TOUR_MAP accepts both "search" and the legacy "downloads" id so old bookmarks still match a tour. Retired the standalone "Browse Artists" tour', page: 'help', unreleased: true }, ], '2.39': [