feat(slint): immersive track info inline panel (split)

Add ImmersiveTrackInfoPanel for the split-right slot (split-panel 1):
title + album, Duration/Quality/ISRC/Label-link metadata rows, grouped
credits and copyright, reusing MetaCell/CreditCell from TrackInfoModal
(now exported). A new load-without-open path (info_modals::
load_track_info_inline via TrackInfoActions.load-inline) populates
TrackInfoState without raising the floating modal, so the inline panel
fills in place; the data refreshes on now-playing track change. Header
gains a Track Info tab in the split rail (Lyrics, Track Info, Queue).

cc
This commit is contained in:
vicrodh committed 2026-06-19 06:19:53 -06:00
1 parent 55fc6fa13f
commit 816da9cd47
6 files changed
+342 -11

No files matched your search

@@ -13,7 +13,8 @@ import { QbzIcon } from "../primitives/QbzIcon.slint";
import { ListScrollbar } from "../primitives/ListScrollbar.slint";
// One metadata cell: uppercase label (11px) + a value supplied as a child.
component MetaCell inherits VerticalLayout {
// Exported so the immersive split Track Info panel can reuse it 1:1.
export component MetaCell inherits VerticalLayout {
in property <string> label;
spacing: 6px;
Text {
@@ -29,7 +30,8 @@ component MetaCell inherits VerticalLayout {
// One credit cell: role label (11px upper) + the performer names, each
// clickable -> musician. Clipped so a long name list can't bleed into the
// neighbouring column (the common 1-3 name case fits one line).
component CreditCell inherits VerticalLayout {
// Exported so the immersive split Track Info panel can reuse it 1:1.
export component CreditCell inherits VerticalLayout {
in property <InfoCreditRow> cell;
callback name-clicked(string /* name */, string /* role-raw */);
spacing: 6px;