Skip to content

feat(settings): let the sidebar hide Automations, To-dos, and Repository panel - #540

Open
Adam-Dalloul wants to merge 1 commit into
xintaofei:mainfrom
Adam-Dalloul:feat/sidebar-item-visibility
Open

feat(settings): let the sidebar hide Automations, To-dos, and Repository panel#540
Adam-Dalloul wants to merge 1 commit into
xintaofei:mainfrom
Adam-Dalloul:feat/sidebar-item-visibility

Conversation

@Adam-Dalloul

Copy link
Copy Markdown
Contributor

The sidebar's fixed rows always render, and there was no way to hide the ones you never use. This adds a Sidebar navigation section to Settings > Appearance with one switch each for Automations, To-dos, and Repository panel.

Defaults are unchanged: every row stays visible until you turn it off. New chat is deliberately not hideable, and hidden pages stay reachable from the status bar's quick actions menu. The preference is a single localStorage record synced across windows like the other appearance settings, so hiding a row in the settings window updates the workspace immediately. Hidden rows unmount rather than hide with CSS.

Strings are added to all ten locales. Tests cover the parse fallbacks, the storage round-trip with cross-window sync, and the sidebar gating; the full vitest suite passes (4705 tests).

…ory panel

A new Sidebar navigation section in Settings > Appearance carries one
switch per fixed nav row. Every row defaults to visible, New chat is
deliberately not hideable, and hidden pages stay reachable from the
status bar's quick actions menu. The preference is a single localStorage
record synced across windows like the other appearance settings; hidden
rows unmount rather than hide with CSS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant