feat(slint): favorites Artists grid card fidelity + derive_artists
Drop the albums_count line from the artist card (Tauri #169: Qobuz's count includes compilations/tributes and is misleadingly high) — removed from ArtistCard, map_artist, FavoriteArtistItem and FavArtistCard. Shrink the card image to a 120px circle to match Tauri. Add derive_artists (name-substring search filter → artists-visible/artists-shown), seeded on load; grouping + the alpha strip layer on next. cc
This commit is contained in:
3 files changed
+32
-19
No files matched your search
@@ -394,10 +394,10 @@ component FavArtistCard inherits Rectangle {
|
||||
VerticalLayout {
|
||||
spacing: 10px;
|
||||
Rectangle {
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
x: (parent.width - self.width) / 2;
|
||||
border-radius: 70px;
|
||||
border-radius: 60px;
|
||||
background: Theme.surface-elevated;
|
||||
clip: true;
|
||||
Image {
|
||||
@@ -421,6 +421,7 @@ component FavArtistCard inherits Rectangle {
|
||||
}
|
||||
}
|
||||
}
|
||||
// albums_count line intentionally omitted (Tauri #169).
|
||||
Text {
|
||||
text: root.item.name;
|
||||
color: Theme.text-primary;
|
||||
@@ -430,13 +431,6 @@ component FavArtistCard inherits Rectangle {
|
||||
overflow: elide;
|
||||
width: 160px;
|
||||
}
|
||||
if root.item.albums-line != "": Text {
|
||||
text: root.item.albums-line;
|
||||
color: Theme.text-muted;
|
||||
font-size: Typography.legal;
|
||||
horizontal-alignment: center;
|
||||
width: 160px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user