feat(settings): let the sidebar hide Automations, To-dos, and Repository panel - #540
Open
Adam-Dalloul wants to merge 1 commit into
Open
feat(settings): let the sidebar hide Automations, To-dos, and Repository panel#540Adam-Dalloul wants to merge 1 commit into
Adam-Dalloul wants to merge 1 commit into
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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).