refactor(web): add selected prop to MenuItem - #12992
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 refactor preserves the existing selected-item behavior while centralizing repeated styling in MenuItem and tightening the corresponding lint ceiling. It introduces no product-default, schema, deployment, security, or substantial runtime changes. 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 change adds a shared ChangesMenu selection state
Lint ceiling
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Refactor Merge Risk: ⚪ Minimal · up to The change centralizes menu selected-state styling while preserving the intended rendering and lowers the lint ceiling; it is ready to merge 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 |
6e433e5 to
8ebe1cc
Compare
8ebe1cc to
54c3d45
Compare
54c3d45 to
79c31e6
Compare
Dismissing prior approval to re-evaluate 79c31e6
79c31e6 to
4428aa5
Compare
fcc969c to
5d7190c
Compare
Seven menu items tinted themselves bg-foreground/[0.08] to mark the current value, the same tint SelectItem and MenuRadioItem apply for their selected state. Expose it as selected on MenuItem (with data-selected) and migrate the sites. No rendered change. Lowers the no-restyle ceiling from 1073 to 1066. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
5d7190c to
a9fb83d
Compare
Seven menu items tinted themselves bg-foreground/[0.08] to mark the current
value, the same tint SelectItem and MenuRadioItem apply for their selected
state. Expose it as selected on MenuItem (with data-selected) and migrate
the sites. No rendered change.
Lowers the no-restyle ceiling from 1073 to 1066.
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
UI Improvements
Maintenance