Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a focused mobile rendering bug fix that adds support for Material You’s 8-digit colors while preserving existing color handling. Runtime impact is limited to native review/source surfaces, with targeted tests covering compositing and final palette values. You can add or adjust custom eligibility rules. Learn more. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review. 📝 WalkthroughWalkthroughNative review theme color handling now supports eight-digit hex colors with alpha. Tests cover color compositing formats and validate Material You themes for light and dark appearances. ChangesNative review theme colors
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The native review color conversion update is ready to merge based on the reviewed implementation and focused test coverage. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Fixes reproduced on an Android emulator and from upstream reports. Feed: Android stops drawing a text view past the GPU's maximum texture height, so a long list rendered as one selectable Text lost its tail and took seconds per frame to draw. Long lists now split into 40-item chunks. Wide assistant markdown blocks keep a pinned width; the feed reserves bottom padding. Keyboard: the feed re-pins after keyboard transitions settle and when the composer collapses; the back gesture collapses the composer; sticky composers only follow the keyboard after a fresh show or real focus (upstream pingdotgg#8212). Terminal: hardware Enter no longer moves focus off the terminal; keyboards that use deleteSurroundingText (FUTO) send Backspace; forward delete works. Also: stream haptics no longer buzz every 320ms on Android and all haptics use the system engine; thread settings apply on tap without Save; typed pairing codes are normalized to the server format; non-git projects fall back to the current checkout instead of a dead worktree default; user CA certificates are trusted; Ctrl/Cmd+Enter sends from a hardware keyboard; thread rename, project favicons in the filter, tablet sidebar toggle, desktop-window density, route titles, Material You review colors, bottom gesture-bar insets, and the composer placeholder clipping (upstream PRs pingdotgg#11503, pingdotgg#11370, pingdotgg#11339, pingdotgg#8200, pingdotgg#8717, pingdotgg#11445, pingdotgg#6003, pingdotgg#5052, pingdotgg#8362, pingdotgg#10709, pingdotgg#11611, pingdotgg#8800, adapted).
|
Superseded by #12534, which landed on main with eight-digit hex flattening in |
What Changed
Accept
#RRGGBBAAin the native review color converter and blend its alpha channel onto the existing background. Keep sending opaque#RRGGBBto both native implementations.Why
Android Material You supplies eight-digit colors. The converter only recognized six-digit hex and RGB/RGBA strings, so the background, text, line numbers, and hunk colors fell back to the same screen token. Unhighlighted text and labels could disappear against the background.
The fix stays in the converter shared by these mobile views. Web, desktop, providers, and wire contracts are unchanged.
flowchart LR A[Material You palette] --> B[Convert to opaque native colors] B --> C[Review diffs] B --> D[Comment snippets] B --> E[Source file previews]Testing
nativeReviewDiffAdapter.test.tsandmaterialYouTheme.test.ts, using one worker. Seven regression cases failed before the fix.UI Changes
Android device verification and before/after screenshots are missing. No Android SDK or emulator was available, and T3 device access was disabled. The author chose to submit with this limitation disclosed. The reproduction above is automated color-conversion coverage, not a device rendering test.
Checklist
Implemented with GPT-5 in Codex.
Summary by CodeRabbit
Bug Fixes
Tests