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

Prefer span notation when resizing flow grid cells #6687

Merged
merged 1 commit into from
Nov 28, 2024

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Nov 27, 2024

Problem:

When resizing a grid cell for an in-flow element, span notation should be prefered over explicit pins.

Fix:

If the resize happens on a right/bottom edge and the element is in flow, apply the span notation.

Manual Tests:
I hereby swear that:

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

Fixes #6686

Copy link
Contributor

github-actions bot commented Nov 27, 2024

Try me

Copy link

relativeci bot commented Nov 27, 2024

#15307 Bundle Size — 58.12MiB (~+0.01%).

ef76c9f(current) vs d1d46c1 master#15305(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#15307
     Baseline
#15305
Regression  Initial JS 41.09MiB(~+0.01%) 41.09MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 18.19% 18.07%
No change  Chunks 20 20
No change  Assets 22 22
No change  Modules 4174 4174
No change  Duplicate Modules 213 213
No change  Duplicate Code 27.28% 27.28%
No change  Packages 477 477
No change  Duplicate Packages 70 70
Bundle size by type  Change 2 changes Regression 1 regression Improvement 1 improvement
                 Current
#15307
     Baseline
#15305
Regression  JS 58.11MiB (~+0.01%) 58.11MiB
Improvement  HTML 9.4KiB (-0.21%) 9.42KiB

Bundle analysis reportBranch feat/grid-resize-flow-spanProject dashboard


Generated by RelativeCIDocumentationReport issue

@ruggi ruggi merged commit bdbc857 into master Nov 28, 2024
16 checks passed
@ruggi ruggi deleted the feat/grid-resize-flow-span branch November 28, 2024 13:21
liady pushed a commit that referenced this pull request Dec 13, 2024
**Problem:**

When resizing a grid cell for an in-flow element, `span` notation should
be prefered over explicit pins.

**Fix:**

If the resize happens on a right/bottom edge and the element is in flow,
apply the `span` notation.

**Manual Tests:**
I hereby swear that:

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

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

Prefer spans when resizing flow grid cells
3 participants