fix: Vacation delegate added via phone number changes to @expensify s after clear cache - #92876
fix: Vacation delegate added via phone number changes to @expensify s after clear cache#92876paulnjs wants to merge 26 commits into
Conversation
…s after clear cache
|
@sobitneupane 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] |
trjExpensify
left a comment
There was a problem hiding this comment.
Yep, we shouldn't be showing +@expensify.sms in the product. 👍
|
@paulnjs Could you please add tests and screen recordings for the existing account (Phone Number) as well? Let me know once it's updated. |
|
@paulnjs Could you please check the following screenshot from your recording?
As mentioned in this comment in this issue, the format should be:
|
|
@sobitneupane I updated. Don't know why but i can not open app through dev domain on android chorme. Could you please help to check it on your side? |
|
Sorry for the delay. I will try to review it by EOD tomorrow NPT. |
|
@paulnjs The changes still doesn't match the expectation. |
|
@sobitneupane I updated. Could you please help to check? The failed test comes from main, I will sync main later after it's fixed |
|
@paulnjs Sorry for the delay. I won't be able to review the PR until next week at the earliest, but I will try to get to it early next week. |
|
@paulnjs Could you please merge main? |
|
@sobitneupane Kindly bump |
|
@paulnjs I can still reproduce the issue. |
|
@sobitneupane Please help to check newest update |
|
@paulnjs I am still noticing two issues: The number format changes after selection. Screen.Recording.2026-07-16.at.12.09.01.movThe selected number does not appear in the Attendees list in the background if a user was already selected.
|
| ...option, | ||
| text: option.text ?? '', | ||
| alternateText: option.alternateText ?? option.login ?? undefined, | ||
| alternateText: getDelegateAlternateText(option.login, option.alternateText), |
There was a problem hiding this comment.
I think getDelegateAlternateText function might be redundant. Since the logic doesn't seem very complex, could we consider inlining it here instead of keeping a separate function? WDYT?
There was a problem hiding this comment.
Good point, it's only used once. I updated it.
|
@sobitneupane I updated. Please help to check again. The lint error come from main, will try merge it again tmr |
|
@paulnjs Could you please merge main? |
|
@sobitneupane I updated |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a93079b1e4
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
|
@paulnjs Could you please review above comments? |
|
@paulnjs When I set display Name for a phone number account, the phone number is shown instead of the display name. Screen.Recording.2026-07-27.at.12.26.58.mov |
sobitneupane
left a comment
There was a problem hiding this comment.
Screenshots/Videos
Android: HybridApp
Android: mWeb Chrome
Screen.Recording.2026-07-27.at.12.11.01.mov
iOS: HybridApp
iOS: mWeb Safari
Screen.Recording.2026-07-27.at.12.31.01.mov
MacOS: Chrome / Safari
Screen.Recording.2026-07-27.at.11.49.27.mov
Screen.Recording.2026-07-27.at.11.53.28.mov
Screen.Recording.2026-07-27.at.12.26.58.mov
|
@sobitneupane Updated. Please check again. |
|
Reviewing the updates. |
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 Reviewed commit: ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
sobitneupane
left a comment
There was a problem hiding this comment.
Screenshots/Videos
Android: HybridApp
https://github.com/user-attachments/assets/adcf2f3d-1bce-4037-9043-89aa1cabd538
https://github.com/user-attachments/assets/d72038f4-6703-4d8a-ae6d-6ef1ae3fb636
Android: mWeb Chrome
Screen.Recording.2026-08-06.at.14.32.04.mov
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari
Screen.Recording.2026-08-06.at.14.08.20.mov
Screen.Recording.2026-08-06.at.14.09.18.mov
Screen.Recording.2026-08-06.at.14.10.24.mov
|
@paulnjs Could you please take a look at screen recording below? It seems there is still an issue with phone number with display names. After selecting a phone number, the corresponding display name is not appearing. Screen.Recording.2026-08-06.at.14.36.53.mov |
|
@sobitneupane I think the bug comes from main and was fixed. I merge main again and it's working well on my end. Could you please help to check again? Screen.Recording.2026-08-07.at.11.20.35.mov |
|
@paulnjs I can still reproduce the issue on my end. Screen.Recording.2026-08-07.at.15.43.24.mov |





Explanation of Change
Fixed Issues
$#89578
PROPOSAL:#89578 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, 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.ScrollViewcomponent to make it scrollable when more elements are added to the page.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
Screen.Recording.2026-07-02.at.15.49.03.mov
Android: mWeb Chrome
iOS: Native
Screen.Recording.2026-07-02.at.15.39.11.mov
iOS: mWeb Safari
Screen.Recording.2026-07-02.at.15.13.06.mov
MacOS: Chrome / Safari
Screen.Recording.2026-07-02.at.15.06.29.mov