Simplify webplayer sign-in handoff and restore accessible controls

SI
1mo ago
+73-10

Embedded listening-only players stopped after Spotify sign-in on an extra Listen screen. Show their playlist and playback controls immediately after connection, keeping playback user-initiated and preserving Continue for generated experiences.

Fix shared CSS that hid Apple navigation/disconnect and provider fallback links, restore white song text on the unthemed dark player, compact the listening-only artist banner, remove the duplicate duration, enlarge control targets and shorten provider disclosures. Apple introductory copy disappears after connection.

Validation: 90 player/site tests including immediate embedded visibility, no automatic playback request, preserved experience Continue and Apple ready state; TypeScript; scoped ESLint and Prettier; local browser previews of signed-out/connected Apple and connected Spotify at narrow widths, with visible fallback/navigation, readable songs and no horizontal overflow. Dependencies match the existing lockfile. Preview states use synthetic sample rows, not live provider authorization.

No authentication grants, fan identity/consent policy, playlist destinations or telemetry contracts changed. Physical Instagram/TikTok browser authorization, non-owner Premium playlist selection, Spotify Free app handoff and subscribed Apple playback remain to be verified after release.


Summary by cubic

Embedded listening-only players show their playlist and playback controls immediately after Spotify sign-in instead of routing through an extra Listen screen. Playback stays user-initiated, and the Continue step is preserved for generated experiences.

  • Spotify listening-only flows now show the player display on connect without requesting a new /me/player call or sending a Continue postMessage.
  • Apple introductory copy now hides after connection, and the fallback provider links and Apple navigation/disconnect controls are visible again.
  • Restores white song text on the unthemed dark player, compacts the listening-only artist banner, removes the duplicate duration, and enlarges touch targets to 44px minimums.
  • Shortens the provider consent copy and the connected status message to "Press Play to listen."

No authentication grants, fan identity or consent policy, playlist destinations, or telemetry contracts changed. Playback is never requested automatically on connect.