feat(tui): add plugins and formatters to sidebar, fix status dialog overflow#14859
feat(tui): add plugins and formatters to sidebar, fix status dialog overflow#14859n24q02m wants to merge 1 commit intoanomalyco:devfrom
Conversation
|
The following comment was made by an LLM, it may be inaccurate: I found one potentially related PR: PR #12820: "fix(tui): make /status dialog scrollable" This PR is related because it addresses the same |
5f60c16 to
6d5b6f8
Compare
|
Note: This is not a duplicate of #12820. That PR only makes the /status dialog scrollable. This PR goes further by: (1) adding Plugins and Formatters sections to the sidebar, and (2) fixing the status dialog overflow with a scrollable container. Both issues #13622 and #9314 are addressed. All CI checks pass. |
|
Closing — I'm no longer actively using OpenCode. Feel free to cherry-pick any changes if useful. |
Issue for this PR
Closes #13622
Closes #9314
Type of change
What does this PR do?
/statusdialog (MCP, LSP, Formatters, Plugins) inside a<scrollbox>component withmaxHeightbounded to 70% of the terminal height. This completely resolves the issue where too many servers/plugins would cause the dialog to get cut off on smaller terminals without any way to scroll.dialog-status.tsxinto the globalsidebar.tsx. Users can now see a collapsable list of active Formatters and enabled Plugins directly within the right sidebar, right underneath the LSP section.How did you verify your code works?
Built and ran
opencodelocally. Activated multiple LSPs and verified that the/statusdialog correctly shows a scrollbar and handles arrow key/mouse wheel scrolling. Opened the sidebar and confirmed that both theFormattersandPluginspanels correctly expand/collapse and reflect the state of.opencode/config.json.Screenshots / recordings
N/A
Checklist