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

Grid move strategy #6031

Merged
merged 11 commits into from
Jul 2, 2024
Merged

Grid move strategy #6031

merged 11 commits into from
Jul 2, 2024

Conversation

bkrmendy
Copy link
Contributor

@bkrmendy bkrmendy commented Jul 1, 2024

Description

https://screenshot.click/01-24-zx11t-05yyj.mp4

This PR adds a strategy + canvas controls to move elements on a css grid.

Manual Tests:

I hereby swear that:

  • I opened a hydrogen project and it loaded
  • I could navigate to various routes in Preview mode

Copy link
Contributor

github-actions bot commented Jul 1, 2024

Try me

Copy link

relativeci bot commented Jul 1, 2024

#13243 Bundle Size — 62.49MiB (+0.11%).

c6f67c9(current) vs 6339ece master#13237(baseline)

Warning

Bundle contains 51 duplicate packages – View duplicate packages

Bundle metrics  Change 4 changes Regression 1 regression
                 Current
#13243
     Baseline
#13237
Regression  Initial JS 45.55MiB(+0.15%) 45.48MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 23.81% 22.67%
No change  Chunks 30 30
No change  Assets 33 33
Change  Modules 4319(+0.07%) 4316
No change  Duplicate Modules 524 524
Change  Duplicate Code 31.75%(-0.03%) 31.76%
No change  Packages 450 450
No change  Duplicate Packages 51 51
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#13243
     Baseline
#13237
Regression  JS 62.48MiB (+0.11%) 62.41MiB
Improvement  HTML 11.16KiB (-0.33%) 11.2KiB

Bundle analysis reportBranch feature/grid-rearrange-strategyProject dashboard

bkrmendy and others added 6 commits July 1, 2024 20:00
# Conflicts:
#	editor/src/components/canvas/canvas-strategies/canvas-strategies.tsx
#	editor/src/components/canvas/canvas-strategies/interaction-state.ts
#	editor/src/components/canvas/controls/grid-controls.tsx
#	editor/src/components/editor/store/store-deep-equality-instances.ts
@ruggi ruggi changed the title grid rearrange strategy Grid move strategy Jul 2, 2024
@ruggi ruggi marked this pull request as ready for review July 2, 2024 10:54
@ruggi ruggi merged commit 870ccb4 into master Jul 2, 2024
13 checks passed
@ruggi ruggi deleted the feature/grid-rearrange-strategy branch July 2, 2024 14:42
liady pushed a commit that referenced this pull request Dec 13, 2024
## Description
https://screenshot.click/01-24-zx11t-05yyj.mp4

This PR adds a strategy + canvas controls to move elements on a css
grid.


### Manual Tests:
I hereby swear that:

- [x] I opened a hydrogen project and it loaded
- [x] I could navigate to various routes in Preview mode

---------

Co-authored-by: Federico Ruggi <[email protected]>
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.

3 participants