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
[HOLD for payment 2023-10-09] HIGH: LHN logic is broken for paid reports #26669
First line: %workspaceName% (note: name depends on who’s looking at it, this is the member case)
Second line: latest message in the workspace chat. We a report has just paid paid, that's %workspaceName% paid %amount%
Report (member & admin)
First line: report name (e.g. %workspaceName% paid %amount%)
Second line: latest message, (e.g. %userDisplayName% paid %amount%
At the moment the policyExpenseChat is incorrectly showing the second line from the report (e.g. Niki paid...) instead of what should should actually be the second line for the policyExpenseChat.
Shall we create a fresh issue then? For what it's worth, I like this idea from @mountiny:
@koko57 we could try to abstract away some of the logic to determine to LHN preview messages and then create unit tests for that method based on various scenarios of the reports, would that be feasible?
Activity
melvin-bot commentedon Sep 4, 2023
Job added to Upwork: https://www.upwork.com/jobs/~0159fb834042f1a338
melvin-bot commentedon Sep 4, 2023
Triggered auto assignment to @adelekennedy (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Sep 4, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Sep 4, 2023
Triggered auto assignment to Contributor Plus for review of internal employee PR - @mananjadhav (
Internal)JmillsExpensify commentedon Sep 4, 2023
Taking this as part of waves
melvin-bot commentedon Sep 12, 2023
@JmillsExpensify, @mananjadhav 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
JmillsExpensify commentedon Sep 13, 2023
Adding this to wave4 so that we ensure it gets picked up.
73 remaining items
trjExpensify commentedon Oct 16, 2023
You're talking about the title of the expenseReport in the LHN, yeah?
mountiny commentedon Oct 16, 2023
Both of these
trjExpensify commentedon Oct 16, 2023
Ah, so no.. the preview is of the report action added to the report and should come from whichever user took the action.
When someone pays an expenseReport:
I.e
Report Action
LHN
mountiny commentedon Oct 16, 2023
Ah I missed it with the workspace chat preview

Then there its correctly saying the
%workspaceName% paid thistrjExpensify commentedon Oct 16, 2023
Yup, the workspace chat preview is correct because it's a preview of the report which title updated in (2) above.
JmillsExpensify commentedon Oct 16, 2023
Shall we create a fresh issue then? For what it's worth, I like this idea from @mountiny:
JmillsExpensify commentedon Oct 16, 2023
P.S. Regression test has been added.
JmillsExpensify commentedon Oct 16, 2023
$500 payment approved for @mananjadhav based on this summary.
koko57 commentedon Oct 18, 2023
@JmillsExpensify @mountiny should I start working on this one? 🙂 Will a new ticket be created?
mananjadhav commentedon Oct 18, 2023
New issue would be helpful and I can help with the review.
mountiny commentedon Oct 18, 2023
Yes @trjExpensify would you be able to create a new one for this? You will be the best in defining exactly what needs to be done
trjExpensify commentedon Oct 20, 2023
@koko57 can you write a message on the new issue so I can assign you? Thanks! #30042
mountiny commentedon Oct 20, 2023
Thanks this can be closed then ❤️