feat(slint): favorites tabs as history pages + homologated nav-bar/title
Each favorites tab is now its own history entry (NavEntry::Favorites{tab},
mirroring Discover) recorded from both the header nav and the in-view tab
bar, so back/forward moves between tabs instead of exiting Favorites. Add
the back/forward NavButtons at the same position as every other page
(11px top padding + 22px gap) — FavoritesView was the only view missing
it — and shrink the "Favorites" heading to Typography.section (the album
name size in AlbumView).
cc
This commit is contained in:
3 files changed
+44
-3
No files matched your search
@@ -19,6 +19,12 @@ pub enum NavEntry {
|
||||
Discover {
|
||||
tab: String,
|
||||
},
|
||||
/// A Library > Favorites tab page ("tracks" | "albums" | "artists" |
|
||||
/// "playlists" | "labels"). Each tab is its own history entry so
|
||||
/// back/forward moves between the favorites pages, mirroring Discover.
|
||||
Favorites {
|
||||
tab: String,
|
||||
},
|
||||
/// A Qobuz mix detail page ("daily" | "weekly" | "fav" | "top").
|
||||
Mix {
|
||||
kind: String,
|
||||
|
||||
Reference in new issue
Block a user