-
Notifications
You must be signed in to change notification settings - Fork 909
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
402 implement site kit setup flow #21978
Conversation
add stepper to ui library export stepper fix stories args move margin out of the plugin fix story space
add translation to the stepper
Pull Request Test Coverage Report for Build 458a9c0fc97e12d9f30a55dda7b31284ca1d44d8Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
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.
CR 🏗️
- About the changelogs/label: You put enhancement while I don't think the unreleased should go in there, right? So probably you meant to signal
enhancement
for the UI library one. You can do both, see documentation.
AT ❓
- Getting the following React warning (first run, but already on just not connected):
Warning: Failed prop type: The prop
isComplete
is marked as required inStepper
, but its value isundefined
.
-
The current step svg does not center in the stepper. In the first it is off to the left/bottom? And the rest is off to the right/bottom?
-
No animations? The FTC' vertical stepper has one -- using our ProgressBar that would be fixed
-
Something seems off with the check size, maybe just the outline thing
-
The UI library storybook story is not responding to the inputs
-
The dropdown menu does not show any hover/selection effect
src/dashboard/application/configuration/dashboard-configuration.php
Outdated
Show resolved
Hide resolved
src/dashboard/application/configuration/dashboard-configuration.php
Outdated
Show resolved
Hide resolved
packages/js/src/dashboard/components/google-site-kit-connection-widget.js
Outdated
Show resolved
Hide resolved
packages/js/src/dashboard/components/google-site-kit-connection-widget.js
Outdated
Show resolved
Hide resolved
packages/js/src/dashboard/components/google-site-kit-connection-widget.js
Outdated
Show resolved
Hide resolved
packages/js/src/dashboard/components/google-site-kit-connection-widget.js
Outdated
Show resolved
Hide resolved
Changed the steps to string, and cached the complete state
camel case in js
fix docs
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.
CR ✅ especially if you fix the typo 😉
- I like your new status array! Makes it clear what is happening. Also makes me spot a potential shared hook there, but lets not 😁
- Typo detected
- Will you add a follow-up for the dropdown menu storybook too? 11b7cc1#r1940659740
- Sorry to mention here, but I think we might need a follow-up for the arrow -- presuming we want consistency (@uxkai ?):
- I would prefer if the UI library changelog is an entry per component. They are not otherwise connected
packages/ui-library/src/components/dropdown-menu/docs/component.md
Outdated
Show resolved
Hide resolved
Acceptance test OK! |
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
Go to Yoast SEO -> General page.
Check you now see the widget for GSK set up flow:
![Screenshot 2025-01-20 at 16 28 35](https://private-user-images.githubusercontent.com/65466507/404912934-c680da69-34b0-44c5-8d0e-d1807d9a565f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNzM4MTUsIm5iZiI6MTczOTE3MzUxNSwicGF0aCI6Ii82NTQ2NjUwNy80MDQ5MTI5MzQtYzY4MGRhNjktMzRiMC00NGM1LThkMGUtZDE4MDdkOWE1NjVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA3NDUxNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU4NjRlMjIwOWExNzFlMjE3YmQ2MWRmNWY4NWM3NWRjNjM4MDU0ZTAyOGQ5ZjdjODY2NjcxMzJhMDhkNjcwNjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3DJZAYmjPYLTzCQsoqH6ptN81gZlNZC69FUSx7FaX8k)
Check the flow in the widget is identical with the design flow [here]
(https://www.figma.com/proto/DXKVj4tji7M65FYCYwBFUl/Dashboard?node-id=2984-5586&t=rdGyKj954yajisjl-0&scaling=min-zoom&content-scaling=fixed&page-id=2984%3A5579&starting-point-node-id=2984%3A5586)
Check the links will automatically install and activate the plugin.
To test completion of set up, apply this patch setupCompleted.patch
To test completion of connection, apply this patch site-kit-connected.patch
When all steps are completed check you get a dismiss button at the bottom.
Click on the dismiss button and check the widget disappears. ( it will return on next visit, WIP)
Click the three vertical dots in the widget to open a dropdown menu.
Check you see two items in the menu:
Click on each and check the widget is removed from the dashboard.
Check that the widget reappears when visiting the dashboard again.
(The "Remove permanently" functionality is not implemented yet, so the widget would reappear on the next visit.)
The quick tour will not work ( for a future PR ).
The learn more link would not work, but will be present with params.
UI library - Stepper component
UI library - DropdownMenu component
Relevant test scenarios
Test instructions for QA when the code is in the RC
QA can test this PR by following these steps:
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
UI changes
Other environments
[shopify-seo]
, added test instructions for Shopify and attached theShopify
label to this PR.Documentation
Quality assurance
Innovation
innovation
label.Fixes Implement Site Kit setup flow without the consent modal