Repository navigation
Fix terminal drag hover overlay flicker - #1046
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Greptile SummaryThis PR advances the Key changes
Points to verify before merging
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant User as User (drag gesture)
participant BSV as BonsplitView
participant PD as PaneDragContainerView
participant OL as HoverOverlay (non-layout)
participant TW as TerminalWindowPortal
User->>BSV: begin drag over split pane
BSV->>PD: hover target changes
PD->>OL: show/hide drop indicator (overlay only)
Note over OL,TW: Old behaviour: layout recalculated → portal resized → flicker
Note over OL,TW: New behaviour: overlay is out-of-layout → portal geometry unchanged
OL-->>TW: geometry stable (no resize event)
User->>BSV: drop or cancel drag
BSV->>PD: clear hover target
PD->>OL: hide drop indicator
Last reviewed commit: e019293 |
| @@ -1 +1 @@ | |||
| Subproject commit c5b3dd4cd314f7452bd27ffacd00ebeb19d96d17 | |||
| Subproject commit 6739829bb54a2293dfcea6e6717fbe0d2e4b966b | |||
There was a problem hiding this comment.
Verify bonsplit commit is on remote main
CLAUDE.md and AGENTS.md both document a hard submodule safety rule:
Always push the submodule commit to its remote
mainbranch before committing the updated pointer in the parent repo. Never commit on a detached HEAD or temporary branch — the commit will be orphaned and lost.
Verify with:cd vendor/bonsplit && git merge-base --is-ancestor HEAD origin/main
This PR points vendor/bonsplit at 6739829 and links to bonsplit PR #18, but the description does not confirm that PR has been merged to main in the manaflow-ai/bonsplit repo. If 6739829 lives only on a feature branch or a detached HEAD, it could be garbage-collected and the parent-repo pointer would become dangling.
Please confirm the bonsplit commit is reachable from origin/main before merging.
| @@ -1 +1 @@ | |||
| Subproject commit c5b3dd4cd314f7452bd27ffacd00ebeb19d96d17 | |||
| Subproject commit 6739829bb54a2293dfcea6e6717fbe0d2e4b966b | |||
There was a problem hiding this comment.
End-to-end build is unverified
The PR's verification section notes:
./scripts/reload.sh --tag fix-drop-hover-overlaycurrently fails on an unrelated existing compile error inSources/Update/UpdateTitlebarAccessory.swift:324
While the failure is attributed to a pre-existing issue, it means the full cmux build with this new bonsplit version has not been confirmed clean. If the pre-existing error is blocking CI it may mask any new failures introduced by this bonsplit bump. Consider tracking the UpdateTitlebarAccessory.swift:324 compile error so it does not continue to obscure build health on future PRs.
Revert PR #1046 to restored Bonsplit base
…hover-terminal-flicker Fix terminal drag hover overlay flicker
…edo-1045 Revert PR manaflow-ai#1046 to restored Bonsplit base
Summary
vendor/bonsplitto render pane drop hover indicators as non-layout overlaysRelated
Verification
cd vendor/bonsplit && swift build --build-tests./scripts/reload.sh --tag fix-drop-hover-overlaycurrently fails on an unrelated existing compile error inSources/Update/UpdateTitlebarAccessory.swift:324Summary by cubic
Fixes terminal drag-hover flicker by updating bonsplit to render drop targets as non-layout overlays, keeping terminal geometry stable. Closes #1045.
Written for commit e019293. Summary will update on new commits.
Summary by CodeRabbit