-
Notifications
You must be signed in to change notification settings - Fork 4.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
FSE: Add welcome guide #36172
FSE: Add welcome guide #36172
Conversation
Size Change: +1.55 kB (0%) Total Size: 1.09 MB
ℹ️ View Unchanged
|
2208939
to
8be664f
Compare
Hi, @javierarce I think we might need to adjust the graphics. Currently, the "Close dialog" button overlaps with them. Plus, if the designs are final, can I also get static versions of them? P.S. I can also adjust the modal design in CSS, but then "Lear more" might have too much space around it. |
This is working well for me. The only thing that feels a bit strange is the "Try" label in the primary button(s). The welcome guide in the Post Editor says "Get started" – we can probably mimic that here? Edit: One issue I noticed – clicking "Welcome guide" in the ellipsis menu of the Top Bar doesn't open the welcome guide like it does in the Post Editor. |
One other thing, the graphic that appears on the editor welcome guide feels a little too heavily weighted towards styles, considering we have a dedicated styles welcome guide as well. I wonder if that graphic could focus more on the template editing aspects of the site editor? Re-arranging the header, adding a sidebar, something like that? What do you think @javierarce ? |
ebda8ac
to
0d2a677
Compare
I think it's in good shape code-wise; it just needs final designs and review. |
Oh, sorry, I didn't notice this. I'll adjust the animations and add some space around them, maybe something like this:
Yes, once I finish the changes and they get approved, I'll add the static versions.
I think you are right, @jameskoster. I'll work on a new animation. |
Here are the static versions (on SVG) for the previous animations: |
That is egg-cellent 😇 |
Haha… thanks, @jameskoster! Here's a zip with all the static assets: static_versions.zip |
Thank you, @javierarce. |
Re-opened track ticket so we can host assets on WP.org - https://meta.trac.wordpress.org/ticket/5741#comment:13 |
Assets deployed to WordPress.org.
|
Thank you, @dd32. |
0d2a677
to
e4dc7fc
Compare
e4dc7fc
to
78ea3d9
Compare
@javierarce updated the styles as you suggested. |
Thanks, @Mamaduka! I think this PR is good to go then. |
Thanks, @javierarce. Can I get an ✅ if we're good to merge? /cc @jameskoster |
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.
🥳
😍 Love this. Great work! |
editSiteStore.name | ||
); | ||
const isStylesSidebar = sidebar === 'edit-site/global-styles'; | ||
const feature = isStylesSidebar ? 'welcomeGuideStyles' : 'welcomeGuide'; |
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.
@Mamaduka I noticed that if you go into 'Styles' first (having never seen either welcome guide), the 'Welcome to Styles' welcome guide displays as expected.
You might then do some editing with the styles sidebar still open.
But then when you close the styles sidebar you also get the 'Edit your site' welcome guide, which feels out of place.
Not sure what the right solution would be here. 🤔
Maybe the 'Edit your site' welcome guide shouldn't ever show when visiting the Styles link. Or maybe when visiting the Styles link, a Welcome guide that combines both 'Edit your site' and 'Welcome to Styles' should be shown.
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.
@talldan, I agree it's a little confusing.
I can use the query argument styles=open
for this logic. Or maybe we should combine welcome guides since it's the same screen, just different entry points.
We can switch back to separate Welcome Guide modals once the "Global Styles" has a dedicated screen.
@jameskoster, @kellychoffman, what do you think?
* FSE: Add welcome guide * Fix e2e tests * Split welcome guide * remove extraneous full stop * get started * Close styles welcome guide for e2e tests * Add tools menu item * Update assets * Adjust styles * Fix new e2e test Co-authored-by: James Koster <james@jameskoster.co.uk>
@Mamaduka any chance you could kick off a new PR to link the support doc I'm working on to the welcome guide? The URL will eventually be: https://wordpress.org/support/article/styles-overview/ |
Description
Adds Welcome Guide to the Site Editor.
Fixes #32844.
Todos
How has this been tested?
To display editor modal enter this snippet in DevTools console:
To display welcome guide for Global Styles, open styles panel and then use this snippet in console:
Screenshots
Types of changes
New feature
Checklist:
*.native.js
files for terms that need renaming or removal).