-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Avoid focusing blocks when inserting them into the canvas #28191
Merged
Merged
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
7fe9baa
Avoid focusing blocks when inserting them into the canvas
youknowriad 6f03043
Fix block patterns insertion
youknowriad 76eb7e4
Fix the behavior of the quick inserter
youknowriad af7c4e8
Fix spoken inserter message
youknowriad 25285b5
Stabilize some e2e tests
youknowriad b736b7c
Fix unit tests
youknowriad 442d9e8
Fix more e2e tests
youknowriad 032f60b
Implement ctrl+click in the inserter
youknowriad 162247d
Add onKeyDown handler
youknowriad 1afbc81
Replace the selectionStart and selectionEnd edits with a more generic…
youknowriad fae3bd6
Focus block on transform
youknowriad daaa98f
Fix non MacOS ctrl+Enter
youknowriad 7e87f12
Fix inner blocks insertions
youknowriad e4c7b71
Consider initialPosition null or undefined similarly
youknowriad 0ba720c
Fix allowed blocks test
youknowriad 9f617c3
Chacnge selectBlock action default initialPosition value to retain ba…
youknowriad 399d9fa
Try a less disruptive approach on the store APIs
youknowriad 8128337
Fix unit tests
youknowriad 9f511cc
Fix writing flow test
youknowriad 1574695
Fix replacing default blocks
youknowriad 0d0a6f5
Fix button block appender
youknowriad 12cf64f
Fix Buttons block insertion
youknowriad 228eef4
Fix unit tests
youknowriad 70bb530
Simplify the initialPosition reducer
youknowriad 8321b3a
Fix remaining e2e tests
youknowriad 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
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we have logic for this in the keyboard package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't seem exposed, but definitely something we should expose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mmm, actually, it seems I could use
isKeyboardEvent
directly. Thanks EllaThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wasn't able to do on the "click" event, we'd need to expose isApple somehow.