-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Site migration: progress view adjustments #38214
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~30 bytes added 📈 [gzipped])
Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to. Legend What is parsed and gzip size?Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory. Generated by performance advisor bot at iscalypsofastyet.com. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job -- looking good to me. Just two minor points: I observed a line-break in the middle of the domains in the checklist at the bottom of the page. Also: I think we should hold-off on string translations until the copy is finalized.
Thanks for the review Jon – I've removed the translation calls and wrapped the domains in the progress list in non-breaking spans. I've had to wrap the progress list text in a second span to get React to respect the single white space between the text and the domain (see Ben Nadel's post on React's behaviour). For some reason React respects it within a fragment in the subheader text, but not in the list item text. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested, worked as expected. Code looks good.
d6089d1
to
cf32e34
Compare
…with spans so they don't break. Sizing and aligning progress item icons.
9f12236
to
8814f20
Compare
Accepted. |
Note: This change is behind a feature flag and is part of an in-progress larger project. For context, see pbkcP4-8-p2.
Changes proposed in this Pull Request
Testing instructions