Conversation
|
@shubham1206agra Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-07-25.at.2.47.31.PM.mov |
mountiny
left a comment
There was a problem hiding this comment.
Thanks, gonna move this ahead
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 mountiny has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.4.45-0 🚀
|
|
🤖 Help site review — no docs changes required. This PR is an internal refactor and does not change any user-facing behavior, UI, labels, or copy, so nothing under Why no docs update is neededThe change moves
Contact methods still display exactly as before (emails and localized phone-number formatting are unchanged). There are no new settings, tabs, buttons, or flows to document. The touched files are all code/tests ( Since no documentation update is needed, I have not created a draft help site PR. If you believe a user-facing behavior did change and warrants a docs update, let me know and I'll draft one. @marufsharifi, please confirm you agree no help site changes are needed here. |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.4.45-14 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
This update moves contact method option formatting onto the localized phone formatter.
UserUtilsno longer importsformatPhoneNumberdirectly fromLocalePhoneNumber. Instead,getContactMethodsOptionsnow receives the activeformatPhoneNumberfunction fromuseLocalize(), and the Profile and Contact Methods pages pass that formatter through when building contact method menu items.This keeps contact method display formatting consistent with the ongoing
ONYXKEYS.COUNTRY_CODErefactor and removes another direct dependency onLocalePhoneNumber.Fixed Issues
$ #66327
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
Screencast.From.2026-07-24.17-44-39.webm