Skip to content

feat(web): tabs in the sidebar "more" preview show their hover card - #238

Merged
adampeterhiggins merged 1 commit into
mainfrom
ah/nested-tab-hover-preview
Oct 8, 2026
Merged

adampeterhiggins merged 1 commit into
mainfrom
ah/nested-tab-hover-preview

Conversation

@adampeterhiggins

Copy link
Copy Markdown
Owner

Hovering a tab in the sidebar shows its details card: project, environment, branch, model, and linked pull requests. Tabs listed in the "N more" hover preview didn't get that card, so you had to open a hidden tab to see what it was.

Each tab in the preview now opens the same card when you hover it. The tab row's card moved into a shared SidebarTabTooltip component, and a small useSidebarTabProvider hook works out the provider and model for both. The card only builds its data while it's open, so preview lists cost nothing extra at rest. The folded tab-group preview (hovering the layers count) uses the same list, so it gets the card too.

Before

Hovering a tab in the "more" preview shows nothing beyond the list.

before

After

after

Testing

  • tsc --noEmit for apps/web, plus vp fmt and vp lint on Sidebar.tsx
  • Checked in the web dev app against a copy of real data: hovering "5 more" and then a tab opens that tab's card next to the preview, and the preview stays open

Done by Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

Hovering a tab inside the "N more" preview, or the folded tab-group
preview, now opens the same details card as hovering a tab row: project,
environment, branch, model, terminals, errors, and linked pull requests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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