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

Pop up log in for logged out users #5086

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Pop up log in for logged out users #5086

wants to merge 9 commits into from

Conversation

l-olson1214
Copy link
Collaborator

Phabricator:
https://phabricator.wikimedia.org/T379794

Notes

Test Steps

  1. Fresh install, logged out, 6+ in history, and region/language
  2. Navigate to profile, then Year in Review
  3. Make note of the pop up, select no thanks
  4. Ensure you navigate to the YIR after no thanks
  5. Repeat again but this time log in and ensure you can navigate to YIR

Screenshots/Videos

Simulator.Screen.Recording.-.iPhone.15.Plus.-.2024-11-20.at.14.19.42.mp4

@l-olson1214 l-olson1214 requested review from a team and tonisevener and removed request for a team November 21, 2024 19:52
Wikipedia/Code/ProfileCoordinator.swift Outdated Show resolved Hide resolved
Wikipedia/Code/ProfileCoordinator.swift Outdated Show resolved Hide resolved
Wikipedia/Code/ProfileCoordinator.swift Outdated Show resolved Hide resolved
Wikipedia/Code/ProfileCoordinator.swift Outdated Show resolved Hide resolved
Wikipedia/Code/ProfileCoordinator.swift Outdated Show resolved Hide resolved
# Conflicts:
#	Wikipedia/iOS Native Localizations/en.lproj/Localizable.strings
alert.addAction(action1)
alert.addAction(action2)

DonateFunnel.shared.logYearInReviewLoginPromptDidAppearProfile()
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe move this inside
if let presentedViewController = navigationController.presentedViewController { ... on line 217
so we only log it when it's actually presented instead of logging when it's created.

@@ -405,6 +405,7 @@ final class YearInReviewCoordinator: NSObject, Coordinator {
}

func start() {

Copy link
Collaborator

Choose a reason for hiding this comment

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

very minor - remove extra whitespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants