Skip to content

feat(dispatch): tighten agent list rows and split metadata to row 2 - #34

Merged
Juliusolsson05 merged 1 commit into
mainfrom
feat/dispatch-list-polish
Apr 29, 2026
Merged

Juliusolsson05 merged 1 commit into
mainfrom
feat/dispatch-list-polish

Conversation

@Juliusolsson05

Copy link
Copy Markdown
Owner

Summary

  • Reduce dispatch agent list row height (~52px → ~36px) and step title from 12px to 11px so more agents fit on screen.
  • Restructure each row into two lines: Row 1 = label + full-width truncating title + unread badge; Row 2 = subtitle + worktree badge + agent-type badge, indented under the title.
  • Add a dispatch-local `DispatchAgentBadge` that says "Claude" instead of "Claude Code" so the badge doesn't crowd the worktree pill on row 2.

Why

Title truncation was kicking in long before the badges' fixed width was exhausted, burying the most useful piece of information per row. Dispatch is the surface where you scan dozens of agents at once — density wins over breathing room here.

Test plan

  • `npm run build` (renderer + main + preload bundles all succeed)
  • Reviewer: open dispatch mode, confirm rows look right at narrow and wide widths and that the new "Claude" badge reads correctly next to the worktree pill

🤖 Generated with Claude Code

… row

The dispatch agent list previously crammed worktree badges, the agent-type
badge, and the unread badge onto the same line as the title. In narrow
panes the title was truncating long before the badges' fixed width was
exhausted, which buried the most useful piece of information.

Restructure each row into two lines:
- Row 1: label + full-width truncating title + unread badge
- Row 2: subtitle + worktree badge + agent-type badge, indented under
  the title (pl-7) so it visually belongs to the same item

Also drop overall row height (py-2 → py-1, px-3 → px-2.5) and step the
title from 12px to 11px to fit more agents on screen — dispatch mode is
the surface where you scan dozens of agents at once, so density wins
over breathing room here.

The new DispatchAgentBadge is local to this file rather than reusing
the shared AgentTypeBadge: pane headers want the longer "Claude Code"
label, but the dispatch row is too narrow to spend characters on
"Code" — see the WHY comment near the component.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Juliusolsson05
Juliusolsson05 merged commit 957f9fb into main Apr 29, 2026
@Juliusolsson05
Juliusolsson05 deleted the feat/dispatch-list-polish branch July 7, 2026 21:51
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.

1 participant