Skip to content

fix(tabs): close tab on double-click (#323) — v2 rebased - #590

Merged
aarontrowbridge merged 2 commits into
mainfrom
323-fix-dblclick-close-v2
Aug 27, 2026
Merged

aarontrowbridge merged 2 commits into
mainfrom
323-fix-dblclick-close-v2

Conversation

@aarontrowbridge

Copy link
Copy Markdown
Member

Closes #323 — rebased onto main after #585+#589.

  • TabNavItem/DraftTabItem onDblClick → closeTab (guarded by editing())
  • manifest sync for e2e spec + skills overlay

Supersedes #584 (which had CI trigger issue).

Double-clicking a session or draft tab now closes it via the
existing close-tab handler (props.onClose / closeTab), matching
standard tab UX and VS Code's native behavior.

Adds onDblClick to TabNavItem (guarded by editing()) and
DraftTabItem containers, reusing the same closeTab logic as
the close button and middle-click.

Adds e2e regression tab-dblclick-close.spec.ts and vitest
source-check titlebar_dblclick_close.test.ts (RED→GREEN).
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 4dbe45e3-b0a0-4eae-95ef-8b578b8f8f1e


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@aarontrowbridge
aarontrowbridge force-pushed the 323-fix-dblclick-close-v2 branch from 2015ea4 to 7835578 Compare August 27, 2026 12:01
@aarontrowbridge
aarontrowbridge marked this pull request as ready for review August 27, 2026 12:04
@aarontrowbridge
aarontrowbridge merged commit e71a810 into main Aug 27, 2026
8 checks passed
@aarontrowbridge
aarontrowbridge deleted the 323-fix-dblclick-close-v2 branch August 27, 2026 12:04
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.

BUG: Double-clicking a session tab does not close it

1 participant