[Part 16] Remove Onyx.connect from LocalePhoneNumber - #96446
danieldoglas merged 1 commit into
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-24.at.11.22.43.PM.mov |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚧 danieldoglas 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/danieldoglas in version: 9.4.45-0 🚀
|
|
🤖 I reviewed the changes in this PR against the help site articles under Why: This is a purely internal code refactor. It removes the deprecated Since no help site changes are needed, I did not create a draft docs PR. @marufsharifi, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.4.45-14 🚀
Bundle Size Analysis (Sentry): |
Explanation of Change
This change removes the deprecated phone-number formatter dependency from the track expense share/accountant flow. Instead of
TrackExpense.tsreading fromLocalePhoneNumberdirectly, the UI passes the localizedformatPhoneNumberthrough the existing accountant params, so optimistic workspace/member display names use the active locale path.Fixed Issues
$ #66327
PROPOSAL:
Tests
Offline tests
QA Steps
Case 1: Share a tracked expense to an accountant
Case 2: Existing accountant/workspace member
// 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
Case 1: Share a tracked expense to an accountant
Screencast.From.2026-07-21.17-45-39.webm
Case 2: Existing accountant/workspace member
Screencast.From.2026-07-21.17-47-48.webm