-
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
Email stats: hide when post was not sent #97739
Conversation
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Async-loaded Components (~81 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. |
It works for me! |
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 |
This in case they're already using newsletters, but decided to publish individual post as blog post only and skip the email. What you're referring would be scenario where we hide the tabs when the enire Subscriptions/Newsletters feature is disabled (not possible on simple sites, but on Jetpack sites). In that case I'd lean on still hiding these tabs specifically to stay a bit more logical/consistent with hiding them when post wasn't sent anyway. |
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.
code makes sense!
Resolves Automattic/jetpack#40724
Depends on Automattic/jetpack#40723 merged and deployed to WP.com.
Proposed Changes
This is different from Newsletters being disabled for the site entirely; I'll do a follow up PR to hide tabs in that case, too.
Alternatively we could keep showing tabs, but indicate somehow that the post wasn't sent as an email.
Post that wasn't sent as an email
Post that was sent as an email
Why are these changes being made?
Testing Instructions
Pre-merge Checklist