diff --git a/src-tauri/src/api/endpoints.rs b/src-tauri/src/api/endpoints.rs index 1f99aafb5..1d8b0c151 100644 --- a/src-tauri/src/api/endpoints.rs +++ b/src-tauri/src/api/endpoints.rs @@ -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 diff --git a/src-tauri/src/commands/search.rs b/src-tauri/src/commands/search.rs index 205a23fad..abc43e44d 100644 --- a/src-tauri/src/commands/search.rs +++ b/src-tauri/src/commands/search.rs @@ -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)), }; diff --git a/src/lib/components/HorizontalScrollRow.svelte b/src/lib/components/HorizontalScrollRow.svelte index 6fb03102a..28325feb4 100644 --- a/src/lib/components/HorizontalScrollRow.svelte +++ b/src/lib/components/HorizontalScrollRow.svelte @@ -69,6 +69,7 @@ display: flex; align-items: center; justify-content: space-between; + gap: 15px; margin-bottom: 16px; } diff --git a/src/lib/components/VirtualizedFavoritesAlbumGrid.svelte b/src/lib/components/VirtualizedFavoritesAlbumGrid.svelte index 1493789b9..17ed8d61a 100644 --- a/src/lib/components/VirtualizedFavoritesAlbumGrid.svelte +++ b/src/lib/components/VirtualizedFavoritesAlbumGrid.svelte @@ -524,12 +524,13 @@ .rank-badge { position: absolute; - bottom: 114px; + top: 4px; right: 4px; z-index: 2; background: rgba(0, 0, 0, 0.70); color: #fff; - font-size: 33px; + font-family: Impact, 'Arial Black', sans-serif; + font-size: 35px; font-weight: 700; padding: 2px 8px; border-radius: 8px; diff --git a/src/lib/components/views/DiscoverBrowseView.svelte b/src/lib/components/views/DiscoverBrowseView.svelte index 2358f464b..7eaf24b74 100644 --- a/src/lib/components/views/DiscoverBrowseView.svelte +++ b/src/lib/components/views/DiscoverBrowseView.svelte @@ -42,7 +42,7 @@ } interface Props { - endpointType: 'newReleases' | 'idealDiscography' | 'mostStreamed'; + endpointType: 'newReleases' | 'idealDiscography' | 'mostStreamed' | 'qobuzissimes' | 'albumOfTheWeek' | 'pressAward'; titleKey: string; showRanking?: boolean; onBack: () => void; @@ -88,6 +88,9 @@ newReleases: 'discover-new-releases', idealDiscography: 'discover-ideal-discography', mostStreamed: 'discover-top-albums', + qobuzissimes: 'discover-qobuzissimes', + albumOfTheWeek: 'discover-albums-of-the-week', + pressAward: 'discover-press-accolades', }; const genreContext = GENRE_CONTEXT_MAP[endpointType]; diff --git a/src/lib/components/views/HomeView.svelte b/src/lib/components/views/HomeView.svelte index 708c6d3ee..3231c2aeb 100644 --- a/src/lib/components/views/HomeView.svelte +++ b/src/lib/components/views/HomeView.svelte @@ -1,7 +1,7 @@