Repository navigation
Conversation
Use selected items for Enter in the tree and search, and ignore single-row edit keys on an unselected cursor. Count only visible selected rows for actions and preserve selected descendants when their parent moves. Prepared-with: Codex
This branch has not been deployed
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
Both connection trees now support Ctrl/Cmd toggles and Shift ranges. Connect Selected or Enter opens selected visible hosts in tree order, with confirmation above 10 hosts. Right-click preserves selected rows, modified clicks only select, and selected folders do not implicitly open their contents.
Search and keyboard actions use the visible selection: Enter cannot connect a deselected cursor, and F2/Delete ignore an unselected cursor. Hidden selections do not inflate menu counts. Dragging a selected folder with selected descendants moves the folder once and retains its hierarchy, including when a parent move is rejected.
Closes #236
Testing
go test -race -timeout 20m ./internal/appin 610 seconds after the default 600-second package limit was reached. Only three failures remain, reproduced on unchanged base78c2f91:TestBackgroundImage,TestBackgroundReadsOffUIThreadandTestCommandBarPage. All added tests pass; no race reports were found.Selected connection menus (English and Simplified Chinese)
Prepared with Codex.