-
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
Stats: Store date range shortcut and chart period by site #98303
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 (~115 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. Async-loaded Components (~42 bytes added 📈 [gzipped])
React components that are loaded lazily, when a certain part of UI is displayed for the first time. 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. |
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 |
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.
Tests well for me! 👍
I think personally, I'd prefer to use the slug over the site ID as it makes it easier to manage if someone wants to manually remove the key from local storage. Seeing multiple of the same key with different IDs doesn't help in that scenario. It's not really a common use-case though.
As you said, that might be a rare path, especially for users rather than developers. On the other hand, considering the site slug complexity, using site ID would keep the key length limited and easy to identify. What do you think? cc @kangzj |
Related to p1736489258690049-slack-C82FZ5T4G
Proposed Changes
Why are these changes being made?
Testing Instructions
Pre-merge Checklist