refactor(web): add density to ComboboxItem, SelectItem and MenuRadioItem - #13007
juliusmarminge wants to merge 1 commit into
Conversation
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a contained UI refactor that centralizes dropdown density styling and replaces repeated classes at a handful of call sites. Its runtime effect is limited to row sizing and typography, with no schema, data-flow, security, billing, or deployment impact. No code changes detected at You can add or adjust custom eligibility rules. Learn more. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: pingdotgg/t3code/.coderabbit.yaml Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Limit details: You’ve used all 10 included reviews currently available. 📝 WalkthroughWalkthroughThe UI item primitives now support density variants. Selectors, menus, comboboxes, and related controls use shared compact or roomy settings instead of local sizing classes. The restyle lint ceiling is reduced from 802 to 784. ChangesUI density standardization
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change standardizes list-row density and makes selected picker rows use the shared default sizing. No actionable merge-blocking risk is identified, so it is mergeable with normal checks. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
bc47417 to
2be88bc
Compare
Twelve list rows re-declared min-h-7 py-1 text-xs (compact) or py-2 (roomy) through className. Expose density="compact|default|roomy" to match MenuItem's vocabulary and migrate them. Visible effect: the project-scope and base-ref pickers had pinned their rows to 32px; they now use the default row (28px on desktop) like every other combobox. Lowers the no-restyle ceiling from 802 to 784. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2be88bc to
8e43b21
Compare
|
Superseded by the reworked stack (#12993 v2). After review feedback the layers were rebuilt to add fewer props and take more opinions in the base; see the new stack for the replacement. |
Twelve list rows re-declared min-h-7 py-1 text-xs (compact) or py-2
(roomy) through className. Expose density="compact|default|roomy" to
match MenuItem's vocabulary and migrate them.
Visible effect: the project-scope and base-ref pickers had pinned their
rows to 32px; they now use the default row (28px on desktop) like every
other combobox.
Lowers the no-restyle ceiling from 802 to 784.
Part of the
components/uiclassName cleanup (audit and guardrail: #12982). Each layer of stack #12993 lowers theshadcn/no-restyleceiling; CI fails if the count rises.Written by Claude Fable 5 in Claude Code.
🤖 Generated with Claude Code
Summary by CodeRabbit