-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Add CTA to error messages about "email should be your default contact" #58198
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
Add CTA to error messages about "email should be your default contact" #58198
Conversation
I'm waiting for Spanish translations confirmation on #expensify-open-source |
Reviewer Checklist
Screenshots/VideosAndroid: Native58198-android-native.movAndroid: mWeb Chrome58198-android-web.moviOS: Native58198-ios-native.moviOS: mWeb Safari58198-ios-safari.movMacOS: Chrome / Safari58198-mac-chrome.movMacOS: Desktop58198-mac-desktop.mov |
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.
Co-authored-by: wentao <[email protected]>
Co-authored-by: wentao <[email protected]>
@ntdiary I've edited PR description and attached screenshots (under Chrome / Web). Translations confirmed here: https://callstack-hq.slack.com/archives/C01GTK53T8Q/p1742394373356669?thread_ts=1741688608.521499&cid=C01GTK53T8Q |
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.
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/blimpich in version: 9.1.16-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.1.16-4 🚀
|
Explanation of Change
There are two user flows that ask user to ensure that his primary contact method is an email (instead of phone number). This PR adds linking from info messages to exact place where user can change default contact method. This simplifies user flow as he does not have to leave his current page and look for proper settings page.
Fixed Issues
$ #53066
PROPOSAL: [$250] Any flow that asks a SMS user for an email address should give them a link to add it, which takes them straight to the contact method dialog · Issue #53066 · Expensify/App
Tests
User tries to book a travel
User tries to add an account
Offline tests
N/A
QA Steps
User tries to book a travel
User tries to add an account
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
## SpanishReimbursement bank account
Travel
English
Book travel after tweaks
Reimbursement account
MacOS: Desktop