Narrow the right sidebar and update task panel and diff panel#2409
Narrow the right sidebar and update task panel and diff panel#2409shivamhwp wants to merge 2 commits intopingdotgg:mainfrom
Conversation
- Reduce inline/sidebar widths to fit the chat layout better - Rename task sidebar settings copy to match the right panel
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 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 |
ApprovabilityVerdict: Approved This PR contains only UI copy updates (renaming 'Task sidebar' to 'Auto-open task panel') and CSS layout adjustments to narrow panel widths. These are low-risk visual changes with no impact on runtime behavior or business logic. You can customize Macroscope's approvability policy. Learn more. |
What Changed
Reduced the right-side plan/diff panel footprint on smaller windows.
Auto-open task panelfor clarity.Why
On smaller window sizes, opening the plan or diff panel consumed too much horizontal space and made the chat hard to use. Keeping the panel narrower preserves context while still making the panel usable.
The auto-open behavior already existed, so this keeps the implementation scoped by improving the setting label instead of adding duplicate settings logic.
UI Changes
Yes. The right-side plan/diff panels are narrower on small and medium window sizes.
before
after
Checklist
Note
Low Risk
UI-only layout and copy changes; primary risk is unintended responsive/layout regressions across breakpoints and resizable sidebar constraints.
Overview
Tightens the chat right-panel layout so plan/diff panels take less horizontal space on small/medium windows.
This lowers the inline→sheet breakpoint (
RIGHT_PANEL_INLINE_LAYOUT_MEDIA_QUERY), narrows/caps the sheet width (RIGHT_PANEL_SHEET_CLASS_NAME), and reduces the inline diff sidebar’s default/min sizes while adding a max resizable width. It also renames the existing setting copy from Task sidebar to Auto-open task panel (including reset label and aria text) for consistency with the UI.Reviewed by Cursor Bugbot for commit b428c7c. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Narrow the right sidebar and shrink the diff panel default width
min(42vw, 28rem)with a floor of20remand a smaller override on very small screensclamp(28rem,48vw,44rem)toclamp(24rem,34vw,36rem), lowers the minimum from 26rem to 22rem, and adds a 36rem maximumMacroscope summarized b428c7c.