Music Library: active-tab color + collapsible player drawer #40
Loading…
Reference in a new issue
No description provided.
Delete branch "music-qol"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Two QoL tweaks to the Music workspace.
btn-primary) instead of the faintbtn-active, so the current view reads at a glance.How
Collapsing only hides the UI — playback keeps running.
useNativeAudiofiresaudio_stopon unmount, soPlayerBarstays mounted and just swaps its render instead of unmounting. The bar reopens on its own when playback resumes from a pause or when something new is played (the play actions clear the collapsed flag); an end-of-track auto-advance does not reopen it, so it can stay hidden across a whole album. Collapsing also closes the queue, which anchors to the bar.playerCollapsed+setPlayerCollapsedlive in the music store; the floating restore control is rendered byPlayerBaritself so the audio hook stays alive.Testing
tsc, Biome, and full-repo lint pass. Verified viamake dev: active tab stands out, collapse hides the bar while music keeps playing, the floating control and new playback both restore it, and the queue closes on collapse.