Skip to content

Conversation

@ariane-emory
Copy link
Owner

DUMMY PR, IGNORE.

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.

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.
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
Copy link

github-actions bot commented Jan 8, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@ariane-emory ariane-emory force-pushed the feat/persistant-sidebar-overlay-behaviour branch 3 times, most recently from 57a27df to 860b120 Compare January 11, 2026 05:20
The sidebarOverlay() memo was computed but never used in rendering.
Changed the Switch/Match conditions from wide() to sidebarOverlay()
so the toggle command actually controls overlay behavior.
The explicit kv.set() inside the setter callback was causing a nested
setStore that interfered with SolidJS reactive tracking. This made the
toggle appear to work (value persisted) but the UI wouldn't update.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants