-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[HOLD for payment 2024-01-25] [$500] [Wave 6: Workspace Chats] IOU - Chat with IOU shows "This is beginning" in LHN after login and no Pay elsewhere in IOU preview #32658
Comments
Triggered auto assignment to @trjExpensify ( |
Job added to Upwork: https://www.upwork.com/jobs/~01ff0e7b70f9f8b4d4 |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @cubuspl42 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.After login, the report previews. are displayed incorrectly. What is the root cause of that problem?This seems like a BE issue: on the What changes do you think we should make in order to solve the problem?This should be fixed on the BE side by either loading all the accessible reports on OpenApp, or by modifying the OpenReport API response to return not only the requested report but also all the associated IOU Reports (or even all the child reports). To fix this solely on the FE side, we can add an useEffect(() => {
if (lodashHas(props.iouReport, 'reportID')) {
return;
}
Report.openReport(props.iouReportID);
}, []); What alternative solutions did you explore? (Optional) |
@paultsimura Thank you for investigating this! 🎀 👀 🎀 |
Triggered auto assignment to @thienlnam, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@thienlnam Would you give it a look? |
Current assignee @cubuspl42 is eligible for the Internal assigner, not assigning anyone new. |
CC: @puneetlath @rezkiy37 @situchan as well for the hunch it might be related to #29593 |
AFAIK, we didn't touch policy expense report chats. |
This looks like it's a preview of an iouReport inside a DM. Not a preview of an expenseReport inside a policyExpenseChat (A.K.A "workspace chat"). |
Adding this to the wave6 project as critical so that someone can investigate. cc @greg-schroeder |
@cubuspl42, @yuwenmemon, @paultsimura, @trjExpensify Whoops! This issue is 2 days overdue. Let's get this updated quick! |
This comment was marked as resolved.
This comment was marked as resolved.
Thanks. The PR is ready for review: #33981 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.26-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 2024-01-25. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
👋 checklist time ahead of tomorrow! |
|
@paultsimura believe that the "QA Steps" in your PR weren't up-to-date when we merged. My oversight. What do you think of the steps I suggested above? |
@cubuspl42 I was working on the PR for this issue. Are we talking about this one, or there's another? 🤔 |
Sorry, I had Bernard's PR open in another tab and I confused usernames |
These are the steps from my PR. It's pretty similar to the ones you've added IMO. Would you prefer me to change it anyway? |
I'm just confirming that the latest are correct. In the one you quoted, we don't focus on the fact that IOU has to be the last item in the chat log. But I guess that updating the QA Steps on the PR wouldn't hurt 🤷♂️ |
Oh, I missed that, thanks. Updated now. |
Confirming payments as follows:
|
Settled up! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 1.4.9-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Precondition: User has received IOU request
Expected Result:
The chat preview in LHN will show the latest IOU action
After opening the chat, the IOU preview shows Pay elsewhere
Actual Result:
The chat preview in LHN shows "This is the beginning of" instead of the latest IOU action
After opening the chat, the IOU preview does not show Pay elsewhere unless the IOU report is visited and user returns to the main chat
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6304418_1701953266666.20231207_160647.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: