-
Notifications
You must be signed in to change notification settings - Fork 133
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
Unified Login: Not a WordPress Site error flow #3331
Conversation
… for primary button
Error TypeError
Dangerfile
Error TypeError
Dangerfile
Generated by 🚫 dangerJS |
You can test the changes on this Pull Request by downloading the APK here. |
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 code changes look good @AmandaRiu! I just found one minor issue when testing.
The toolbar title is not displayed when the generic error screen is displayed. It's not a huge bblocker so if you feel it's fine to fix that in another PR, we can merge 👍
Moved to milestone 5.8 as it was not ready by the time I had to do the 5.7 code freeze. |
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.
LGTM
Just asking here in case it's missed, do you think we need to update the Login library and also make sure the listener added here is updated in the WordPress app as well?
Closes #2942. This PR adds the new "Not a WordPress site" error screen to the login by store address flow. This screen will only be show when the user enters a URL for a site that does not have WordPress installed.
Tracks events
No new tracks events added, only new
Step
andFlow
properties. Below are the events associated with this new view:Not a WordPress site error screen displayed. Set the active step to
NOT_WORDPRESS_SITE
:Tracked: unified_login_step, Properties: {"source":"default","flow":"login_site_address","step":"not_wordpress_site"}
On the new screen: User clicked on the "Help" icon:
Tracked: unified_login_interaction, Properties: {"source":"default","flow":"login_site_address","step":"not_wordpress_site","click":"show_help"}
On the new screen: User clicked "Try another store":
Tracked: unified_login_interaction, Properties: {"source":"default","flow":"login_site_address","step":"not_wordpress_site","click":"try_another_store"}
On the new screen: User clicked "Try another account":
Tracked: unified_login_interaction, Properties: {"source":"default","flow":"login_site_address","step":"not_wordpress_site","click":"try_another_account"}
Testing
Do a fresh install of the app or clear app data, and start the login process:
google.com
in the store address field and click Continue. The "Not a WordPress site" error screen is displayed.Update release notes:
RELEASE-NOTES.txt
if necessary.