Skip to content

feat(dashboard): distinct highlight for co-visible sidebar rows - #269

Merged
aterrylu merged 1 commit into
mainfrom
terry/sidebar-covisible-highlight
Jun 29, 2026
Merged

feat(dashboard): distinct highlight for co-visible sidebar rows#269
aterrylu merged 1 commit into
mainfrom
terry/sidebar-covisible-highlight

Conversation

@aterrylu

Copy link
Copy Markdown
Owner

Summary

When several agents share a dockview group (a workspace), the focused one gets the gold active ring — but the other on-screen members of that group got only a near-invisible fill (\${page.border}80). This gives them a clear, distinct treatment so grouped panes read as "also here, just not focused."

Change

  • New visibleHighlight(neutral) helper: a neutral (theme page.fg) outline ring + faint fill — the same ring affordance as the active gold highlight, but a quieter, different color. No glow (the glow stays reserved as the focus signal).
  • Routed both sidebar render sites (flat-view preview row + hierarchy SessionRow) through it; replaces the old faint \${page.border}80 visible fill.
  • Theme-foreground-derived, so it inverts correctly on light themes.

The treatment (option B) was chosen by Terry from rendered mockups of the real void-theme colors (current / dimmer-gold / neutral-white / cyan).

Three sidebar states now: gold ring + glow = focused · neutral ring + faint fill = co-visible in the group · transparent = not on screen.

Testing

make check green (biome + tsc + 227 dashboard tests). Visual matches the approved mockup (4% fill / 30% ring, page.fg-derived).

🤖 Generated with Claude Code

https://claude.ai/code/session_01MGMW4cbhv5Le8wka7Th8bS

When panes share a dockview group, the focused agent gets the gold active ring;
the other on-screen members previously had a near-invisible `${page.border}80`
fill. They now get a neutral (page.fg) outline ring + faint fill via a new
`visibleHighlight()` helper — same ring affordance as the active highlight but a
quieter, different color (no glow — that stays the focus signal) — so grouped
panes read as "also here, just not focused." Applied at both render sites (flat
preview row + hierarchy SessionRow); theme-foreground-derived so it inverts on
light themes. Co-visible style chosen by Terry from rendered mockups (option B).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MGMW4cbhv5Le8wka7Th8bS
@aterrylu
aterrylu enabled auto-merge (squash) June 29, 2026 04:59

@nox-0x nox-0x left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approving — purely visual: new visibleHighlight helper cleanly replaces the old ${page.border}80 fill at both sidebar render sites (flat preview row and SessionRow), wired through page.fg so it inverts on light themes. Logic is a straightforward extension of the existing isActive ? activeHighlight(accent) : null pattern, no new state, no regressions to the active/drop-target compositing in rowBoxShadow.

@aterrylu
aterrylu merged commit e6b8290 into main Jun 29, 2026
5 checks passed
@aterrylu
aterrylu deleted the terry/sidebar-covisible-highlight branch June 29, 2026 05:02
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.

2 participants