-
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
Editor Toolkit: update slide copy in NUX #46674
Conversation
Caution: This PR affects files in the Editing Toolkit Plugin on WordPress.com D51631-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-block-editor-nux/src/wpcom-nux.js
Outdated
Show resolved
Hide resolved
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.
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/5050272 Thank you @ramonjd for including a screenshot in the description! This is really helpful for our translators. |
Requesting review again since the copy and slide count have changed 🙇 |
@@ -108,17 +106,15 @@ function getWpcomNuxPages( isGutenboarding ) { | |||
alignBottom: true, | |||
}, | |||
{ | |||
heading: __( 'Private until you’re ready', 'full-site-editing' ), | |||
heading: __( 'Hidden until you’re ready', 'full-site-editing' ), |
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.
This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/5050272 Thank you @ramonjd for including a screenshot in the description! This is really helpful for our translators. |
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.
Click “Launch” in the toolbar to share it with the world.
Last I knew the button said "Complete setup" but maybe that's changed now?
I seem to be doing something wrong because for some reason I'm not seeing any gutenboarding button in the toolbar at all ...
// @TODO: hide for sites that are already public | ||
shouldHide: ! isGutenboarding, |
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.
Technically thie @TODO
hasn't been addressed, but I don't know who's responsibility it is or even when this modal would appear for a public site so 🤷
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.
My inclination is to let the reference to "hidden" slide for now. The main reason we're showing this one for all users I think stems from p9Jlb4-1SN-p2
The intention the button will now be displayed to users regardless of their path into WordPress and will be combined with the Focused launch flow work currently in development by Team Luna.
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.
I'd leave the @T0D0
or create an issue for this because from what I understand it is referring to the launched/un-launched status of a website and not to the onboarding (site creation) flow. So here is an example where we probably don't want the slide to be displayed:
- User created a site and landed in My Home or Plans (after abandoning cart).
- User launched the site via Site setup checklist in My Home without opening the editor.
- User navigates to the editor and the Launch button in the toolbar is gone since the site is already launched.
Thanks for asking @p-jackson ! p9Jlb4-1SN-p2 says
Not sure either! cc @ollierozdarz
|
@ramonjd the button currently says 'Complete setup' for users who came through Gutenboarding, however we've planned to change the lablel to say 'Launch' with the new persistent launch button work. |
Very grateful for your investigations! |
…he private by default aspect, which we'll be rolling back with coming soon v2 (by default new sites will be in coming soon mode, but public (not indexable)
Updating copy to remove reference to coming soon and highlight the launch button
Showing all steps now. No filtering of nux pages.
a3ec07e
to
5f7dda4
Compare
Hey @ramonjd and @p-jackson! The For more context, you can refer to #46558 (introduction of the persistent launch button behind a flag, merged) and #46817 (enabling the feature flag for all environments, waiting to be merged) (cc @razvanpapadopol ) |
What @ciampo wrote above plus one note:
We already replaced 'Complete setup' label with 'Launch' also for Gutenboarding in #46558 so at this moment we should just wait for strings to be translated and then merge this PR and #46817 🚢 |
Thanks for the info @razvanpapadopol and @ciampo! All good, |
Translation for this Pull Request has now been finished. |
Changes proposed in this Pull Request
Updating copy to emphasis the hidden nature of new sites rather than the private by default aspect, which we'll be rolling back with coming soon v2 (by default new sites will be in coming soon mode, but public (not indexable)
We're also showing all steps now that the Launch button is persisting in p9Jlb4-1SN-p2 and #46817
Context p1603330128417000-slack-C9EJ7KSGH
Testing instructions
The quick and dirty way of checking the changes is to comment out the following lines in wpcom-nux.js
Run
yarn dev --sync
fromapps/editing-toolkit
Create a new site via
/new
Sandbox that site
Navigate through the NUX modal to the last panel
Check that the copy reflect the changes in this PR
Also check that we're dislaying all the Nux Pages we return in getWpcomNuxPages()