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:
5 files changed
+213
-5
No files matched your search
@@ -788,14 +788,14 @@ export component PlayerBarSmall inherits Rectangle {
|
||||
background: Theme.border-subtle;
|
||||
}
|
||||
}
|
||||
ContextMenuItem {
|
||||
if !ShellState.kiosk-profile: ContextMenuItem {
|
||||
icon: @image-url("../assets/icons/picture-in-picture-2.svg");
|
||||
label: @tr("Miniplayer");
|
||||
clicked => {
|
||||
root.media-action("npb-view", "", "miniplayer");
|
||||
}
|
||||
}
|
||||
ContextMenuItem {
|
||||
if !ShellState.kiosk-profile: ContextMenuItem {
|
||||
icon: @image-url("../assets/icons/maximize-2.svg");
|
||||
label: @tr("Immersive");
|
||||
clicked => {
|
||||
|
||||
Reference in new issue
Block a user