Skip to content

Add task sidebar auto-open setting#2314

Merged
juliusmarminge merged 2 commits intopingdotgg:mainfrom
justsomelegs:t3code/disable-task-sidebar-reopen
Apr 23, 2026
Merged

Add task sidebar auto-open setting#2314
juliusmarminge merged 2 commits intopingdotgg:mainfrom
justsomelegs:t3code/disable-task-sidebar-reopen

Conversation

@justsomelegs
Copy link
Copy Markdown
Contributor

@justsomelegs justsomelegs commented Apr 23, 2026

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:

  • the shared client settings schema/defaults
  • the General settings panel in the web app
  • ChatView auto-open behavior for plan steps, implement mode, and new-thread navigation
  • desktop/local persistence tests

Default 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 sidebar
  • Description: Open the plan and task sidebar automatically when steps appear.
image

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Add auto-open setting for the task sidebar

  • Adds autoOpenPlanSidebar boolean to ClientSettingsSchema (default true) and ClientSettingsPatch, allowing users to control whether the task/plan sidebar opens automatically.
  • Exposes a 'Task sidebar' toggle in the General settings panel with per-setting reset support.
  • Gates all auto-open behavior in ChatView — on new plan steps, on message send, and on new implementation thread navigation — behind this setting.
  • Behavioral Change: users who disable this setting will no longer see the task sidebar open automatically in any of those contexts.

Macroscope summarized 3f99895.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 9cfdf521-1b05-412c-955f-2b3e36d825ac

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Apr 23, 2026
@macroscopeapp
Copy link
Copy Markdown
Contributor

macroscopeapp Bot commented Apr 23, 2026

Approvability

Verdict: 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.

@juliusmarminge juliusmarminge merged commit 00b5c3e into pingdotgg:main Apr 23, 2026
11 checks passed
yazandabbas pushed a commit to yazandabbas/Presence that referenced this pull request Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants