Skip to content
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

UL&S: Remove .showSigninV2 #232

Merged
merged 11 commits into from
Apr 9, 2020
Merged

Conversation

mindgraffiti
Copy link
Contributor

@mindgraffiti mindgraffiti commented Apr 6, 2020

Fixes #229

Ref. #182

This PR removes all references to the segue .showSigninV2 and programmatically navigates the user to the SignupEmailViewController. There is 1 area where the segue has been removed:

  1. WPiOS signup

To Test - WPiOS

  1. Check out this branch
  2. rake dependencies and ensure there are no errors
  3. Build and run (there should be no errors)
  4. Visit the WPiOS PR to run the changes: Remove segue showSigninV2 WordPress-iOS#13828

@mindgraffiti mindgraffiti added the enhancement New feature or request label Apr 6, 2020
@mindgraffiti mindgraffiti added this to the 1.13.0 milestone Apr 6, 2020
// LoginFacadeDelegate methods for Google Google Sign In
/// Make Google Sign In conform to the LoginFacade protocol.
/// The delegate calls these methods from LoginFacade.m.
///
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is documentation I forgot to update for the previous segue removal, .show2fa

@@ -522,6 +532,9 @@ extension LoginEmailViewController {
googleExistingUserNeedsConnection(email)
}

/// After a successful Google Sign In, this method gets called when the user
/// has enabled 2-factor authentication for their WordPress.com account.
///
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is documentation I forgot to update for the previous segue removal, .show2fa

This prepare for segue is no longer used because login in by email and login by google are done using nav controllers rather than calling perform segue.
Copy link
Contributor

@ScoutHarris ScoutHarris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@bjtitus bjtitus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mindgraffiti
Copy link
Contributor Author

Thank you @ScoutHarris and @bjtitus !

@mindgraffiti mindgraffiti merged commit 6359fdf into develop Apr 9, 2020
@mindgraffiti mindgraffiti deleted the issue/229-remove-showSigninV2 branch April 9, 2020 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UL&S: Remove .showSigninV2
3 participants