Skip to content

[FEATURE]: reorder and hide session sidebar sections via tui.json #53198

Closed as duplicate

Description

@Nowaker

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The session sidebar shows its sections in a fixed order: Context, MCP, LSP, Todo, Modified Files, followed by sections from TUI plugins according to their slot order. There is no way to change that order or hide a section you never look at. With many MCP servers, for example, the MCP list pushes Todo and Modified Files below the fold, and everybody's priorities differ.

Proposal: two tui.json options.

{
  "sidebar": {
    "order": ["todo", "files", "context"],
    "hidden": ["lsp"]
  }
}
  • Built-in sections are named context, mcp, lsp, todo, files. A plugin section uses the id its slot registration got (the plugin id), so plugin-contributed sections work the same way.
  • Listed sections come first, in the given order. Sections not listed keep their default order after them, so a section added in a later release, or by a newly installed plugin, never disappears silently.
  • The session title is not a section and always stays first.
  • Without the option nothing changes.

A follow-up could add mouse drag-and-drop reordering of sidebar section headers, persisted like other runtime TUI settings (kv). I'd keep that in a separate PR because it is more opinionated.

Happy to adjust the shape (e.g. a single list with a -name hide marker) if maintainers prefer.

Activity

  1. github-actions commented on Oct 4, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

  2. neriousy commented on Oct 20, 2026

    @neriousy
    Member

    Thanks for the detailed proposal for ordering and hiding sidebar sections. It's the same request as #51535, where we're tracking these options alongside remembering collapsed sections. Please subscribe or add a 👍 there; your notes about plugin section IDs and keeping newly added sections visible are worth adding to that discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions