-
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 Profiler: Update styles for Results Header section #91016
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~263 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. |
@gavande1 I updated the top spacing, now it looks like this:
There's not much we can do in that regard, the whole page is designed with container width of 1015px in mind. The footer and other elements on the page also contain big empty areas on the sides if you view them on a wider screen. |
…header-section-score
That's looking better. What do you think?
I understand. Let's stick to the designs and revisit them if necessary. |
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.
Couple of comments below but overall LGTM!
{ bad: ! overallScore }, | ||
{ good: overallScore } | ||
) } |
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.
Nit: I've used success
and alert
on translations instead of good
and bad
, so we might want to unify the names.
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.
That's a good idea, we already have a Score
type here:
export type Scores = 'good' | 'needs-improvement' | 'poor'; |
What do you think about using that as a common name everywhere?
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.
What do you think about using that as a common name everywhere?
I think this is indeed better.
I'll update my usages to use Scores
values as well.
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.
Thanks, and I'll update the names here soon
Co-authored-by: Wesley Berrêdo <Wberredo@gmail.com>
…header-section-score
…p-calypso into update/header-section-score
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
Related to https://github.com/Automattic/dotcom-forge/issues/7280
Resolves https://github.com/Automattic/dotcom-forge/issues/7384
Resolves https://github.com/Automattic/dotcom-forge/issues/7294
Resolves https://github.com/Automattic/dotcom-forge/issues/7383
Proposed Changes
open the report
andcheck another site
Why are these changes being made?
Testing Instructions
/site-profiler
Check site
Access full site report - It’s free
Check another site
linkThings to be done as part of other tasks:
Pre-merge Checklist