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
Update mobile app onboarding modal to focus on app installation #40559
Conversation
…he installation info page by default.
…nstallation page and Jetpack installed page with style tweaks.
…ck component/page.
Test Results SummaryCommit SHA: 6a3a94e
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. |
Hi @psealock, @rjchow, @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: |
Hello @coreymckrill would you have some time to review this PR? Jayson recommended you as the reviewer 😄 If you're busy, I can also ask the Ghidorah team tomorrow. |
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.
👍 Tested the "no Jetpack" version of this on my local machine and the QR code successfully took me to the Woo app on my phone! The code also looks fine to me, but I don't work with React all that often, so I think it would still be wise to have someone from Ghidorah look it over as well.
<img | ||
src={ MobileQRCode } | ||
alt={ __( 'Download WooCommerce mobile app', 'woocommerce' ) } | ||
width="100" |
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.
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.
Yea great point, the QR code for Jetpack mobile https://apps.wordpress.com/mobile/ is also pretty big (18.3 rem).
I updated the QR code size to 150x150 px in 780c521 (screenshots updated in the PR description).
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.
Two minor comments, otherwise PR works as expected! Nice work
@@ -58,12 +59,13 @@ export const JetpackAlreadyInstalledPage: React.FC< | |||
return ( | |||
<ModalContentLayoutWithTitle> | |||
<> | |||
<MobileAppInstallationInfo /> |
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.
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.
Hmm the screenshot seems to not have been uploaded, could you try uploading this again? 🤔
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.
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.
Good point! I updated the styles in 6a3a94e so that this specific modal height fits to its content with a max height of 663px from my testing. Any other suggestions/improvements are welcome!
magic link available | magic link unavailable |
---|---|
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.
The SVG is somewhat sizeable but most of it should compress away over the wire. I think it would be good to also switch this over to the qrcode library when you work on the next iteration with dynamically generated QRs for the application password 😃
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.
… used in Calypso.
…r than the default modal guide.
Thanks for the feedback & testing @rjchow! I updated the PR and responded to your suggestions, and it's ready for another look 🙂 |
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.
Looking great! 🚀
@rjchow @coreymckrill is it possible for any of you to help merge this PR? 🙏 I don't think I'm authorized to merge. |
Howdy @rjchow and @coreymckrill 👋 Sorry for the repeated ping, but are any of you available to merge this PR? I understand it's ready for merging, correct? It seems we from Woo Mobile don't have the credentials to merge PRs from this repo 😰 Thank you in advance! |
Oops, just saw that @rjchow did actually leave a review. I can merge. |
Thank you, @coreymckrill 🙇 |
Sorry I saw this when I was out over the weekend and forgot to make a note to come back to it! Thanks @coreymckrill ! There's a QA review process in place for this repo but I reckon this is a low impact change as its not one of the critical flows and additionally it's a change that simplifies the code/flow. |
Submission Review Guidelines:
Changes proposed in this Pull Request:
Why
(More details in pe5pgL-3N5-p2)
As we're seeing a low conversion rate from merchants tapping on the mobile onboarding task in core to actually log in to the app, we plan to have two iterations (pe5pgL-3NO-p2#the-decision) to improve this onboarding experience. For the first iteration, we aim to improve the app installation rate by showing a QR code with text instructions on where to install the app. The link goes to the WCCOM mobile page
https://woocommerce.com/mobile
with autm_source=wc_onboarding_mobile_task
parameter to track the page visit event (pe5pgL-3NO-p2#comment-3080). As Woo mobile no longer requires Jetpack (the merchant can log in with site credentials and the app generates an application password), we also want to remove the Jetpack setup steps for non-Jetpack sites since we're seeing a low conversion rate (from this analysis last Q4, only 9.6% will install and connect Jetpack pe5sF9-Sm-p2). For WPCOM/Jetpack sites, the CTA to send a magic link email stays the same.In iteration 2, we plan to provide a QR code with a link to pre-fill the site credentials except for the password for non-Jetpack sites at least. We're also exploring generating an application password and including it in the QR code.
How
A new mobile app installation view
MobileAppInstallationInfo
was created. It contains a static QR code that points tohttps://woocommerce.com/mobile/?utm_source=wc_onboarding_mobile_task
(I tried a few online services but the file size is bigger than I hoped, please feel free to share a smaller SVG of the same link) and an info text.The modal state is now simplified into just 3 cases:
EmailSentPage
is shown as beforeMobileAppInstallationInfo
component is shown above the existing magic link viewMobileAppInstallationInfo
component is shown as a pageMobileAppInstallPage
The QR code is generated by using a new dependency
qrcode.react
that's also used in Calypso.How to test the changes in this Pull Request:
Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:
Jetpack/WPCOM sites
Prerequisite: the site has the the full Jetpack plugin (WPCOM sites have Jetpack by default), and hasn't completed all onboarding tasks. The connected WPCOM user is not linked to an A8C email (magic links don't work for A8C emails)
Get the free WooCommerce mobile app
underThings to do next
(wp-admin/admin.php?page=wc-admin&mobileAppModal=true
) --> the modal should include a QR code that goes tohttps://woocommerce.com/mobile/?utm_source=wc_onboarding_mobile_task
. Under the QR code and info text, there should be a CTA to send a magic link emailSend the sign-in link
--> an email should be sent, and the modal should show that the email has been sent as in the screenshotNon-Jetpack sites
Prerequisite: the site doesn't have the Jetpack plugin
Get the free WooCommerce mobile app
underThings to do next
(wp-admin/admin.php?page=wc-admin&mobileAppModal=true
) --> the modal should only include a QR code that goes tohttps://woocommerce.com/mobile/?utm_source=wc_onboarding_mobile_task
Example screenshots
Changelog entry
Significance
Type
Message
Comment