Add task sidebar auto-open setting#2314
Conversation
|
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 Adds a simple boolean setting to control auto-opening the task sidebar, with the default preserving existing behavior. Changes are self-contained, follow existing patterns, and have no security or breaking implications. You can customize Macroscope's approvability policy. Learn more. |
(cherry picked from commit 00b5c3e)
What Changed
Adds a new persisted client setting,
autoOpenPlanSidebar, which controls whether the task sidebar opens automatically when plan/task steps appear.The change wires that setting through:
ChatViewauto-open behavior for plan steps, implement mode, and new-thread navigationDefault behavior is unchanged: auto-open remains enabled unless the user turns it off.
Why
Right now the task sidebar can reopen itself after the user has dismissed it, which makes the UI feel noisy and harder to control during plan/implementation flows.
This keeps the existing default for users who like the current behavior, while giving users a predictable opt-out. The implementation is small and localized, and it gates all of the existing auto-open paths behind one shared setting instead of adding one-off exceptions.
UI Changes
Adds a new toggle in Settings:
Task sidebarOpen the plan and task sidebar automatically when steps appear.Checklist
Note
Add auto-open setting for the task sidebar
autoOpenPlanSidebarboolean toClientSettingsSchema(defaulttrue) andClientSettingsPatch, allowing users to control whether the task/plan sidebar opens automatically.ChatView— on new plan steps, on message send, and on new implementation thread navigation — behind this setting.Macroscope summarized 3f99895.