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

Resize grid cell with keyboard #6313

Merged
merged 5 commits into from
Sep 5, 2024
Merged

Resize grid cell with keyboard #6313

merged 5 commits into from
Sep 5, 2024

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Sep 4, 2024

Problem:

It should be possible to resize grid cells with the keyboard in addition to the mouse based counterpart.

Fix:

Expand the existing keyboard strategy with a variation that allows to resize the current selected grid cell when using the arrow keys and the shift modifier. In order to avoid any headaches the resize is relative to the bottom-right corner of the cell, so it's intuitive to perform resizes and subsequent moves if needed without having to worry about "which side am I resizing from?".

It is possible to perform both moves and resizes as part of the same interaction session.

Kapture 2024-09-04 at 15 50 20

Fixes #6312

Copy link
Contributor

github-actions bot commented Sep 4, 2024

Try me

Copy link

relativeci bot commented Sep 4, 2024

#14104 Bundle Size — 62.54MiB (~+0.01%).

d57e220(current) vs 916e8b9 master#14102(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 5 changes Regression 2 regressions
                 Current
#14104
     Baseline
#14102
Regression  Initial JS 45.66MiB(~+0.01%) 45.66MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 22.68% 21.6%
No change  Chunks 30 30
No change  Assets 33 33
Change  Modules 4381(+0.02%) 4380
Regression  Duplicate Modules 520(+0.19%) 519
Change  Duplicate Code 31.62%(+0.03%) 31.61%
No change  Packages 472 472
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 2 regressions
                 Current
#14104
     Baseline
#14102
Regression  JS 62.53MiB (~+0.01%) 62.52MiB
Regression  HTML 11.12KiB (+0.27%) 11.09KiB

Bundle analysis reportBranch feat/grid-keyboard-resizeProject dashboard


Generated by RelativeCIDocumentationReport issue

@ruggi ruggi marked this pull request as draft September 5, 2024 07:19
@ruggi ruggi marked this pull request as ready for review September 5, 2024 11:26
@ruggi ruggi merged commit 2f7220a into master Sep 5, 2024
14 checks passed
@ruggi ruggi deleted the feat/grid-keyboard-resize branch September 5, 2024 14:03
liady pushed a commit that referenced this pull request Dec 13, 2024
**Problem:**

It should be possible to resize grid cells with the keyboard in addition
to the mouse based counterpart.

**Fix:**

Expand the existing keyboard strategy with a variation that allows to
resize the current selected grid cell when using the arrow keys and the
`shift` modifier. In order to avoid any headaches the resize is relative
to the bottom-right corner of the cell, so it's intuitive to perform
resizes and subsequent moves if needed without having to worry about
"which side am I resizing from?".

It _is_ possible to perform both moves and resizes as part of the same
interaction session.

![Kapture 2024-09-04 at 15 50
20](https://github.com/user-attachments/assets/f67a1ea3-d5a1-4397-a151-d6a9cbc8ad96)

Fixes #6312
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.

resize grid cells with keyboard
4 participants