feat(kiosk): Now Playing centerpiece + NPB miniplayer/immersive consistency

KioskNowPlaying: a 50/50 full screen (big cover + title/artist + AudioStamp
+ SeekBar + the reused 7-control TransportControls on the left, the Up-Next
queue on the right), reading NowPlayingState/QueueState and calling
QueueState.panel-opened() on init. New ContentView.now-playing route; the
NavRail Now Playing tile navigates there instead of opening immersive. Also
hide the Miniplayer + Immersive items from the NPB view menu while in the
kiosk profile (todos o ninguno) so it is not a second-window/overlay mix.
Validated via slintcheck.

cc
This commit is contained in:
vicrodh committed 2026-07-10 21:38:57 -06:00
1 parent f1d965b04e
commit 6032791be4
5 files changed
+213 -5

No files matched your search

+13 -1
View File
@@ -28,6 +28,7 @@ import { RecentAlbumsView } from "../discover/RecentAlbumsView.slint";
import { KioskAlbum } from "KioskAlbum.slint";
import { LocalAlbumView } from "../album/LocalAlbumView.slint";
import { KioskArtist } from "KioskArtist.slint";
import { KioskNowPlaying } from "KioskNowPlaying.slint";
import { ArtistReleasesView } from "../artist/ArtistReleasesView.slint";
import { MusicianPageView } from "../musician/MusicianPageView.slint";
import { LabelReleasesView } from "../label/LabelReleasesView.slint";
@@ -404,6 +405,17 @@ export component KioskShell inherits Rectangle {
root.media-action(kind, id, action);
}
}
if NavState.view == ContentView.now-playing: KioskNowPlaying {
open-album(id) => {
root.open-album(id);
}
open-artist(id) => {
root.open-artist(id);
}
media-action(kind, id, action) => {
root.media-action(kind, id, action);
}
}
}
}
}
@@ -446,7 +458,7 @@ export component KioskShell inherits Rectangle {
NavState.view = ContentView.search;
}
playing => {
root.media-action("npb-view", "", "immersive");
NavState.view = ContentView.now-playing;
}
visualizer => {
root.media-action("npb-view", "", "immersive");