-
Notifications
You must be signed in to change notification settings - Fork 172
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
Rearrange grid with keyboard #6298
Merged
Merged
Conversation
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
#14068 Bundle Size — 62.57MiB (+0.01%).a67d57d(current) vs 916e8b9 master#14056(baseline) Warning Bundle contains 70 duplicate packages – View duplicate packages Bundle metrics
|
Current #14068 |
Baseline #14056 |
|
---|---|---|
Initial JS | 45.7MiB (+0.01% ) |
45.69MiB |
Initial CSS | 0B |
0B |
Cache Invalidation | 21.6% |
21.58% |
Chunks | 30 |
30 |
Assets | 33 |
33 |
Modules | 4378 (+0.02% ) |
4377 |
Duplicate Modules | 518 |
518 |
Duplicate Code | 31.61% |
31.61% |
Packages | 472 |
472 |
Duplicate Packages | 70 |
70 |
Bundle size by type 2 changes
1 regression
1 improvement
Current #14068 |
Baseline #14056 |
|
---|---|---|
JS | 62.55MiB (+0.01% ) |
62.55MiB |
HTML | 11.06KiB (-0.33% ) |
11.09KiB |
Bundle analysis report Branch feat/grid-rearrange-keys Project dashboard
Generated by RelativeCI Documentation Report issue
bkrmendy
approved these changes
Sep 3, 2024
liady
reviewed
Sep 4, 2024
editor/src/components/canvas/canvas-strategies/strategies/grid-helpers.ts
Outdated
Show resolved
Hide resolved
liady
approved these changes
Sep 4, 2024
liady
reviewed
Sep 4, 2024
editor/src/components/canvas/canvas-strategies/strategies/grid-rearrange-keyboard-strategy.ts
Show resolved
Hide resolved
liady
pushed a commit
that referenced
this pull request
Dec 13, 2024
**Problem:** It should be possible to rearrange elements in a grid using the keyboard arrows in addition to just the mouse. **Fix:** Add a new strategy that does that. It will enforce the movement to be inside the available grid space, so it's not possible to overflow the boundaries of the grid template. ![Kapture 2024-09-03 at 15 49 23](https://github.com/user-attachments/assets/954b13cb-32a8-4bb9-9626-e7bfd3513454) Fixes #6296
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.
Problem:
It should be possible to rearrange elements in a grid using the keyboard arrows in addition to just the mouse.
Fix:
Add a new strategy that does that. It will enforce the movement to be inside the available grid space, so it's not possible to overflow the boundaries of the grid template.
Fixes #6296