Skip to content

feat: fix TUI sidebar reactivity and upgrades styling - #59

Open
987poiuytrewq wants to merge 11 commits into
hueyexe:mainfrom
987poiuytrewq:bugfix/tui-sidebar-reactivity
Open

987poiuytrewq wants to merge 11 commits into
hueyexe:mainfrom
987poiuytrewq:bugfix/tui-sidebar-reactivity

Conversation

@987poiuytrewq

Copy link
Copy Markdown

What

Fixes the Ensemble TUI sidebar reactivity and adds styling upgrades.

Screenshot 2026-11-20 at 09 15 10

Why

The sidebar could remain on its fallback display even when the team-context RPC succeeded.
It also showed task counts as plain text and didn't have the dashboard’s colors.

How

  • Render the sidebar from session-scoped snapshots, refreshing its slot when data changes while avoiding replacements for identical snapshots.
  • Handle overlapping member refreshes, RPC errors, and recovery.
  • Add a team link that opens the dashboard and is underlined only while hovered.
  • Match the dashboard’s status colors.
  • Add a measured, single-line task progress bar that recalculates after layout changes and supports both OpenTUI layout APIs.
  • Add browser-runtime TUI tests for refresh behavior, status rendering, hover styling, cleanup, and progress bars across task counts and terminal widths; run them in CI.
  • Make the dashboard interface-binding test portable across hosts where 127.0.0.2 isn’t assigned.

Verification

  • bun test — 965 passed, 2 skipped, 0 failed.
  • bun run test:tui — 9 passed.
  • bun run typecheck and bun run build — passed.
  • bun run lint completes with existing warnings.

Risk

No schema changes or new dependencies. Changes are limited to the TUI companion, its tests, CI coverage, and a portable dashboard test.

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