Skip to content
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 7 commits into from
Sep 4, 2024
Merged

Rearrange grid with keyboard #6298

merged 7 commits into from
Sep 4, 2024

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Sep 3, 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

Fixes #6296

Copy link
Contributor

github-actions bot commented Sep 3, 2024

Try me

Copy link

relativeci bot commented Sep 3, 2024

#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  Change 3 changes Regression 1 regression
                 Current
#14068
     Baseline
#14056
Regression  Initial JS 45.7MiB(+0.01%) 45.69MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 21.6% 21.58%
No change  Chunks 30 30
No change  Assets 33 33
Change  Modules 4378(+0.02%) 4377
No change  Duplicate Modules 518 518
No change  Duplicate Code 31.61% 31.61%
No change  Packages 472 472
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#14068
     Baseline
#14056
Regression  JS 62.55MiB (+0.01%) 62.55MiB
Improvement  HTML 11.06KiB (-0.33%) 11.09KiB

Bundle analysis reportBranch feat/grid-rearrange-keysProject dashboard


Generated by RelativeCIDocumentationReport issue

@ruggi ruggi merged commit 7d373a2 into master Sep 4, 2024
15 checks passed
@ruggi ruggi deleted the feat/grid-rearrange-keys branch September 4, 2024 08:56
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rearrange grid with keyboard
3 participants