-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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: store location settings tour #34137
Conversation
Test Results SummaryCommit SHA: 4555221
To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
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.
So far this is looking good, @rjchow!
As we're growing the use case for spotlight, I'm wondering if we need to consolidate "viewed" state of different spotlights so it can become easier to manage. Either that or perhaps we can have a standard naming convention so we can easily search for all spotlight from an option prefix.
Also, I think we may want to add tracking for this? As our product spotlight, we had a "view", "complete", "dismiss". I'm not sure if we should also monitor if users fill up the store address when they click on complete since this is a single step (user may accidentally dismiss without being able to get the tour back). cc @verofasulo @SamratBiswas1
Though I'd also be happy if the track is to be addressed in a follow up!
Excellent point @ilyasfoo - I think we should as that's the point of the task :) It's not about clicking on the task in the task list but evaluating how effective it is (do users complete the store location details?). |
Yea I agree we need to do something about the spotlight sprawl, so far we have two Ah ok I didn't expect to need tracks here but ok sure thing I'll put up an issue for it! |
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.
Thanks for confirming, @verofasulo!
Sounds good, @rjchow! This tested well, great work! LGTM! 🚢
Hi @rjchow, thanks for merging this pull request. Please take a look at these follow-up tasks you may need to perform:
|
@verofasulo I just noticed a UX issue with this store location tour while running through the flow, so far the tour only highlights the fields that need to be changed. My natural instinct was to fill them out and ... forget to scroll to the bottom to click save - instead I clicked on the next step button. I think the ideal UX would be to autosave for the user on completion of the tour, if they have populated the fields. However I'm not sure its possible, and if it is it's not straightforward. So I think we might need to add a second step to prompt the user to save? |
@ilyasfoo regarding tracks I think we might not need to add anything, I was looking in the code and found that we have tracks for task completion. So we just need to predicate it on visitation of the settings page via the task list Looking in the tracks log from the WooCommerce status page:
And in the tracks log on the browser side:
Do you think that's ok? I couldn't find a server side codepath that catches the user clicking on the tasklist item |
@rjchow could you please clarify what the next step button is? Generally speaking, this is a well-known UX issue 😅 The user needs to navigate down till the end of the page to save changes and this is not ideal. @jarekmorawski has been working on a new header component that can hopefully be applied to the Settings section as well and should help solve this issue 😊 Right now, I would say not to overcomplicate the experience by adding a new step and just leave it as it till the new component is ready to be implemented. |
@verofasulo sorry I meant the "Done!" button on the tour message frame |
Sorry yes 😅 I misremembered the exact wording but that’s what it is |
@rjchow I think it's not as accurate. For example, the |
All Submissions:
Changes proposed in this Pull Request:
Part 2 of #32587, to add spotlight to the store location settings.
The spotlight should only show up when visited from the task list, and it should only show up once
Closes #32587 .
How to test the changes in this Pull Request:
Other information:
pnpm changelog add --filter=<project>
?FOR PR REVIEWER ONLY: