feat(ui): add explicit content badge across entire app

Display parental_warning badge (E icon) next to track titles in all
views: TrackRow, QueuePanel, NowPlayingBar, ImmersivePlayer with all
13 visualizer panels, MiniPlayer surfaces, and AlbumDetailView.

Propagate parental_warning field through the full data chain from
Rust backend (qbz-models, queue, commands_v2, session_store, API
server) to frontend stores, adapters, and UI components. Badge uses
CSS mask technique with explicit.svg for theme compatibility.
This commit is contained in:
vicrodh committed 2026-03-06 08:48:51 -06:00
1 parent 6685566091
commit 5b9f5a75c2
39 files changed
+538 -36

No files matched your search

+3
View File
@@ -36,6 +36,9 @@ pub struct QueueTrack {
/// Source identifier (e.g., "qobuz", "local", "plex")
#[serde(default)]
pub source: Option<String>,
/// Parental advisory / explicit content
#[serde(default)]
pub parental_warning: bool,
}
fn default_streamable() -> bool {