Skip to content

Show numbered tab chips with agent status in workspace rows - #517

Merged
powerfooI merged 3 commits into
powerfooI:mainfrom
martiGIT:feat/workspace-tab-chips
Oct 30, 2026
Merged

powerfooI merged 3 commits into
powerfooI:mainfrom
martiGIT:feat/workspace-tab-chips

Conversation

@martiGIT

@martiGIT martiGIT commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Closes #515.

Workspace rows show numbered tab chips colored by the most urgent agent state in each tab. Clicking a chip opens its tab on the original server; narrow rows fold extra chips into a +N marker. Chips support keyboard focus and activation, and opening a local tab preserves the application's inspector/terminal navigation behavior.

The prerequisite badge alignment fix (#514) is merged, and this branch is rebased onto it.

Verification

  • bun test web/src/components/WorkspaceTree.test.ts web/src/components/WorkspaceTree.servers.test.ts web/src/workspaceTabChips.test.ts web/src/useAllServerAgentSessions.test.ts: 9 passed.
  • bun run build:web: passes; initial JS 803.9/805 KiB.
  • Biome formatting and the pre-commit lint/native type checks pass (one existing TerminalView cleanup warning).
  • macOS in-app browser against an isolated Bun bridge and real Herdr 0.9.5: Tab reaches chip 2; Enter opens tab 2 and restores terminal input focus.

Compatibility

No API, protocol, or settings changes. The combined asset budget will be checked again when #518 lands.

@github-actions github-actions Bot added the enhancement New feature or request label Oct 29, 2026
@powerfooI
powerfooI force-pushed the feat/workspace-tab-chips branch from 1054f08 to 528c499 Compare October 30, 2026 02:19

@powerfooI powerfooI left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Reviewed the chip builder, urgency ordering, layout observer, current-server focus, and generation-bound cross-server navigation. Fixed keyboard reachability and restored the local navigation callback; strengthened the remote-tab fixture to verify its exact pane. Nine related tests, build:web, formatting, native types/lint, CI, and CodeQL pass. In the macOS in-app browser against an isolated real Herdr backend, keyboard activation opens tab 2 and restores terminal focus; shrinking the sidebar folds eight tabs to 1 +7 without horizontal overflow. No remaining blocking findings.

@powerfooI
powerfooI merged commit 0760862 into powerfooI:main Oct 30, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Workspace rows: numbered tab chips with agent status

2 participants