feat: add Qobuzissimes, Albums of the Week, Press Accolades browse pages

- Add 3 new Rust endpoint constants and command mappings for
  /discover/qobuzissims, /discover/albumOfTheWeek, /discover/pressAward
- Add 3 new navigation ViewType values and genre filter contexts
- Extend DiscoverBrowseView to handle the 3 new endpoint types
- Add See All links with chevron caret and pipe separator to all 6
  discover sections in HomeView (newReleases, mostStreamed,
  essentialDiscography, qobuzissimes, editorPicks, pressAwards)
- Wire up 3 new views in +page.svelte with full album action callbacks
- Rename Editor's Picks to Albums of the Week, Press Awards to Press
  Accolades across all 4 locale files (en, es, de, fr)
- Fix rank badge: top-right position, Impact font, 35px size
- See All styling: inline-flex with ChevronRight icon, pipe divider,
  15px gap before nav buttons, #666666 color matching nav buttons
This commit is contained in:
vicrodh committed 2026-02-10 01:10:28 -06:00
1 parent a575c0c805
commit ba62057545
13 files changed
+171 -27

No files matched your search

+3
View File
@@ -56,6 +56,9 @@ pub mod paths {
pub const DISCOVER_NEW_RELEASES: &str = "/discover/newReleases";
pub const DISCOVER_IDEAL_DISCOGRAPHY: &str = "/discover/idealDiscography";
pub const DISCOVER_MOST_STREAMED: &str = "/discover/mostStreamed";
pub const DISCOVER_QOBUZISSIMS: &str = "/discover/qobuzissims";
pub const DISCOVER_ALBUM_OF_THE_WEEK: &str = "/discover/albumOfTheWeek";
pub const DISCOVER_PRESS_AWARD: &str = "/discover/pressAward";
}
/// Build full URL for an endpoint
+3
View File
@@ -706,6 +706,9 @@ pub async fn get_discover_albums(
"newReleases" => paths::DISCOVER_NEW_RELEASES,
"idealDiscography" => paths::DISCOVER_IDEAL_DISCOGRAPHY,
"mostStreamed" => paths::DISCOVER_MOST_STREAMED,
"qobuzissimes" => paths::DISCOVER_QOBUZISSIMS,
"albumOfTheWeek" => paths::DISCOVER_ALBUM_OF_THE_WEEK,
"pressAward" => paths::DISCOVER_PRESS_AWARD,
_ => return Err(format!("Unknown discover endpoint type: {}", endpoint_type)),
};