[Part 27] Remove Onyx.connect from LocalePhoneNumber - #97800
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] |
|
@shubham1206agra, could you please take a look at this pr when you get a chance? thanks. the failure actions are not related to our changes. BTW |
|
PR doesn’t need product input as a refactor PR. Unassigning and unsubscribing myself. |
…part-26' into fix/66327-sidebar-utils-part-27
|
@shubham1206agra, Gentle bump. thanks. |
1 similar comment
|
@shubham1206agra, Gentle bump. thanks. |
|
Let's hold this PR on #97995 |
|
@marufsharifi Merge main please |
Reviewer Checklist
Screenshots/VideosScreen.Recording.2026-08-11.at.8.52.44.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.53-0 🚀
|
No help site changes requiredI reviewed the changes in this PR against Expensify's help site content in Why: This is an internal refactor (
None of this maps to a customer-facing concept documented on the help site, so there's nothing to update. @marufsharifi, since no help site PR was created, there's nothing further to review here. If you believe a specific article should still be updated, let me know which one and I'll take another look. |
Explanation of Change
Refactor
formatPhoneNumberinSidebarsUtils.tsThis PR also updates the Enable Travel legal-name step to use
formatPhoneNumberfromuseLocalize()instead of importing it directly fromLocalePhoneNumber.A focused test was added to verify the legal-name step submits trimmed names with the localized formatter and advances to the next step.
Fixed Issues
$ #66327
PROPOSAL:
Tests
Offline tests
QA Steps
Case 1: Verify a country phone number in a direct chat
Precondition: Have a chat participant whose login is a phone number.
Start or open a direct chat with the phone-number user.
Verify the phone number is displayed in the expected national format in the:
Send a message and navigate away from the chat.
Verify the phone number and message preview are displayed correctly in the LHN.
Reopen the chat.
Verify the phone number remains correctly formatted.
Case 2: Verify phone numbers in a group chat
Case 3: Verify an individual invoice-room welcome message
Precondition: The individual invoice recipient must use a phone number as their login and must not have a display name.
Case 4: Travel Legal Name Step.
More features.Travel.Travelpage in workspace settings.Let’s go.Book travelpanel opens withWhat’s your legal name?.Legal first name.Legal last name.Next.// 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: Verify a country phone number in a direct chat
Screencast.From.2026-08-04.22-36-01.webm
Case 2: Verify phone numbers in a group chat
Screencast.From.2026-08-04.22-37-24.webm
Case 3: Verify an individual invoice-room welcome message
Screencast.From.2026-08-04.22-39-37.webm
Case 4: Travel Legal Name Step.
Screencast.From.2026-07-30.23-42-14.webm