Repository navigation
Description
Goal
Keep the music section out of the way when music is not playing, while leaving a quick way to open the user's preferred music app.
User requirement
when music is not playing, music section collapses to an icon to just launch the default music app (in my case spotify)
Backlog status
- Parent: Retain Spotify and media controls #19 (Spotify and media controls); root: Establish notch-pocket as an independent, agent-managed product #13.
- Priority: P0 (explicit user selection).
- Implemented in existing draft PR #86, head
82b65308bfd53b95d24fd50610d5677b2ffa9024; unmerged and not native-accepted.
Current implementation and evidence
- Immediate paused/stopped/no-player launcher behavior is authored; it does
not wait for the separate idle timer. Playing/current/preferred/history
routing, explicit missing-target feedback, dismissal, a five-second UI
deadline and one outstanding OS launch request are covered by local tests. - The retained full-panel path integrates draft Remove panel swipes while preserving media gestures #106/Remove compact mode while preserving full-panel media controls #107 without resurrecting
compact mode. The 241-case local suite, independent review and recorded-head
hosted checks passed before the runner merge. Earlier lint/routing/lifetime failures were corrected. - A distinct test-only public-API media fixture is built/signed and included
in the PR. It is not Spotify impersonation, an injected product backend or
proof of actual Notch media rendering/activation. - Both native error journeys and real play/pause/stop/resume/activation
evidence remain. Merged Prepare stable signed regression runners for durable guest authorization #108 resolves the runner prerequisite with actual
recording readiness and prompt-free changed-source/restart proof. PR feat(media): add idle preferred-app launcher #86
still needs its own compatible candidate/fixtures and fresh head/base
review/CI; no playback, account or release authority is added here.
Acceptance boxes below remain unchecked because implementation and unit tests
do not satisfy the required native behaviors.
Scope
When no music is playing, replace the expanded music section with a compact launcher icon. Activating the icon opens the user's default/preferred music app, currently Spotify. The requirement is to launch the app, not to start playback automatically.
When playback resumes, restore the normal playing-music presentation and controls. This changes the music section, not the visibility of unrelated widgets or the entire notch.
Acceptance criteria
- With music paused, stopped, or no active music player, the music section collapses to a launcher icon rather than retaining an empty or inactive expanded section.
- Activating the icon launches or activates the user's default/preferred music app; Spotify is the user's current choice, not a universal hardcoded default.
- Starting or resuming playback restores the normal music presentation and controls.
- Playback-state changes do not disturb other sections, shelf contents or user settings.
- Resolve how the preferred music app is selected using existing settings or platform integration where suitable; make missing/unavailable targets explicit rather than silently failing.
- Verify transitions with Spotify playing, paused, stopped and not running; cover app activation and unavailable-target behavior.
Implementation boundary
Reuse existing playback observation and media presentation paths where possible. Do not implement a second independent media-state tracker or assume a particular launch/default-app mechanism before inspecting the code.
Factual reconciliation after #108 merged into pocket at
b8b70228d82bd0e8b208c2e34b4c94f6670fd9b2 on 2026-10-04 UTC
(2026-10-03 evening EDT). Remaining issue/PR states, priorities and ownership
are unchanged. This update does not run tests, integrate branches, merge
other work, change permissions, install an app or publish a release.
Activity