Repository navigation
feat(mobile): opt-in visualizer, full screen on iPhone Duo - #14819
Open
dylanjeffers wants to merge 5 commits into
Open
dylanjeffers wants to merge 5 commits into
dylanjeffers wants to merge 5 commits into
Conversation
- Layout reacts to window size changes (fold/unfold) instead of reading Dimensions once at startup; drawer height is now a hook. - Wide windows (>= 600pt) show a split view with a docked Now Playing panel (artwork, waveform, controls, Up Next) in place of the drawer. - Half-open hinge shows Gatefold: artwork and controls on the left page, timestamped comments synced to playback on the right; tap to seek. - New AudiusHinge native module wraps UIHingeInteraction (iOS 27.1+). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Size Now Playing panel and Gatefold artwork from the space left after the controls, so the play controls stay on screen. - Gatefold pages flex within the modal's measured width and apply its own safe-area insets, including left/right. - Gatefold only on a vertical fold (window wider than tall). - Render the Dynamic Island logo only when the top inset can hide it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The docked Now Playing panel in the open posture gets a Butterchurn visualizer behind the existing waveform and comment bubble, driven by the track's decoded audio, with a per-track preset tinted from the artwork. An expand button takes the panel full screen. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Adds a visualizer toggle to the Now Playing drawer behind the now_playing_visualizer flag, reusing the Duo panel's backdrop. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
The Duo's open posture shows the plain docked Now Playing panel by default. A Visualizer button in the panel header turns the visualizer on and takes the player full screen; pressing it again returns to the docked panel. The phone drawer toggle no longer persists between launches. Both sit behind the now_playing_visualizer flag. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dylanjeffers
marked this pull request as ready for review
December 2, 2026 19:35
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #14813. Adds the Butterchurn visualizer to Now Playing as something you opt into, never the default. This now also carries the phone drawer change that was #14820.
Before: on the iPhone Duo's open posture, the docked Now Playing panel always ran the visualizer behind the waveform, and a separate arrow took it full screen.
After: the docked panel is the plain panel from #14813. A Visualizer button (stars icon) next to "Now Playing" turns the visualizer on and takes the player full screen on the inner screen. Pressing it again turns the visualizer off and goes back to the docked panel next to the feed. On regular phones the same button sits in the Now Playing drawer's title bar and turns the visualizer on behind the drawer.
now_playing_visualizer, on in development and off in production until the flag is created in Optimizely. With the flag off there is no button and nothing changes.ThemeOverrideContextinutils/theme.tsforces the dark theme over the visualizer so text and controls stay readable on any app theme.visualizerLibs.ts(about 390KB), generated bypackages/mobile/scripts/generate-visualizer-libs.jsfrom the copiespackages/webalready depends on.Closed, Gatefold and the half-open split view are unchanged from #14813.
How to test on an iPhone Duo
Use a build where
now_playing_visualizeris on (any development build).Checks
tscand eslint on the changed mobile files: no new errors (a local install without built workspace packages reports missing@audius/fixed-decimaland similar in untouched files). Comment ratchet passes.Not verified
Notes
Generated by Claude Code