-
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
Add/etk coming soon v2 #45581
Add/etk coming soon v2 #45581
Conversation
Caution: This PR affects files in the Editing Toolkit Plugin on WordPress.com D49422-code has been created so you can easily test it on your sandbox. See this FieldGuide page about developing the Editing Toolkit Plugin for more info: PCYsg-ly5-p2 |
This PR does not affect the size of JS and CSS bundles shipped to the user's browser. Generated by performance advisor bot at iscalypsofastyet.com. |
apps/editing-toolkit/editing-toolkit-plugin/wpcom-coming-soon/styles.scss
Outdated
Show resolved
Hide resolved
apps/editing-toolkit/editing-toolkit-plugin/wpcom-coming-soon/styles.scss
Outdated
Show resolved
Hide resolved
apps/editing-toolkit/editing-toolkit-plugin/wpcom-coming-soon/wpcom-wmark.svg
Outdated
Show resolved
Hide resolved
Could we close #45167 and use this PR as the base show pony (since it's further along)? Commits match. |
7455d7c
to
2079791
Compare
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 and works well when I set the relevant options
apps/editing-toolkit/editing-toolkit-plugin/full-site-editing-plugin.php
Outdated
Show resolved
Hide resolved
Rechecked. Nice changes 👍 No regressions in functionality. 🚢 |
@import '~@automattic/typography/styles/fonts'; | ||
|
||
html { | ||
/* No admin bar nor marketing bar on this page */ |
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.
Why no admin bar tho? 🤔
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.
Seems like it was done in v1 => D44342-code
In v1 a logged-in user doesn't see the coming soon page.
Makes sense to show the admin bar for logged in users in v2 since they'll be able to view the selected page I guess.
Taking great inspiration from #43831
Renamed wpcom_coming_soon_mode to wpcom_coming_soon
- private the singleton constructor - and a bunch of phpcs workarounds
- Make custom coming soon show on posts and pages - Debugging removal
a7418fd
to
58e67d2
Compare
Changes proposed in this Pull Request
Testing instructions
Fixes #