fix(mobile): restore Android page transitions #75

Merged
joshuafhiggins merged 5 commits from t3/fix-android-page-transitions into main 2026-11-05 22:42:14 -05:00
Owner

Android album and playlist pages opened instantly because their stack animations were disabled. Restoring the slide exposed artwork backgrounds and text changing abruptly at different times.

Restore Android slide transitions and animate the artwork palette together on the UI thread. The page, skeleton, header, mini-player, native tab bar, and artwork text read the shared animation. Native tab labels and icons update their Fabric appearance directly so they do not wait for React commits. Remove the per-frame React palette update loop, transition-end gate, and Back-navigation repaint delay. Visible covers prefetch their colors; late results fade in when ready. Reduced motion skips the fade.

Validation: mobile TypeScript and git diff --check passed. Tested album push and Back on sparticus's existing Android 17 emulator. Temporarily bypassed palette caching and prefetch and delayed extraction by 1.5 seconds. Recorded pixels show intermediate title, native tab-label, and background colors, reaching their final colors on the same sampled frame. Diagnostic changes were removed. No tests added.

Cold-load text and background fade recording

Model: gpt-6.1-sol with medium reasoning effort, running in T3 Code through the Codex harness.

Android album and playlist pages opened instantly because their stack animations were disabled. Restoring the slide exposed artwork backgrounds and text changing abruptly at different times. Restore Android slide transitions and animate the artwork palette together on the UI thread. The page, skeleton, header, mini-player, native tab bar, and artwork text read the shared animation. Native tab labels and icons update their Fabric appearance directly so they do not wait for React commits. Remove the per-frame React palette update loop, transition-end gate, and Back-navigation repaint delay. Visible covers prefetch their colors; late results fade in when ready. Reduced motion skips the fade. Validation: mobile TypeScript and git diff --check passed. Tested album push and Back on sparticus's existing Android 17 emulator. Temporarily bypassed palette caching and prefetch and delayed extraction by 1.5 seconds. Recorded pixels show intermediate title, native tab-label, and background colors, reaching their final colors on the same sampled frame. Diagnostic changes were removed. No tests added. [Cold-load text and background fade recording](https://files.gitcoffee.dev/files/otunes-ui-thread-text-dncycz3pkpfxmooj.mp4) Model: gpt-6.1-sol with medium reasoning effort, running in T3 Code through the Codex harness.
joshuafhiggins added 3 commits 2026-11-05 17:41:12 -05:00
joshuafhiggins force-pushed t3/fix-android-page-transitions from e220575b97 to 4f3733eecf 2026-11-05 17:41:12 -05:00 Compare
joshuafhiggins added 1 commit 2026-11-05 17:49:31 -05:00
joshuafhiggins added 1 commit 2026-11-05 21:30:24 -05:00
joshuafhiggins merged commit bc56110ef0 into main 2026-11-05 22:42:14 -05:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: joshuafhiggins/otunes#75