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

Port Modular Layouts to React #4764

Merged
merged 28 commits into from
Dec 8, 2023
Merged

Port Modular Layouts to React #4764

merged 28 commits into from
Dec 8, 2023

Conversation

gettinToasty
Copy link
Contributor

No description provided.

@bundlemon
Copy link

bundlemon bot commented Oct 26, 2023

BundleMon

Files updated (2)
Status Path Size Limits
vendors~renderer.(hash).js
4.7MB (+46.27KB +0.97%) -
renderer.(hash).js
6.6MB (-3.35KB -0.05%) -
Unchanged files (2)
Status Path Size Limits
updater.js
115.28KB -
guest-api.js
40.19KB -

Total files change +42.91KB +0.37%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

<div className={styles.rows} ref={componentRef}>
<div
className={styles.cell}
style={{ height: `${100 - (resizes.bar1 + resizes.bar2!) * 100}%` }}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In what instances would resizes.bar2 be null?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About half of the layouts only have one resizable bar so it has to be an optional/nullable parameter, but we know which layouts in which 2 resize bars exist so we are able to safely assert them

@gettinToasty gettinToasty merged commit 245e604 into master Dec 8, 2023
12 checks passed
@gettinToasty gettinToasty deleted the sb_port_layouts_library branch December 8, 2023 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants