-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Tourkit: focus the step after opening #38963
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
Conversation
|
Hi @moon0326, @adrianduffell, @woocommerce/mothra, @woocommerce/ghidorah Apart from reviewing the code changes, please make sure to review the testing instructions as well. You can follow this guide to find out what good testing instructions should look like: |
Test Results SummaryCommit SHA: 18a392d
To view the full API test report, click here. To view the full E2E test report, click here. To view all test reports, visit the WooCommerce Test Reports Dashboard. |
rjchow
left a comment
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.
PR tests well according to the instructions!
Did note that there's a deprecation warning unrelated to this PR but in the same touched code -
Card isElevated prop is deprecated since version 5.9. Please use elevation instead.
There's not really any documentation about this but it seems like an internal P2 post suggests that elevation={2} would have the same effect as isElevated.
Thank you for looking into it! 👍 That does work well. I've just updated the prop in 18a392d. |
adrianduffell
left a comment
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.
It tested well and LGTM! Thanks @chihsuan 🚀
Submission Review Guidelines:
Changes proposed in this Pull Request:
Closes #36512.
Update tour-kit component to automatically focus the step button if the focused element is not provided.
How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
pnpm --filter=storybook run storybookStart TourbuttonNextbutton is focused.Screen.Recording.2023-06-27.at.20.33.04.mov
Try the new product editor (Beta)featureMeet the product editing formBetatour is shown.View highlightsbutton is focused.Changelog entry
Significance
Type
Message
Comment