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-09-02] [$250] Expense Chat - System message missing hyperlink #68093
Version Number: v9.1.90-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught during regression testing, add the test name, ID and link from TestRail:https://test-management.browserstack.com/projects/2219752/folder/13176730/test-cases/41237113 Email or phone of affected tester (no customers): N/A Issue reported by: Applause Internal Team Device used: Macbook, Sequoia 15.6, Chrome, Desktop App Component: Chat Report View
What changes do you think we should make in order to solve the problem?
Question by myself.
It is not very clear from the OP what result do we want. It says 'it should include hyperlink'
Do they mean the whole current system msg should be a hyperlink or we should concatenate an extra text with system msg like 'click here' and only that 'click here' part should be a hyperlink.
solution starts here.
We can wrap the text with existing TextLink component.
If we're just adding extra text in the existing system msg 'click here' and only that extra text is a hyperlink then we can just add that extra text and only wrap that text with TextLink.
NOTE
If we are looking to make all the all system generated msgs a hyper link
@Ollyws@trjExpensify 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:
[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.
Regression Test Proposal Template
[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:
1. Go to https://staging.new.expensify.com/
2. Sign up with a Gmail address that includes a +
3. Select “Track and budget expenses”. Click Skip on the remaining steps until the onboarding flow is completed
4. Create a workspace > Create a report > Create 2 manual expenses
5. Check both expenses > Click the “2 selected” button > Move expenses > Remove from report
6. Go to your self DM
7. Click on one of the removed expenses
8. Verify system message includes a hyperlink for "personal space" test
Activity
melvin-bot commentedon Aug 7, 2025
Triggered auto assignment to @trjExpensify (
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.Krishna2323 commentedon Aug 7, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Expense Chat - System message missing hyperlink
What is the root cause of that problem?
unreportedTransactiontranslationApp/src/languages/en.ts
Line 1060 in 403006c
What changes do you think we should make in order to solve the problem?
App/src/languages/en.ts
Line 1059 in 403006c
unreportedTransaction,CONST.REPORT.ACTIONS.TYPE.UNREPORTED_TRANSACTION. and also update all translation files.getMovedTransactionMessage.const selfDMReportID = ReportUtils.findSelfDMReportID();personal spaceand create translations for it.What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
Result
aadil42 commentedon Aug 7, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
the system msg when moving the report doesn't include hyper link.
What is the root cause of that problem?
We're getting system generated msg in the report from here.
App/src/pages/home/report/PureReportActionItem.tsx
Line 1143 in 69d1f32
As you can see this is a simple text not a link.
What changes do you think we should make in order to solve the problem?
Question by myself.
It is not very clear from the OP what result do we want. It says 'it should include hyperlink'
Do they mean the whole current system msg should be a hyperlink or we should concatenate an extra text with system msg like 'click here' and only that 'click here' part should be a hyperlink.
solution starts here.
We can wrap the text with existing
TextLinkcomponent.If we're just adding extra text in the existing system msg 'click here' and only that extra text is a hyperlink then we can just add that extra text and only wrap that text with
TextLink.NOTE
If we are looking to make all the all system generated msgs a hyper link
like here:
App/src/pages/home/report/PureReportActionItem.tsx
Line 1151 in 69d1f32
and here:
App/src/pages/home/report/PureReportActionItem.tsx
Line 1153 in 69d1f32
and in many other places(you can check them all out as they're side by side) in the
PureReportActionItem.tsxcomponent.Then we can wrap all of them inside our existing
TextLinkcomponent and pass appropriateonPress.Did not include all these cases because the proposal would have gotten very long. But I think you guys get the gist.
Sorry for the long-ass proposal.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
Optionally: We can also wrap it inside
PressableWithoutFeedbackinstead ofTextLinkBoth would work.trjExpensify commentedon Aug 8, 2025
@JmillsExpensify @luacmartins we're expecting a hyperlink on
personal spacehere, right? To link to the selfDM.aadil42 commentedon Aug 8, 2025
@trjExpensify, We're using
<TextLink />in the video But we can also use<PressableWithoutFeedback />.Screen.Recording.2025-08-08.at.2.mp4
luacmartins commentedon Aug 8, 2025
Yea, it should be consistent with the report case
[-]Expense Chat - System message missing hyperlink[/-][+][$250] Expense Chat - System message missing hyperlink[/+]melvin-bot commentedon Aug 8, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021953849909154560167
23 remaining items
melvin-bot commentedon Aug 26, 2025
@Ollyws @trjExpensify 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]
trjExpensify commentedon Sep 2, 2025
👋 checklist time, @Ollyws!
Ollyws commentedon Sep 2, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[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/58020/files#r2316865161
[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:
[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.
[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 👎
melvin-bot commentedon Sep 2, 2025
Payment Summary
Upwork Job
BugZero Checklist (@trjExpensify)
trjExpensify commentedon Sep 3, 2025
This was caught by Applause in a test case, so I'm going to forgo the extra case.
Payment summary as follows:
You can both go ahead and request. Closing, thanks!
Krishna2323 commentedon Sep 4, 2025
Requested in NewDot!
Ollyws commentedon Sep 4, 2025
Requested in ND.
flaviadefaria commentedon Sep 8, 2025
$250 approved for @Krishna2323
JmillsExpensify commentedon Oct 14, 2025
$250 approved for @Ollyws