Repository navigation
fix(devpass): census registry mobile layout - #3202
Merged
Merged
Conversation
On phones the registry rows collapsed: the fixed-width score meters
squeezed the flex-1 identity column to ~3 characters ("gem…"), the
meta line wrapped one word per line, and the recommend block floated
into leftover space.
- Stack each entry below sm: rank stamp + full model name with the
recommend verdict docked top-right, score meters full-width beneath
(bars flex-1 on mobile, fixed w-24 from sm up); sm+ keeps the
existing horizontal ledger row unchanged
- Keep "Doc. CS-{year}" on one line and slightly tighten the registry
heading tracking on mobile so the header no longer wraps mid-token
- Scale the stats strip down a step on mobile (text-2xl, 0.15em label
tracking) so the three columns fit without crowding
Verified with Playwright at 320/390/1280 in light + dark, including a
long model id for truncation.
Claude-Session: https://claude.ai/code/session_01Pxhem1afhLvsxVRhG8XYxF
Contributor
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe census data page updates responsive layouts for score meters and model rows, adjusts stats typography, and refines registry header spacing and document-code wrapping. Data fetching, routing, and exported page control flow remain unchanged. ChangesCensus data page UI
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
smakosh
enabled auto-merge
July 23, 2026 11:05
smakosh
added this pull request to the merge queue
Jul 23, 2026
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.
Problem
On phones, the
/data/[year]census registry rows collapsed (screenshot from a real device): the fixed-width score meters shared the first flex line with theflex-1identity column, squeezing the model name down to ~3 characters ("gem…"), wrapping the "N verified ratings · mostly X" meta line one word per line, and dropping the recommend block into leftover space.Changes
All in
apps/code/src/app/data/[year]/page.tsx, keeping the census/registry document styling intact:sm: rank stamp + full model name/meta with the "N% recommend" verdict docked top-right, and the three score meters full-width beneath (barsflex-1on mobile, back to fixedw-24fromsmup). Fromsmup the existing horizontal ledger row is unchanged.shrink-0 whitespace-nowrapso it stays on one line, with slightly tighter heading tracking on mobile so the title no longer wraps mid-token.text-2xland label tracking0.15emon mobile (up to the originaltext-3xl/0.2emfromsm) so the three columns fit without crowding.Verification
Verified with Playwright against the locally seeded census: 390px and 320px in dark + light, a long model id (
gemini-3.5-flash-preview-06-2026-experimental) for graceful truncation, and 1280px to confirm the desktop layout is pixel-identical.pnpm formatand a fullpnpm buildpass.https://claude.ai/code/session_01Pxhem1afhLvsxVRhG8XYxF
Summary by CodeRabbit