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

Adjust ruler marker resize for spanning elements #6703

Merged
merged 2 commits into from
Dec 5, 2024

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Dec 5, 2024

Problem:

Ruler marker resize needs some extra tweaks for spanning elements.

Fix:

  1. Make it possible to resize correctly a flow item that spans from the start by dragging its end marker
  2. Make it possible to resize correctly a flow item that spans from the end by dragging its start/end markers and treat them as a more traditional shrink/expand

Also added specific tests for span combinations.

Manual Tests:
I hereby swear that:

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

Fixes #6701

Copy link
Contributor

github-actions bot commented Dec 5, 2024

Try me

Copy link

relativeci bot commented Dec 5, 2024

#15371 Bundle Size — 58.2MiB (~+0.01%).

b969144(current) vs d1d46c1 master#15361(baseline)

Warning

Bundle contains 70 duplicate packages – View duplicate packages

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#15371
     Baseline
#15361
Regression  Initial JS 41.17MiB(~+0.01%) 41.17MiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 18.24% 14.21%
No change  Chunks 20 20
No change  Assets 22 22
No change  Modules 4189 4189
No change  Duplicate Modules 213 213
No change  Duplicate Code 27.24% 27.24%
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
#15371
     Baseline
#15361
Regression  JS 58.19MiB (~+0.01%) 58.19MiB
Improvement  HTML 9.4KiB (-0.21%) 9.42KiB

Bundle analysis reportBranch feat/ruler-marker-resize-spansProject dashboard


Generated by RelativeCIDocumentationReport issue

@ruggi ruggi merged commit 1aa3387 into master Dec 5, 2024
13 checks passed
@ruggi ruggi deleted the feat/ruler-marker-resize-spans branch December 5, 2024 15:26
liady pushed a commit that referenced this pull request Dec 13, 2024
**Problem:**

Ruler marker resize needs some extra tweaks for spanning elements.

**Fix:**

1. Make it possible to resize correctly a flow item that spans from the
start by dragging its end marker
2. Make it possible to resize correctly a flow item that spans from the
end by dragging its start/end markers and treat them as a more
traditional shrink/expand

Also added specific tests for span combinations.

**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 #6701
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.

adjust ruler marker resize for spanning items
3 participants