[idea] Make the agents panel rows configurable #944
Replies: 3 comments
|
I already have a working implementation and wanted to propose the direction before opening a PR. |
|
Following up on this now that 0.7.4 has landed. The core of the request is in: The part that didn't make it is the styling. The original proposal here included a I dug into the current token to color mapping to confirm (setting theme tokens to bright test colors and watching what changed on 0.7.4):
So today I can arrange the tokens but not distinguish them by color. I can't tint Would it be possible to revisit the styling half of this? Either the # inline-table tokens
rows = [
[{ token = "state_icon" }, { token = "workspace", bold = true }],
[{ token = "tab", color = "#89b4fa", dim = true }],
]# or a parallel style map, keeping rows terse
[ui.sidebar.agents.token_style]
tab = { color = "sapphire" }
agent = { color = "overlay1" }
branch = { color = "teal" }Related: #1001 is the same token-reuse problem from a different angle (dedicated sidebar workspace tokens, since Version: herdr 0.7.4 on macOS. |
|
styling will arrive later, probably in 0.7.5, so i'm closing this now. so many stuff to do, so bear with me please :) |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
Each entry in the agents panel renders as two fixed lines:
The layout is hardcoded in the TUI. I can't change what shows on those two lines without patching the source. The info people care about varies, so a fixed layout feels limiting.
requested change
Add a small template language for the two rows, under a new config key:
Fields: {icon}, {space}, {tab}, {status}, {agent}, {custom}.
Syntax:
Scope and safety:
why you want this
The agents panel is the main dashboard, but what matters differs per person. Some want the space and tab, some want the agent name up front, some want a tighter layout. A template is a small, contained way to shape that instead of adding a new one-off flag for every preference.
All reactions