Repository navigation
fix(tabs): remove close-button tooltip - #29851
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
- Configuration used: Repository UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
c904450b-1923-4778-b5b3-c65369bc126f
📥 Commits
Reviewing files that changed from the base of the PR and between 702ffc7 and 5cbdb5972a0cbe31f97b0dc26098cee90a6a9e23.
📒 Files selected for processing: 4
src/renderer/src/components/tab-bar/EditorFileTabCloseButton.tsxsrc/renderer/src/components/tab-bar/SortableTab.tsxsrc/renderer/src/components/tab-bar/TabCloseTooltip.tsxsrc/renderer/src/components/tab-bar/TabStripTooltipProvider.test.tsx
💤 Files with no reviewable changes: 2
- src/renderer/src/components/tab-bar/TabCloseTooltip.tsx
- src/renderer/src/components/tab-bar/TabStripTooltipProvider.test.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
5cbdb59 to
a58f8de
Compare
a58f8de to
54e5b47
Compare
250 commits landed on main between 5db05e8 and 6fcc183, and the fr catalog and en-runtime-required.json conflicted. All six catalogs are taken from main and the prune is recomputed in one pass: 1,504 keys. 24 keys joined the set and none left: twenty labels and search keywords of the Setup Script Location terminal setting that stablyai#29819 removed, three Space page labels dropped by stablyai#29857, and the tab close-button tooltip removed by stablyai#29851. en.json goes from 16,241 entries to 14,737; en-runtime-required.json keeps 568 of them.
ELI5
Hovering a tab close X no longer opens a second label. The button remains available and accessible.
What Changed
Before, terminal/chat and editor-file tab close buttons were wrapped in a shared tooltip that showed “Close tab” and its shortcut. After, those buttons render directly, preserving their accessible names and close behavior while removing the hover and focus hint. The tab hover-card E2E test now verifies that hovering or focusing a close button keeps the normal tab preview and never restores the removed close hint.
Why
The close control is visually self-explanatory and the additional tooltip added distracting chrome. Removing the shared wrapper covers every tab close button consistently, instead of suppressing the hint in only one tab type.
Linked Issue
N/A — small maintainer UI cleanup.
Visual Proof
Testing
ORCA_BACKGROUND_LAUNCH=1 pnpm exec playwright test tests/e2e/tab-hover-card.spec.ts --config tests/playwright.config.ts --project electron-headless --workers=1pnpm test src/renderer/src/components/tab-bar/TabStripTooltipProvider.test.tsxpnpm run check:code-quality:changedpnpm tc:webReview
Notes
No security, platform, SSH, mobile, compatibility, or performance impact: this is renderer-only tab chrome.
Checklist