You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[WAITING ON CHECKLIST] [$250] Bank - Authorized payer is displayed as phone number@expensify.sms. #78762
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: V9.2.90-2 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from BrowserStack:https://test-management.browserstack.com/projects/2219752/folder/13177080/test-cases/48358512 Email or phone of affected tester (no customers):dreamnitethedragon+yydyd373@gmail.com Issue reported by: Applause Internal Team Bug source: Exploratory - Significant User Experience Deterioration Device used: Redminote 10S Android 13 App Component: Other
Action Performed:
Pre-condition
Invite a phone number user with admin role
Add a fully verified bank account VBA
The authorized payer display name is retrieved by directly accessing the displayName property from personal details instead of using the getDisplayNameOrDefault or formatPhoneNumber. For phone number users without display name, the backend sets displayName the same as login (e.g., "+1234567890@expensify.sms"), so directly accessing displayName returns the raw value with the SMS domain
changed the title [-]Bank - Authorized payer is displayed as phone number@expensify.sms.[/-][+][$250] Bank - Authorized payer is displayed as phone number@expensify.sms.[/+]on Jan 1, 2026
Please re-state the problem that we are trying to solve in this issue.
On the Workspace Workflows page, authorized payers with phone-number-based accounts were displayed using their internal identifier (e.g., +1234567890@expensify.sms) instead of a human-readable name or properly formatted phone number.
What is the root cause of that problem?
The page was deriving the display name using:
createDisplayName directly with the reimburser and personal details
For phone-number-based users, this exposed the raw SMS-based identifier because the formatting was not applied at the presentation layer. Unlike other workflow pages, this page did not normalize the reimburser using getDisplayNameOrDefault and formatPhoneNumber.
What changes do you think we should make in order to solve the problem?
Solution: Refactor displayNameForAuthorizedPayer to normalize and format phone-number-based payers consistently.
Implementation Details:
File: WorkspaceWorkflowsPage.tsx
Changes Made:
Destructured formatPhoneNumber from the useLocalize hook.
Refactored displayNameForAuthorizedPayer useMemo to:
Use getPersonalDetailByEmail to fetch personal details
Use getDisplayNameOrDefault to compute a safe display name
Apply formatPhoneNumber to the result to ensure consistent formatting for phone numbers
changed the title [-][Due for payment 2026-01-29] [$250] Bank - Authorized payer is displayed as phone number@expensify.sms.[/-][+][WAITING ON CHECKLIST] [$250] Bank - Authorized payer is displayed as phone number@expensify.sms.[/+]on Jan 30, 2026
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: No discussion was created
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jan 1, 2026
Triggered auto assignment to @jliexpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.jliexpensify commentedon Jan 1, 2026
@jponikarchuk I'm a bit confused, where is this happening?
Can you add a screenshot highlighting this?
nyomanjyotisa commentedon Jan 1, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
Bank - Authorized payer is displayed as phone number@expensify.sms
What is the root cause of that problem?
The authorized payer display name is retrieved by directly accessing the
displayNameproperty from personal details instead of using thegetDisplayNameOrDefaultorformatPhoneNumber. For phone number users without display name, the backend setsdisplayNamethe same aslogin(e.g., "+1234567890@expensify.sms"), so directly accessingdisplayNamereturns the raw value with the SMS domainApp/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx
Lines 106 to 109 in 66de3d6
What changes do you think we should make in order to solve the problem?
We should use
getDisplayNameOrDefaultinstead of directly accessing thedisplayNamepropertyApp/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx
Lines 106 to 109 in 66de3d6
What alternative solutions did you explore? (Optional)
We could use
formatPhoneNumbercombined withgetDisplayNameOrDefault(as done inWorkspaceWorkflowsPayerPage)Or like this without
getDisplayNameOrDefaultApp/src/pages/workspace/workflows/WorkspaceWorkflowsPage.tsx
Lines 106 to 109 in 66de3d6
melvin-bot commentedon Jan 1, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022006877116217505002
[-]Bank - Authorized payer is displayed as phone number@expensify.sms.[/-][+][$250] Bank - Authorized payer is displayed as phone number@expensify.sms.[/+]melvin-bot commentedon Jan 1, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @alitoshmatov (
External)yatin-italy commentedon Jan 2, 2026
Proposal
Please re-state the problem that we are trying to solve in this issue.
On the Workspace Workflows page, authorized payers with phone-number-based accounts were displayed using their internal identifier (e.g.,
+1234567890@expensify.sms) instead of a human-readable name or properly formatted phone number.What is the root cause of that problem?
The page was deriving the display name using:
createDisplayNamedirectly with the reimburser and personal detailsFor phone-number-based users, this exposed the raw SMS-based identifier because the formatting was not applied at the presentation layer. Unlike other workflow pages, this page did not normalize the reimburser using
getDisplayNameOrDefaultandformatPhoneNumber.What changes do you think we should make in order to solve the problem?
Solution: Refactor
displayNameForAuthorizedPayerto normalize and format phone-number-based payers consistently.Implementation Details:
File:
WorkspaceWorkflowsPage.tsxChanges Made:
formatPhoneNumberfrom theuseLocalizehook.displayNameForAuthorizedPayeruseMemo to:getPersonalDetailByEmailto fetch personal detailsgetDisplayNameOrDefaultto compute a safe display nameformatPhoneNumberto the result to ensure consistent formatting for phone numbersUpdated Code Snippet:
Result:
+1 (234) 567-8900)What alternative solutions did you explore? (Optional)
Continue using
createDisplayNamewithout formattingManually format SMS identifiers inline
getDisplayNameOrDefaultcosmicvulpes commentedon Jan 2, 2026
🚫 Duplicated proposal withdrawn by 🤖 ProposalPolice.
25 remaining items
jliexpensify commentedon Jan 30, 2026
Bumping @alitoshmatov again for the checklist
jliexpensify commentedon Jan 30, 2026
Payment Summary
https://www.upwork.com/jobs/~022006877116217505002
[-][Due for payment 2026-01-29] [$250] Bank - Authorized payer is displayed as phone number@expensify.sms.[/-][+][WAITING ON CHECKLIST] [$250] Bank - Authorized payer is displayed as phone number@expensify.sms.[/+]jliexpensify commentedon Jan 30, 2026
Paid and job closed, waiting on checklist @alitoshmatov
jliexpensify commentedon Feb 9, 2026
Bump @alitoshmatov for the checklist please
jliexpensify commentedon Feb 11, 2026
DM-ed @alitoshmatov
alitoshmatov commentedon Feb 13, 2026
BugZero Checklist:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: https://github.com/Expensify/App/pull/39017/changes#r2802035888
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: No discussion was created
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
I don't think this requires regression test
jliexpensify commentedon Feb 15, 2026
Thanks, closing!
JmillsExpensify commentedon Feb 21, 2026
$250 approved for @alitoshmatov