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

More tolerant safe gaps #4262

Merged
merged 2 commits into from
Sep 29, 2023
Merged

More tolerant safe gaps #4262

merged 2 commits into from
Sep 29, 2023

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Sep 28, 2023

Fixes #4261

Problem:

The selection safe gap feels a bit too aggressive with the current 20px threshold + 6px gap.

Fix:

This PR adjusts the thresholds to 12px for the safe gap threshold (meaning that safe gaps will be applied if any dimension is smaller than it) and 4px for the gap itself.

@ruggi ruggi changed the title more tolerante safe gaps More tolerant safe gaps Sep 28, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Sep 28, 2023

Try me

@relativeci
Copy link

relativeci bot commented Sep 28, 2023

Job #8280: Bundle Size — 62.67MiB (~-0.01%).

f0b39c5(current) vs 5957b21 master#8262(baseline)

⚠️ Bundle contains 64 duplicate packages

Metrics (2 changes)
                 Current
Job #8280
     Baseline
Job #8262
Initial JS 34.93MiB(~+0.01%) 34.93MiB
Initial CSS 0B 0B
Cache Invalidation 18.34% 0%
Chunks 27 27
Assets 31 31
Modules 3970 3970
Duplicate Modules 422 422
Duplicate Code 30.84% 30.84%
Packages 409 409
Duplicate Packages 64 64
Total size by type (1 change)
                 Current
Job #8280
     Baseline
Job #8262
CSS 0B 0B
Fonts 0B 0B
HTML 11.43KiB 11.43KiB
IMG 0B 0B
JS 62.66MiB (~-0.01%) 62.66MiB
Media 0B 0B
Other 0B 0B

View job #8280 reportView fix/safe-gap-12-4 branch activity

@github-actions
Copy link
Contributor

Performance test results:
(Chart1)
(Chart2)

@ruggi ruggi merged commit 2710f95 into master Sep 29, 2023
12 checks passed
@ruggi ruggi deleted the fix/safe-gap-12-4 branch September 29, 2023 07:31
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.

More tolerant safe gap thresholds
3 participants