diff --git a/web_server.py b/web_server.py index 8865c21f..646945c0 100644 --- a/web_server.py +++ b/web_server.py @@ -37,7 +37,7 @@ _log_dir = Path(_log_path).parent logger = setup_logging(_log_level, _log_path) # App version — single source of truth for backup metadata, version-info endpoint, etc. -_SOULSYNC_BASE_VERSION = "2.45" +_SOULSYNC_BASE_VERSION = "2.46" def _build_version_string(): """Append short commit hash to version when available (e.g. 2.35+abc1234).""" @@ -22809,6 +22809,18 @@ def get_version_info(): "title": "What's New in SoulSync", "subtitle": f"Version {SOULSYNC_VERSION} — Latest Changes", "sections": [ + { + "title": "Artists Sidebar Entry Retired — Use Search Instead", + "description": "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; the same flow now runs through Search", + "features": [ + "• Sidebar → Search → type an artist's name → click their result → land on the artist detail page (same page Library links to)", + "• 'Browse Artists' button on the empty Watchlist page now opens Search instead of the retired Artists page", + "• 'View artist from Wishlist' button now opens Search pre-filled with the artist's name", + "• Removed 'Artists' from the profile Home Page and Page Access options so new profiles don't point to a missing sidebar entry", + "• Deep link to /artists still resolves so old bookmarks work; the page and its inline search just aren't promoted anywhere", + "• Phase 4b of the Search/Artists unification project", + ], + }, { "title": "Artist Links Everywhere Go to the Same Page", "description": "Clicking an artist result in Search, Discover, the API Monitor, or anywhere else now lands on the standalone artist detail page Library already uses — instead of swapping into the Artists page's inline detail view", diff --git a/webui/index.html b/webui/index.html index 053245a9..35fb1a2a 100644 --- a/webui/index.html +++ b/webui/index.html @@ -100,7 +100,6 @@ - @@ -115,7 +114,6 @@ - @@ -208,10 +206,6 @@ Explorer - +

Use Search to find an artist, then add them to your watchlist from the artist page.

+ diff --git a/webui/static/api-monitor.js b/webui/static/api-monitor.js index 3dcbd1b7..8e8962cd 100644 --- a/webui/static/api-monitor.js +++ b/webui/static/api-monitor.js @@ -1231,13 +1231,16 @@ function _renderWishlistNebula(albumTracks, singleTracks, artistImageMap, curren field.innerHTML = html; } -// Enhancement 8: navigate to artist detail from wishlist +// Enhancement 8: navigate to the Search page pre-filled with this artist's name function _navigateToArtistFromWishlist(artistName) { - // Try to find the artist in the library DB by searching - navigateToPage('artists'); + navigateToPage('search'); setTimeout(() => { - const searchInput = document.querySelector('.artist-search-input, #artist-search'); - if (searchInput) { searchInput.value = artistName; searchInput.dispatchEvent(new Event('input')); } + const searchInput = document.getElementById('enhanced-search-input'); + if (searchInput) { + searchInput.value = artistName; + searchInput.dispatchEvent(new Event('input')); + searchInput.focus(); + } }, 300); } diff --git a/webui/static/helper.js b/webui/static/helper.js index 6be8d1bb..7e494dfd 100644 --- a/webui/static/helper.js +++ b/webui/static/helper.js @@ -3599,6 +3599,11 @@ function closeHelperSearch() { // ═══════════════════════════════════════════════════════════════════════════ const WHATS_NEW = { + '2.46': [ + // --- April 23, 2026 (late night) --- + { date: 'April 23, 2026 (late night)' }, + { 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 → land on the artist detail page (same page Library links to). "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. Phase 4b of the Search/Artists unification project', page: 'search' }, + ], '2.45': [ // --- April 23, 2026 (night) --- { date: 'April 23, 2026 (night)' }, diff --git a/webui/static/library.js b/webui/static/library.js index 3f7fb359..3be4d03c 100644 --- a/webui/static/library.js +++ b/webui/static/library.js @@ -2021,7 +2021,7 @@ async function openDiscographyModal() { } if (!artist || !discography) { - showToast('No discography found. Try searching this artist on the Artists page instead.', 'error'); + showToast('No discography found. Try searching this artist from the Search page instead.', 'error'); return; }