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

[No QA] Add check for isUsingExpensifyCard #3664

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

marcaaron
Copy link
Contributor

@marcaaron marcaaron commented Jun 17, 2021

Details

Adds check to see if the user already has the Expensify card provisioned on one of their domains.

Fixed Issues

Fixes https://github.com/Expensify/Expensify/issues/167543

Tests

QA Steps

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@marcaaron marcaaron self-assigned this Jun 17, 2021
@marcaaron marcaaron changed the title [HOLD Web-Expensify deploy][No QA] Add check for isUsingExpensifyCard [No QA] Add check for isUsingExpensifyCard Jun 22, 2021
@marcaaron marcaaron marked this pull request as ready for review June 22, 2021 21:15
@marcaaron marcaaron requested a review from a team as a code owner June 22, 2021 21:15
@MelvinBot MelvinBot requested review from nickmurray47 and removed request for a team June 22, 2021 21:16
Copy link
Contributor

@nickmurray47 nickmurray47 left a comment

Choose a reason for hiding this comment

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

code lgtm, had one question here

Comment on lines +204 to +206
if (isFromPublicDomain) {
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

why do public domains get excluded here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

AFAIK only users with private domains as their primary login are eligible for the Expensify card. So, if they are on a public domain we don't need to know if they are using the Expensify card already since we'll show them alternative marketing copy that instructs them update their login first.

@marcaaron marcaaron merged commit 9c89d8b into main Jun 23, 2021
@marcaaron marcaaron deleted the marcaaron-checkPublicDomainExpensifyCard branch June 23, 2021 01:22
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging in version: 1.0.73-4🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production in version: 1.0.74-0🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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

Successfully merging this pull request may close these issues.

3 participants