Skip to content

feat(tui): refine session tab activity indicators - #42144

Merged
kitlangton merged 1 commit into
v2from
tab-running-indicators
Aug 12, 2026
Merged

kitlangton merged 1 commit into
v2from
tab-running-indicators

Conversation

@kitlangton

Copy link
Copy Markdown
Contributor

What

Refines session-tab activity feedback in both layouts:

  • vertical tabs use a compact 10-cell running sweep instead of washing the full row
  • selected shortcuts stay neutral, while running shortcuts turn interactive blue
  • start, reprompt, and completion brighten the shortcut, then settle into its durable state
  • vertical flashes radiate from the shortcut with a feathered falloff
  • top tabs adopt the same shortcut color and flash semantics without changing their background pulse
  • the Tabs story can hold runs open, reprompt the selected session, end runs, and switch layouts

How

  • packages/tui/src/component/session-tabs.tsx shares a number-ignition primitive across vertical and horizontal tabs and applies the selected/running color semantics.
  • packages/tui/src/component/tab-pulse.tsx adds an optional flash tail so localized flashes can fade spatially instead of ending as a hard block.
  • packages/tui/src/feature-plugins/system/storybook/ adds reusable footer chrome and richer manual controls for inspecting tab states.

Scope

This does not change the horizontal tab background pulse geometry. It only aligns shortcut color and ignition behavior there.

Testing

  • bun typecheck in packages/tui
  • bun run test in packages/tui: 689 passed, 5 skipped
  • push hook monorepo typecheck: 32 packages passed
  • real PTY verification in both left-rail and top-strip layouts

Demo

Real PTY recording with the opencode-drive fixture selected. It shows vertical start/reprompt, then top-tab reprompt/completion.

session-tab-indicators.mp4

@kitlangton
kitlangton merged commit c894f87 into v2 Aug 12, 2026
9 of 10 checks passed
@kitlangton
kitlangton deleted the tab-running-indicators branch August 12, 2026 20:44
jinhuang712 pushed a commit to jinhuang712/opencode that referenced this pull request Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant