fix: collapse sidebar menu labels - #6286
Conversation
|
@uchiha-suraj is attempting to deploy a commit to the agenta projects Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughSummary by CodeRabbit
WalkthroughThe navigation group trigger now shrinks within its flex row. Expanded group titles truncate instead of wrapping while suffixes and carets remain trailing. ChangesNavigation title layout
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This change adjusts sidebar label rendering and truncation while preserving navigation and expanded or collapsed behavior; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. ✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 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 |
e132b9e
into
Agenta-AI:release/v0.114.1
|
Thank you for the fix @uchiha-suraj @all-contributors please add @uchiha-suraj for code |
|
I've put up a pull request to add @uchiha-suraj! 🎉 |
Summary
The issue occurred because the title remained rendered when the available sidebar width was reduced. The change conditionally renders the title only while expanded and uses
min-w-0withtruncateto handle intermediate widths correctly.Closes #6236
Testing
Verified locally
Added or updated tests
N/A — no automated tests were added. The sidebar behaviour was verified manually in the locally running application.
QA follow-up
Demo
Agenta_Sidebar_issue_Recording.2026-08-26.063722.1.mp4
The demo shows:
Checklist
Contributor Resources