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
[Due for payment 2025-10-22] [HOLD #69341][$500] Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread #68262
Note: We can add a similar Concierge check to displayAllActors to ensure that only the Concierge profile is displayed:
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
NA
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread[/-][+][$250] Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread[/+]on Aug 13, 2025
changed the title [-][HOLD #69341][$500] Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread[/-][+][Due for payment 2025-10-22] [HOLD #69341][$500] Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread[/+]on Oct 15, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.31-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@QichenZhu@mallenexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[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: N/A.
[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.
If the regression test mentioned in OP already caught this, no new one is needed. Otherwise, below is a proposed test.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Invoice feature is enabled
Test:
Tap FAB > Send Invoice
Send an invoice to any user
Open the invoice thread
Mention a user who is not a member of the report and send the message
Activity
melvin-bot commentedon Aug 10, 2025
Triggered auto assignment to @JmillsExpensify (
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.dmkt9 commentedon Aug 11, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-08-15 02:36:03 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Invoice details page opens when clicking on Concierge on the whisper in invoice thread
What is the root cause of that problem?
With
isWorkspaceActor === truewe will display workspace details:App/src/pages/home/report/ReportActionItemSingle.tsx
Lines 114 to 117 in dd11c95
isWorkspaceActorwill always betruefor invoice reports:App/src/components/ReportActionAvatars/useReportActionAvatars.ts
Line 149 in dd11c95
What changes do you think we should make in order to solve the problem?
In the case of a workspace actor, the avatar type is displayed as a subscript avatar:
App/src/components/ReportActionAvatars/useReportActionAvatars.ts
Lines 171 to 172 in 8dcc9d3
Therefore, we can use the
shouldUseSubscriptAvatarcondition forisWorkspaceActor.Why this works: If the avatar is rendered as a subscript avatar, it will definitely require opening the workspace details.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
NA
What alternative solutions did you explore? (Optional)
Add a condition to check if it is
ConciergethenisWorkspaceActoris alwaysfalse:App/src/components/ReportActionAvatars/useReportActionAvatars.ts
Line 149 in dd11c95
Note: We can add a similar
Conciergecheck todisplayAllActorsto ensure that only theConciergeprofile is displayed:Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
nkdengineer commentedon Aug 12, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-08-14 03:54:00 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
Invoice details page opens when clicking on Concierge on the whisper in invoice thread
What is the root cause of that problem?
isWorkspaceActoris alwaystruefor the invoice report, then any action's avatar in the invoice report will open the report detail page.App/src/components/ReportActionAvatars/useReportActionAvatars.ts
Line 175 in 15e889b
App/src/pages/home/report/ReportActionItemSingle.tsx
Lines 114 to 119 in 15e889b
What changes do you think we should make in order to solve the problem?
isWorkspaceActorshould onlytrueif the report action is report previewApp/src/components/ReportActionAvatars/useReportActionAvatars.ts
Line 175 in 15e889b
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
NA
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
JmillsExpensify commentedon Aug 13, 2025
I'll open this up since there are proposals though I'm also adding weekly since this is lower priority.
[-]Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread[/-][+][$250] Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread[/+]melvin-bot commentedon Aug 13, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021955556600223096668
94 remaining items
[-][HOLD #69341][$500] Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread[/-][+][Due for payment 2025-10-22] [HOLD #69341][$500] Invoice - Invoice details page opens when clicking Concierge on the whisper in invoice thread[/+]melvin-bot commentedon Oct 15, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Oct 15, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.2.31-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2025-10-22. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Oct 15, 2025
@QichenZhu @mallenexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
mallenexpensify commentedon Oct 22, 2025
Payment Summary
Contributor: @dmkt9 paid $500 via Upwork
Contributor+: @QichenZhu paid $500 via Upwork.
@dmkt9 can you please accept the job below? Please reply here and tag me once you have.
https://www.upwork.com/jobs/~021981122719476224114
@QichenZhu plz complete the BZ checklist.
QichenZhu commentedon Oct 22, 2025
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: [Avatars - Reports] Use centralized logic for report actions avatars everywhere in the app #65740 (comment)
[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: N/A.
[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.
If the regression test mentioned in OP already caught this, no new one is needed. Otherwise, below is a proposed test.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
dmkt9 commentedon Oct 22, 2025
@mallenexpensify Thanks. I have just requested payment on Upwork.
mallenexpensify commentedon Oct 24, 2025
@dmkt9 paid, summary updated above.
Test case created, thx!