Repository navigation
fix: close editor/diff tabs should navigate to visual neighbor tab - #693
Merged
Merged
Conversation
closeFile() only removed the file from openFiles and picked the next active file by array position. Terminal and browser closes already went through closeUnifiedTab() which uses pickNeighbor(group.tabOrder) for visual neighbor selection. Add the same closeUnifiedTab() call to closeFile() so editor, diff, and conflict-review tab closes behave consistently. Also update the /electron skill with Orca-specific CDP launch recipe and broader trigger keywords for more reliable invocation.
brennanb2025
added a commit
that referenced
this pull request
Apr 19, 2026
Adds Playwright coverage for two high-regression areas identified from the last 200 PRs: - worktree-lifecycle.spec.ts: guards removeWorktree cleanup (#532), worktree switch with right sidebar open (#598/#628/#726), and cross-worktree tab isolation (#542/#554). - tab-close-navigation.spec.ts: guards visual-neighbor activation on editor/diff close (#693) and Landing fallback when the last visible surface closes (#677).
3 tasks done
brennanb2025
added a commit
that referenced
this pull request
Apr 19, 2026
Make openSeededEditorTabs take worktreeId explicitly so tests don't depend on activeWorktreeId (which the Landing test deliberately clears). Tighten neighbor-picking assertions to the exact file IDs closeFile selects, so PR #693's regression would actually fail instead of passing any "some open file is active" check. Narrow the worktree-switch test to what a store-level spec can actually observe (per-worktree state preservation across a round-trip) instead of claiming to detect renderer hangs it can't see.
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
…tablyai#693) closeFile() only removed the file from openFiles and picked the next active file by array position. Terminal and browser closes already went through closeUnifiedTab() which uses pickNeighbor(group.tabOrder) for visual neighbor selection. Add the same closeUnifiedTab() call to closeFile() so editor, diff, and conflict-review tab closes behave consistently. Also update the /electron skill with Orca-specific CDP launch recipe and broader trigger keywords for more reliable invocation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
closeFile()now also callscloseUnifiedTab()after removing the file fromopenFiles, so closing editor/diff/conflict-review tabs picks the visual neighbor viapickNeighbor(group.tabOrder)— matching terminal/browser tab close behavior/electronskill with Orca-specific CDP launch recipe and broader trigger keywordsTest plan