Skip to content

feat: add persistent sidebar overlay toggle in command palette (resolves #6086)#6093

Open
ariane-emory wants to merge 119 commits intoanomalyco:devfrom
ariane-emory:feat/persistant-sidebar-overlay-behaviour
Open

feat: add persistent sidebar overlay toggle in command palette (resolves #6086)#6093
ariane-emory wants to merge 119 commits intoanomalyco:devfrom
ariane-emory:feat/persistant-sidebar-overlay-behaviour

Conversation

@ariane-emory
Copy link
Copy Markdown
Contributor

@ariane-emory ariane-emory commented Dec 24, 2025

This PR implements a second option for for resolving #6086 for users who prefer the sidebar not use an overlay or dim the actual session content.

Instead of a config file setting, this solution varians allows the toggling of the sidebar's overlay behavior directly from the command palette. The state persists to kv.json.

Changes:

  • Add sidebarOverlayEnabled signal persisted to kv.json (defaults to true)
  • Add sidebarOverlay toggle command in System category
  • Add optional sidebar_overlay_toggle keybind config (default: none)

This provides instant toggling without requiring restart/reload.

This PR and #6092 are meant as alternative options to one another for resolving #6086: only one or the other should be merged, but not both.

Resolves #6086.

Instead of a config file option, allow toggling sidebar overlay behavior
directly from the command palette. The state persists to kv.json.

Changes:
- Add sidebarOverlayEnabled signal persisted to kv.json (defaults to true)
- Add sidebarOverlay toggle command in System category
- Add optional sidebar_overlay_toggle keybind config (default: none)

This provides instant toggling without requiring restart/reload.
@ariane-emory ariane-emory changed the title feat: Add persistent sidebar overlay toggle in command palette feat: Add persistent sidebar overlay toggle in command palette (resolves #6086) Dec 24, 2025
@ariane-emory ariane-emory changed the title feat: Add persistent sidebar overlay toggle in command palette (resolves #6086) feat: add persistent sidebar overlay toggle in command palette (resolves #6086) Dec 24, 2025
@ariane-emory ariane-emory marked this pull request as draft December 24, 2025 10:44
@ariane-emory ariane-emory marked this pull request as ready for review December 24, 2025 10:48
Resolved conflict in contentWidth calculation by preserving overlay behavior logic from feature branch.
…m:ariane-emory/opencode into feat/persistant-sidebar-overlay-behaviour
…m:ariane-emory/opencode into feat/persistant-sidebar-overlay-behaviour
@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Feb 18, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@R44VC0RP R44VC0RP removed the needs:compliance This means the issue will auto-close after 2 hours. label Feb 18, 2026
ariane-emory and others added 3 commits April 23, 2026 22:37
Resolved conflicts:
- sidebar.tsx: Took dev's overlay prop + useProject hook (feature's
  overlay logic lives in index.tsx, not Sidebar component)
- keybinds.ts: Took dev's Effect Schema migration, added feature's
  sidebar_overlay_toggle keybind
- index.tsx: Kept Header import (needed by feature), dropped
  parsePatch (replaced by getRevertDiffFiles from dev)
- header.tsx: Fixed sync.workspace -> project.workspace after API
  change in dev
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.

[FEATURE]: TUI sidebar overlay behaviour ought to be configurable.

3 participants