-
Notifications
You must be signed in to change notification settings - Fork 3k
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-12-19] [$250] Invoices - Workspace avatar changes briefly after invoice receiver deletes workspace #51130
Comments
Triggered auto assignment to @johncschuster ( |
We think that this bug might be related to #vip-bills |
@johncschuster FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
Edited by proposal-police: This proposal was edited at 2024-10-21 10:04:21 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The workspace avatar at the top of the report disappears then reappears after the workspace is deleted. What is the root cause of that problem?There're 2 problems:
After deleting the WS, BE will update it to null in Onyx When users go to invoice chat, we need to get the avatar of that policy in Lines 2337 to 2339 in 44f5c5c
but it's just available when
Screen.Recording.2024-10-21.at.16.27.32.movAfter deleting the WS, we update the policyName is empty and oldPolicy is App/src/libs/actions/Policy/Policy.ts Lines 330 to 331 in 44f5c5c
So the first icon is Line 809 in 8ca4576
And the second one is If users go online again, BE will return the correct policyName and oldPolicyName What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) |
Job added to Upwork: https://www.upwork.com/jobs/~021848544462980755973 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
bug.mp4@daledah there's still bug (check above video around 38s after making online from offline) after applying your solution which fixes And I am not able to reproduce the first bug - |
@aimane-chnaif You mean the avatar order, right? |
right. and order of workspace names as well |
@aimane-chnaif We have the logic to reverse the icons here App/src/pages/home/report/ReportActionItemCreated.tsx Lines 43 to 46 in f251dbc
It's added on purpose. Do you think we need to fix it? |
@daledah another question:
If it's not invoice report, why can't we remove setting policyName? |
@aimane-chnaif It's added in #38376 and the author want to reset it to match with BE's result #37759 (comment) |
I think Invoice report and other one have the different behavior |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@daledah can you? |
Yes, I still can reproduce @aimane-chnaif Screen.Recording.2024-10-30.at.21.46.22.mov |
Triggered auto assignment to @cead22, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@cead22 @johncschuster @aimane-chnaif this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
@cead22 |
@daledah I have the back end PR ready, but I can't reproduce the issue anymore. Can you? |
@cead22 I'm still able to reproduce: Screen.Recording.2024-11-28.at.15.37.21.mp4 |
@cead22 friendly bump |
Thanks, the backend PR is in review |
Backend PR is merged and should be deployed by EOD |
Looks like the first problem in my proposal is fixed after the BE change: Screen.Recording.2024-12-06.at.16.57.11.mov |
@daledah the video isn't showing for me, but that's good news! Can you merge main into your App PR, test again, and remove the hold? cc @dominictb since you're the reviewer |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.74-8 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-12-19. 🎊 For reference, here are some details about the assignees on this issue:
|
@cead22 @johncschuster @daledah 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] |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
@daledah can you please complete the BZ Checklist above? |
Just a heads up, I will be OOO starting December 23 and will be returning January 6th. A handful of folks on the BZ team will be online for a few days in between the 25th and the 1st, but we'll be operating with a skeleton crew. I will be issuing my payments when I return on January 6th. If you would like the payment issued sooner, please post this issue in #expensify-open-source and someone on the team will jump in. Thank you! |
@cead22, @johncschuster, @daledah Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@cead22, @johncschuster, @daledah Eep! 4 days overdue now. Issues have feelings too... |
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: 9.0.51-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: applausetester [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
The workspace avatar of the invoice receiver will not disappear after the workspace is deleted.
Actual Result:
The workspace avatar at the top of the report disappears then reappears after the workspace is deleted.
The workspace avatar of the invoice preview changes to a different avatar and then back to the original avatar.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6639654_1729343016570.20241019_205303.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: