feat(web): add /discover route with search + request flow

Local-input + 250ms debounce drives Lidarr search; tab switch refetches
with new kind. Track-kind Request opens a confirm modal explaining the
album that will be added; Confirm fires createRequest, Cancel is a no-op.
Successful requests flip the card to 'requested' optimistically.
Shell nav now exposes /discover between Search and Playlists.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-04-29 22:15:52 -04:00
parent d27b381250
commit 8a12b8c571
4 changed files with 467 additions and 1 deletions
+1
View File
@@ -25,6 +25,7 @@
{ href: '/', label: 'Library' },
{ href: '/library/liked', label: 'Liked' },
{ href: '/search', label: 'Search' },
{ href: '/discover', label: 'Discover' },
{ href: '/playlists', label: 'Playlists' },
{ href: '/settings', label: 'Settings' }
];