Repository navigation
Fix #3465: stop tab indicator animation glitch - #3969
austinywang wants to merge 11 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
📝 WalkthroughWalkthroughThe ChangesBonsplit Submodule Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 16✅ Passed checks (16 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
Greptile SummaryThis PR bumps the
Confidence Score: 5/5Safe to merge — the change is a submodule pointer bump with no direct modifications to production Swift sources in the main repo, and the three submodule commits are covered by a regression test. The entire diff is a single submodule pointer advance. All behavioral changes (disabling tab-bar animations and fixing indicator frame derivation) are encapsulated in the vendor/bonsplit dependency and are accompanied by a Bonsplit regression test. No production Swift code in the main repository is touched, so the blast radius is limited to UI rendering of the tab indicator. No files in the main repository require special attention; the submodule content is not directly inspectable from this review context. Important Files Changed
Sequence DiagramsequenceDiagram
participant User
participant cmux as cmux (Next/Prev Surface)
participant TabManager
participant Bonsplit as Bonsplit TabBar
User->>cmux: Cmd+Shift+] / Cmd+Shift+[
cmux->>TabManager: setSelectedTabId(newId)
TabManager->>Bonsplit: update(selectedTabId, measuredTabFrames)
Note over Bonsplit: (before fix) derives indicator frame from stale selectedFrame preference
Note over Bonsplit: (after fix) derives indicator frame from currentSelectedTabId + tab frame map
Bonsplit-->>Bonsplit: No animation (hover/press/visibility animations disabled)
Bonsplit->>User: Indicator snaps atomically to selected tab
Reviews (11): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile |
0abc0b7 to
feba6fb
Compare
feba6fb to
17381a3
Compare
|
Post-CI feedback sweep:
|
…tor-glitch # Conflicts: # vendor/bonsplit
…-3465-tab-indicator-glitch # Conflicts: # vendor/bonsplit
Summary
vendor/bonsplitto Fix tab indicator selection chrome bonsplit#125 (78de1d7) for the tab-indicator glitch fix.selectedTabIdplus the measured tab frame map, removing stale selected-frame preference state from the indicator path.Repro
Steps used locally before the fix:
Cmd+Shift+], thenCmd+Shift+[), including a repeated near-instant sequence.Observed: the blue active-tab indicator can visually lag or jump during rapid shortcut alternation.
Expected: the indicator tracks the selected surface immediately with no intermediate animated state.
Testing
vendor/bonsplitsubmodule pointer and is being driven through required PR checks.Closes #3465