Feature Request: Sidebar density: single-line spaces and per-section row gaps (via config) #873
Closed
amberpixels
started this conversation in
Ideas
Replies: 2 comments 2 replies
|
Can we somehow push this? Ever since I opened two workspaces, each with a few worktrees and an agent on each, I simply run out of space and can't see the agents' statuses. |
2 replies
|
i'm currently trying to convert license to apache so contributions are frozen atm, but i really liked the idea so made it configurable and default to 0 gaps with 5b91dae, not released yet |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Context
Once I'm running a handful of worktrees and agents, the sidebar runs out of vertical room fast. Two things eat the space:
Requested change
A few opt-in
[ui]toggles to tighten the sidebar, all defaulting to today's behavior so nothing changes for anyone who doesn't set them:sidebar_single_linefalsename • branchinstead of name + branch on a second linespace_panel_row_gaptruefalsepacks themagent_panel_row_gaptruefalsepacks themThe two gap toggles are separate on purpose - I often want a compact agents list but keep spaces airy (or vice versa).
Single-line keeps the branch visible: when the row is too narrow, the name and branch share the width and only the longer side is truncated, so short branches like
mainstay whole while the name shortens.Nothing changes by default. Every option is opt-in and off out of the box - if you don't set any of these, the sidebar looks and behaves exactly as it does today.
Naming follows the existing
*_panel_*/sidebar_*config conventions.Extra
The prototype also includes an
agent_panel_numberstoggle (default off) that shows each agent's 1-9 position under its status icon, giving thefocus_agentshortcuts a visible index. That overlaps #814, which already asks for sidebar index numbers — so I'd happily land it there instead; mentioning it here only because it rides along in the same prototype and shows up in the screenshots below. (We can ship just the gaps without numbers)Notes
I'm not married to the exact knobs - happy to collapse these into a single toggle, or whatever fits the direction. I have a working prototype on a branch and can share it / open a PR if you're open to the idea and OK with the path.
Draft PR (fork repo) amberpixels#1
Demo
All reactions