feat(slint): immersive queue panel (focus + split) with queue/history tabs

Add ImmersiveQueuePanel, one component used both as a focus full-screen
queue (mode 5) and the split-right panel (split-panel 3). Queue/History
sub-tabs bound to QueueState.tab/set-tab; NOW PLAYING card + UP NEXT list
from the flat coverflow-tracks model (upcoming index = idx -
coverflow-index - 1 -> play-coverflow-upcoming), History from the
canonical history list. Header gains a Queue tab in both rails;
QueueState.panel-opened() fires on entry. Rows reuse the queue row
shape; scrolling via Flickable + shared ListScrollbar.

cc
This commit is contained in:
vicrodh committed 2026-06-19 05:54:58 -06:00
1 parent 77068e3b75
commit 55fc6fa13f
3 files changed
+493 -5

No files matched your search

+3 -2
View File
@@ -3218,8 +3218,9 @@ export global ImmersiveState {
// FOCUS-mode foreground for the conditional-mounted panel (read only while
// view-mode == 0):
// 0 = Album Reactive, 1 = Static, 2 = Coverflow, 3 = Spectrum,
// 4 = Lyrics-focus (one giant centered current line).
// (5 = Queue-focus is reserved for a later checkpoint — NOT added yet.)
// 4 = Lyrics-focus (one giant centered current line),
// 5 = Queue-focus (full-screen Queue + History panel; reuses QueueState,
// no extra state field — same component as the split Queue panel).
// SESSION default 0 (Album Reactive) so opening shows a real foreground.
// NOTE: this compact enum is a Slint-scaffold contract; it deliberately
// does NOT match Tauri's focus-tab string order (coverflow first). Product