Repository navigation
Remove from list: a repository header's menu and Ctrl Shift Backspace in the switcher - #2
Merged
Merged
Conversation
added 2 commits
October 28, 2026 14:31
… in the switcher
A right-click on a repository's header in the switcher, or its ⋯ under the pointer,
opens a menu with Remove from list; Ctrl Shift Backspace does the same for the selected
row's repository, from the filter field too. The repository leaves the switcher and
known_repos.json (Reviews::remove_repo: its row and any refresh go), nothing in it
changing, and the selection moves to the next repository's first row. The open review's
repository can't be removed: its item is disabled ("Its review is open") and the key
does nothing. Esc closes the menu first. DESIGN §4.1 and §5, PLAN §11; state.switcher
menu, switcher/repo/<repo>/more and switcher/menu/remove; switcher_remove_repo.
# Conflicts: # crates/dv/src/automation/state.rs # crates/dv/src/automation/tests.rs # crates/dv_ui/src/switcher/items.rs # crates/dv_ui/src/switcher/mod.rs # crates/dv_ui/src/switcher/tests.rs # docs/DESIGN.md # tests/e2e/README.md
Method-es
pushed a commit
that referenced
this pull request
Oct 29, 2026
Remove from list: a repository header's menu and Ctrl Shift Backspace in the switcher
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.
Merges
feat/remove-known-repointo this fork's main, the build used locally. The feature branch itself is based on kylekz/diff main, for its own upstream PR.This merge resolves the overlap with the branch picker (#1): both add to the switcher's automation state,
Escand its module docs, the DESIGN §4.1 paragraph and the e2e README. The branch picker's header has no menu, and Ctrl Shift Backspace does nothing in it (asserted inthe_branch_picker_opens_a_stacked_branch_against_its_base).Checked on the merge: clippy clean in all three shapes,
cargo test --workspacepasses, andswitcher_branchesandswitcher_remove_repopass.