feat(slint): Playlist Manager view + shared nav/state/shell wiring
Port the Playlist Manager: header/toolbar (search/filter/sort/folder-flat toggle/view-mode/new-folder/counter), FOLDERS card grid (accent icon, count, edit), PLAYLISTS grid/list/tree, folder CRUD (FolderEditModal), move-to- folder, per-card actions, and arrow-button reorder (custom sort). Reached from the sidebar "Manage playlists" item; backend 100% reused via QbzCore/library.db (no new commands). Pointer-event drag-and-drop and gradient folder colors are deferred follow-ups. This commit also carries the cross-cutting wiring the session's features all share — state.slint globals/structs, NavEntry variants, main.rs dispatch + action wiring, artwork targets, app.slint exports, AppShell mounts — so HEAD is the verified-green tree (cargo check + release build clean). cc
This commit is contained in:
22 files changed
+3806
-13
No files matched your search
@@ -25,12 +25,25 @@ pub enum NavEntry {
|
||||
Favorites {
|
||||
tab: String,
|
||||
},
|
||||
/// A Discover "View all" full-list page — one album module
|
||||
/// (new releases, qobuzissimes, ...) opened from a Carousel's
|
||||
/// "View all" link. Carries the /discover/<x> endpoint + the
|
||||
/// section title used as the page heading.
|
||||
DiscoverBrowse {
|
||||
endpoint: String,
|
||||
title: String,
|
||||
},
|
||||
/// A Qobuz mix detail page ("daily" | "weekly" | "fav" | "top").
|
||||
Mix {
|
||||
kind: String,
|
||||
},
|
||||
/// A playlist detail page; the string is the playlist id.
|
||||
Playlist(String),
|
||||
/// The Playlist Manager — the full playlist + folder organization
|
||||
/// surface (Tauri's PlaylistManagerView). Toolbar state
|
||||
/// (filter/sort/view/folder-mode) is session-scoped in the
|
||||
/// controller, so the entry carries no payload.
|
||||
PlaylistManager,
|
||||
Album(String),
|
||||
Artist(String),
|
||||
Settings,
|
||||
|
||||
Reference in new issue
Block a user