feat(slint): LocalLibrary track-row context menu homologated 1:1 with Tauri
Per the reviewed spec (qbz-nix-docs/handoffs/2026-06-10-locallibrary- trackmenu-1to1-spec.md): Add to Mixtape/Collection unhidden for local surfaces via an independent mixtape-action flag; force-local-menu kills the dead 9-entry Qobuz block on qobuz_download rows (SourceGlyph untouched); favorite entry on qobuz_download rows only (Tauri's Add to Library ported minus its local-id-to-Qobuz-API bug, spec 3.2); Add to Playlist stays visible offline (deliberate deviation, our local playlists accept tracks offline, spec 3.3/D7-D8); right-click opens the same menu at the pointer (PointerEventButton.right, suppressed in multi-select, Tauri parity). Qobuz surfaces byte-identical (flags default to the old gate). Rust arms ride the next commit (shared main.rs). cc
This commit is contained in:
4 files changed
+94
-20
No files matched your search
@@ -482,6 +482,9 @@ export component LocalAlbumView inherits Rectangle {
|
||||
show-download: false;
|
||||
// Show the per-row source glyph (local / qobuz-offline / Plex).
|
||||
show-source: true;
|
||||
// Library surface: local menu even for qobuz_download
|
||||
// rows (spec §3.4).
|
||||
force-local-menu: true;
|
||||
media-action(kind, id, action) => {
|
||||
// Local-only: ignore album/artist link clicks. "play"
|
||||
// (row body / play cell) plays; the context-menu
|
||||
|
||||
Reference in new issue
Block a user