Skip to content

Reduce tab preview tooltip delay to 500 ms - #33447

Merged
AmethystLiang merged 2 commits into
mainfrom
decrease-browser-tab-opening-speed
Oct 25, 2026
Merged

AmethystLiang merged 2 commits into
mainfrom
decrease-browser-tab-opening-speed

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​6 0
Prod 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 0

Problem

Tab preview tooltips took 800 ms to appear after hovering, making tab information feel slow to access.

Solution

Show tab preview tooltips after 500 ms instead. Updated the hover-delay test to match.

ELI5

When you pause over a tab, its preview now pops up sooner.

What Changed

Reduced the tab strip tooltip delay from 800 ms to 500 ms and updated the corresponding timing assertion.

Why

A shorter delay makes tab previews feel more responsive while still avoiding accidental tooltips during quick cursor movement.

Linked Issue

No linked issue.

Visual Proof

N/A — this is a timing-only behavior change with no layout or visual design change.

Testing

  • Updated TabStripTooltipProvider test for the 500 ms delay.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

AI Disclosure

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Timing constant change is renderer-only and does not affect security, cross-platform support, remote SSH, mobile, backwards compatibility, or performance.

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

@coderabbitai

coderabbitai Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: be4c64f1-1cba-4836-9323-564815cea972
Commits

Reviewing files that changed from the base of the PR and between d81958f and f679291.

Files selected for processing: 2
  • src/renderer/src/components/tab-bar/TabStripTooltipProvider.test.tsx
  • src/renderer/src/components/tab-bar/TabStripTooltipProvider.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.

Walkthrough

The tab tooltip delay changes from 800 ms to 500 ms. The hover-preview test checks that the preview is absent at 499 ms and appears after one additional millisecond.

Priority: Low

Merge Risk: Minimal · up to f6792

No actionable merge-blocking risk was identified in the tooltip delay change.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description explains the problem, solution, user impact, testing change, and scope. However, it does not provide the required linked issue, and it does not report results for the required validati… Add an actual linked issue under “Linked Issue.” Report whether manual testing was completed. State whether pnpm lint, pnpm typecheck, pnpm test, and pnpm build passed locally or will be covered by CI, and update the checklist accordingly.
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 2 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the primary change: reducing the tab preview tooltip delay to 500 ms.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the problem, solution, user impact, testing change, and scope. However, it does not provide the required linked issue, and it does not report results for the required validation commands or manual testing.

Resolution

Add an actual linked issue under “Linked Issue.” Report whether manual testing was completed. State whether pnpm lint, pnpm typecheck, pnpm test, and pnpm build passed locally or will be covered by CI, and update the checklist accordingly.

Finishing Touches: 💡 1
📝 Generate docstrings: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@AmethystLiang
AmethystLiang merged commit 245e5d8 into main Oct 25, 2026
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