Skip to content

Conversation

@krissetto
Copy link
Contributor

Some general/usability improvements to the TUI sidebar

  • Rename "horizontal" -> collapsed to be a bit more coherent with "sidebar"
  • Allows sidebar to be collapsed manually with alt-s or a click on >>
  • Makes collapsed sidebar view calculate width and height dynamically, to avoid breaking the TUI on very low width terminals, long titles, etc
  • Fixes rendering of usage in the collapsed sidebar view
  • Allows sidebar to be resizable by dragging its edge (works, but isn't visible atm, to be designed better to fit with the look of scrollbars)
  • Adds a small visual separator at the bottom of the collapsed sidebar

Screencast:

Screencast.From.2026-01-24.17-58-08.mp4

@krissetto krissetto requested a review from a team as a code owner January 24, 2026 17:09
- Rename "horizontal" -> collapsed to be a bit more coherent with "sidebar"
- Allows sidebar to be collapsed manually with alt-s or a click on >>
- Makes collapsed sidebar view calculate width and height dynamically, to avoid breaking the TUI on very low width terminals, long titles, etc
- Fixes rendering of usage in the collapsed sidebar view
- Allows sidebar to be resizable by dragging its edge (works, but isn't visible atm, to be designed better to fit with the look of scrollbars)
- Adds a small visual separator at the bottom of the collapsed sidebar

Signed-off-by: Christopher Petito <chrisjpetito@gmail.com>
@krissetto krissetto force-pushed the more-dynamic-sidebar branch from b5b3000 to 278bf7d Compare January 24, 2026 17:11
Copy link
Contributor

@Pnkcaht Pnkcaht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks :) ❤️ @krissetto

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.

2 participants