Adds a welcome screen after the user sign ups or logs in with no sites added#13523
Adds a welcome screen after the user sign ups or logs in with no sites added#13523emilylaguna merged 44 commits intorelease/14.3from
Conversation
…i-screen Creates a new screen for the Post Sign Up Interstitial
…psi-display-logic
…isplay-logic Adds logic to determine when to show the post signup interstitial
…ides the dismiss action
…a navigationController
|
Hey there! I've moved this to 14.4 since 14.3 has been cut. If you want this to make it to 14.4, please feel free to ping me. |
WordPress/Classes/Utility/Analytics/WPAnalyticsTrackerAutomatticTracks.m
Show resolved
Hide resolved
|
I tested the flows and the work as expected though I found the description for the signup flow to be unclear. Would still like a full review from @diegoreymendez . Please note, we are targeting 14.3. |
|
|
||
| class PostSignUpInterstitialCoordinator { | ||
| private let database: KeyValueDatabase | ||
| private let userId: NSNumber? |
There was a problem hiding this comment.
Why is this an optional? Seems like the init method that takes the userid is only used for testing.
Will we have a situation where we wont have a userid?
There was a problem hiding this comment.
Yes, if you sign in using a self hosted site there will not be a WP.com account for the user which results in the userID being nil.
diegoreymendez
left a comment
There was a problem hiding this comment.
The PR works fine for me. Nice job.
I think the only thing that feels a bit off is the transition briefly letting you see what's behind. I realize this isn't the easiest to fix but I believe it would be worth it to give it a shot.
.../Classes/ViewRelated/NUX/Post Signup Interstitial/PostSignUpInterstitialViewController.swift
Outdated
Show resolved
Hide resolved
diegoreymendez
left a comment
There was a problem hiding this comment.
@emilylaguna - I've manually re-run the CircleCI tests since they failed.
On my end I still think it would be great to resolve the transition issue, but this PR is 👍
…and the other flows
|
Alright, after much trial and error I unfortunately don't have a great solution for the transition issue. What I've done is set the dismiss animation flag to false which gives a quicker transition time. I have created an issue so I can tackle this again in the future: #13554 |
Description
Adds a new displayed to users after login/signup if they have no sites added. The PSI screen will present them with the option of Creating a new site, adding a self-hosted site, or dismissing the screen.
The user will only see this screen once.
This branch includes fixes for following tickets:
Notes
Video Demos
Login Flow
Sign Up Flow
Testing: Flows
Login with WP.com account with no sites
Part 1:
Note: You should not be shown the login epilogue view:
Expectation: You should be displayed the interstitial view
Part 2:
Part 3:
Expectation: You should not be displayed the interstitial view
Login with WP.com account with sites
Expectation: You should be shown the login epilogue view
Login with self hosted site
Expectation: You should not be shown the interstitial, but you should see the login epilogue view
Sign Up Flow
Part 1:

5. Tap continueExpectation: You should be displayed the interstitial view
Part 2:
Expectation: You should not be displayed the interstitial view
Testing: Screen Actions
Create a site action
Expectation: The PSI screen will be dismissed, and you will be brought to the Create a WP.com site:
Add self-hosted site action
Expectation: The PSI screen will be dismissed, and you will be brought to the add self hosted site flow:

Not right now action
Expectation: The PSI screen will be dismissed, and you will be brought reader tab
PR submission checklist:
RELEASE-NOTES.txtif necessary.