-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 2023-12-28] [$500] Desktop - WS Settings - Red dot appears after uploading a Workspace avatar when offline #32513
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0165681605c06818ea |
Triggered auto assignment to @jliexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @fedirjh ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Updating the workspace avatar shows an RBR. What is the root cause of that problem?When we update a workspace avatar, we optimistically set the App/src/libs/actions/Policy.js Lines 637 to 639 in 08b7c03
We show the RBR if there is a Lines 75 to 81 in 08b7c03
Lines 34 to 37 in 08b7c03
But currently, the way we check it is by checking if What changes do you think we should make in order to solve the problem?We should check if the -return Object.keys(policy?.errorFields ?? {}).some((fieldErrors) => Object.keys(fieldErrors ?? {}).length > 0);
+return Object.values(policy?.errorFields ?? {}).some((fieldErrors) => Object.keys(fieldErrors ?? {}).length > 0); this issue happens after the TS migration. |
@bernhardoj Proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @stitesExpensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Not able to reproduce on main |
@aimane-chnaif I can repro on Staging:
@lanitochka17 I don't think this is clearly written. From what I see, when you go back online, the red dot doesn't disappear, so you have to then re-save the WS image to have it disappear. I'd personally expect the |
I'm on v1.4.10-0 and can't repro anymore. Please comment with a video if you can repro on this version @bernhardoj |
@jliexpensify hi, I can still reproduce it on 1.4.10-0. Make sure you update the avatar while offline. Screen.Recording.2023-12-08.at.14.28.40.mov |
Reopening for 👀 since @bernhardoj can reproduce and I might have reported a similar issue. |
Thanks @mallenexpensify - we can handle in this GH and you can close yours as a dupe? @stitesExpensify bump for proposal review! |
I'll put mine on hold to ensure that the fix here fixes mine too. Thx |
@bernhardoj proposal lgtm |
📣 @fedirjh 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @fedirjh |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.14-6 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 2023-12-28. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
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:
|
Hi @fedirjh can you complete the checklist before payment is issued tomorrow? Thanks in advance! |
BugZero Checklist:
Regression Test Proposal
|
Payment Summary:
|
Paid and job closed! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.8-0
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:
Expected Result:
No error should appear after uploading the WS avatar
Actual Result:
Red dot appears on the user avatar after uploading the workspace avatar when offline, though photo is uploaded successfully. No clear information given on the reason for the error
Red dot and error will be removed when user clicks on the 2nd Save button on WS settings modal. Issue does not happen when user is connected to internet
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6302263_1701803580383.scr1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: