feat: add config option for sidebar default state#6955#23137
feat: add config option for sidebar default state#6955#23137themarcel wants to merge 10 commits intoanomalyco:devfrom
feat: add config option for sidebar default state#6955#23137Conversation
Adds a new `tui.sidebar` config option to set the sidebar's initial state. Accepts "auto" (default), "show", or "hide". - Config provides initial default before user interaction - User toggles via keybind are stored in KV and take precedence - Priority: KV store > config.tui.sidebar > "auto" Closes anomalyco#3682
- Fix KV persistence bug in sidebar toggle handler - Add runtime validation for config values - Add documentation for sidebar config optionk
…ode into feat/tui-sidebar-config
…ode into feat/tui-sidebar-config
# Conflicts: # packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
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. |
|
Hey! Your PR title ``feat: Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found one potentially related PR: Related PR:
The current PR (23137) is a reopening of the original #6955 for the sidebar config feature. The search results primarily return this PR itself and one other sidebar-related feature. The feature appears to be novel—adding a config option for sidebar default state with KV store precedence is distinct from the persistent toggle functionality in PR #6093. |
|
This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window. Feel free to open a new pull request that follows our guidelines. |
Adds a new tui.sidebar config option to set the sidebar's initial state. Accepts "auto" (default), "show", or "hide".
Reopening of #6955
Closes #3682