Skip to content

feat(tui): add plugins and formatters to sidebar, fix status dialog overflow#14859

Closed
n24q02m wants to merge 1 commit intoanomalyco:devfrom
n24q02m:feat/tui-sidebar-plugins-formatters
Closed

feat(tui): add plugins and formatters to sidebar, fix status dialog overflow#14859
n24q02m wants to merge 1 commit intoanomalyco:devfrom
n24q02m:feat/tui-sidebar-plugins-formatters

Conversation

@n24q02m
Copy link
Copy Markdown

@n24q02m n24q02m commented Feb 24, 2026

Issue for this PR

Closes #13622
Closes #9314

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

  1. Status Dialog Overflow (TUI: Status a dialog is not scrollable #9314): Wraps the contents of the /status dialog (MCP, LSP, Formatters, Plugins) inside a <scrollbox> component with maxHeight bounded 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.
  2. Sidebar Additions: Plumbs the existing logic from dialog-status.tsx into the global sidebar.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 opencode locally. Activated multiple LSPs and verified that the /status dialog correctly shows a scrollbar and handles arrow key/mouse wheel scrolling. Opened the sidebar and confirmed that both the Formatters and Plugins panels correctly expand/collapse and reflect the state of .opencode/config.json.

Screenshots / recordings

N/A

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions
Copy link
Copy Markdown
Contributor

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"
#12820

This PR is related because it addresses the same /status dialog scrollability issue that PR #14859 aims to fix. Depending on the state of PR #12820, there could be overlap in the solutions for the status dialog overflow problem.

@n24q02m
Copy link
Copy Markdown
Author

n24q02m commented Mar 6, 2026

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.

@mynameistito
Copy link
Copy Markdown
Contributor

migrated #12820 to #19039

Mentioning as you mentioned it in this PR :)

@n24q02m
Copy link
Copy Markdown
Author

n24q02m commented Apr 2, 2026

Closing — I'm no longer actively using OpenCode. Feel free to cherry-pick any changes if useful.

@n24q02m n24q02m closed this Apr 2, 2026
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]: UI/UX improvement of status indicator and available scroll space TUI: Status a dialog is not scrollable

2 participants