-
Notifications
You must be signed in to change notification settings - Fork 21
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
Onboarding: Remove “Confirm store requirements” step if possible #2493
Comments
Would it be better to get a decision from UX here? I can see reasons why we'd want to leave the step but just skip it and mark it as completed if the right conditions are met. One such reason is since they are numbered, documentation / references to step number won't match anymore. It also takes away the opportunity to manually verify the contact details are correct (if it's skipped then the Merchant can still click on the completed step to verify). |
Good suggestion @mikkamp. I've marked as |
After discussing with @fblascogarma, @MatthiasReinholz, and @michaeleleder, the consensus is that if we've already determined that we have a valid phone number and matching address, that this step should not show at all in the UI, so we can move forward with this task as already described in the issue description. |
I realized that this might need a rethink during my last review of the PR being worked on here. I've left the details here: #2568 (review). |
@fblascogarma and @MatthiasReinholz, I think we need to reconsider this earlier suggestion about leaving the step in the onboarding flow and automatically marking it as completed and skip to the next step if we can determine that all of the requirements are met. Reason being, we won't know if someone has a valid phone number and address on their MC account until after they've completed step 1 (connecting their accounts). This means that most people will start the onboarding with the confirm store requirements step visible and we've found that removing that step after onboarding has begun creates an visually awkward experience (see the related conversation on the PR) |
To resolve this issue, since we only know if we have all of the store requirements for MC after the user has completed step 1, we're going to keep step 3 visible in the stepper and skip it if the requirements are already met. As a future enhancement, we're considering moving the address info directly into step 1 so this step can be removed completely—#2602. |
Hey Joe, can't we work directly in that change we agreed (re: moving address when needed to step 1 and completely remove step 3)? This version is the one we need to launch. |
Since #2602 is still in design, we were trying to resolve this one so we had a viable fallback plan if we needed to ship an initial iteration. After chatting with @fblascogarma today, we agreed that a better fallback would be to move this component to step 2 of the flow if needed, so I'm now setting this to on hold until we've decided where that flow will get move do. |
This will now be handled by #2602, so am closing this issue since it's redundant. |
Part of #2458
Once the Pre-Launch checklist is removed from the
StoreRequirements
page, the only thing this page is for is verifying store contact info (i.e., phone and address). In cases where we already have a verified phone number and address, we don't need to include this step in the onboarding.If we can already determine that we have a verified phone number and an address associated with the store, don't show this step during onboarding and move directly to Campaign creation after Configuring Product listings (or whatever step comes before confirming store requirements). These values can be modified in the settings screen after onboarding if needed.
Acceptance Criteria
ContactInformation
card with both phone and address cards visible.Implementation Brief
To check the phone and address info before setting up the setup stepper, we'll need to use the
useStoreAddress()
hook injs/src/setup-mc/setup-stepper/saved-setup-stepper.js
. We know we have a valid phone number when both there is aphone_number
value andphone_verification_status
is"verified"
. We know the address is valid when we have amc_address
value and theis_mc_address_different
value isfalse
.When all those conditions are met, we can update the
SavedSetupStepper
to remove thestore_requirements
step from the stepper (reference). We'll also need to update thehandleSetupListingsContinue()
callback so that it callscontinueStep( stepNameKeyMap.paid_ads )
instead ofcontinueStep( stepNameKeyMap.store_requirements )
if the store requirements are not being included.Test Coverage
Update the E2E tests for step 2 of the onboarding (tests/e2e/specs/setup-mc/step-2-product-listings.test.js) to include two scenarios for the continue button:
Definition Questions
The text was updated successfully, but these errors were encountered: