feat(search): add carousel for artists and view more cards
- Albums: 30 results with view more card if total > 30 - Artists: 12 results with carousel navigation - Artists carousel: same pagination logic as albums - View more cards: 160x220px dashed border, navigate to tab - Artists gap: reduced to 16px (same as albums) - Separate page tracking for albums and artists cp
This commit is contained in:
1 parent
c466a0817c
commit
db49168623
2 files changed
+160
-37
No files matched your search
@@ -64,9 +64,9 @@ pub async fn search_all(
|
||||
let client = state.client.lock().await;
|
||||
|
||||
let (albums_result, tracks_result, artists_result) = tokio::join!(
|
||||
client.search_albums(&query, 20, 0),
|
||||
client.search_albums(&query, 30, 0),
|
||||
client.search_tracks(&query, 8, 0),
|
||||
client.search_artists(&query, 5, 0)
|
||||
client.search_artists(&query, 12, 0)
|
||||
);
|
||||
|
||||
Ok(SearchAllResults {
|
||||
|
||||
Reference in new issue
Block a user