-
Notifications
You must be signed in to change notification settings - Fork 114
H-5655: Refactor selection logic and migrate to @xyflow/react v12 #8523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
1eed484
Temporary patch
kube ae3085a
H-5655: Refactor selection logic and migrate to @xyflow/react v12
kube 2f75439
Update yarn.lock
kube f8c5cbb
H-5655: Fix selection conflicts and multi-node drag, add integration β¦
kube b0543ef
H-5655: Batch multi-node drag position commits into single atomic mutβ¦
kube d5dc664
H-5655: Fix stale selection race and restrict arc selection to click-β¦
kube 1a1e724
H-5655: Add partial selection setting and refactor settings dialog
kube 95e8d2b
H-5655: Remove focusNode viewport centering on sidebar selection
kube e185ca7
H-5655: Highlight selected nodes in MiniMap
kube 1cdd1ed
H-5655: Remove browser tests and related dependencies
kube c9cdd5d
Update yarn.lock
kube 6912c7b
H-5655: Make Delete/Backspace work globally and support all item types
kube cba394c
H-5655: Add isSelected/hasSelection to EditorContext and type deleteIβ¦
kube 25b5c87
H-5655: Add changeset for selection logic refactor
kube 248a014
H-5655: Fix layout coordinate conversion, selection guard, and restorβ¦
kube ba94bd8
Fix from review
kube fb41c5b
Remove vite.browser.config.ts from ESLint allowDefaultProject
kube 2e13d92
yarn fix:yarn-deduplicate
kube 94f502f
yarn fix:yarn-deduplicate
kube 616e1ab
Update refactor-selection-logic.md
kube ac4803f
Address review nits: rename dims to dimensions, restore descriptive aβ¦
kube e783a6a
Clean up dangling references when deleting types and differential equβ¦
kube 3dfb714
Address AI review feedback: stabilize setSelection, remove dead code,β¦
kube c88f30b
Fix issue for React compiler
kube 278aaa6
Use functional updater in selection cleanup to avoid stale closure
kube File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@hashintel/petrinaut": patch | ||
| --- | ||
|
|
||
| Add multi-selection support with keyboard shortcuts, refactor selection logic, migrate to @xyflow/react v12 |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.