-
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-04-05] [$500] Workspace - If title is changed offline, the description is no longer greyed out #37254
Comments
Triggered auto assignment to @sonialiap ( |
We think that this bug might be related to #wave8 |
@sonialiap 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 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace - If title is changed offline, the description is no longer greyed out What is the root cause of that problem?Here we use App/src/libs/actions/Policy.ts Line 1094 in 15cf6ad
What changes do you think we should make in order to solve the problem?Spread current pendingFields: {
...policy.pendingFields,
...updatedFields
}, We should also do the same with the errors field and this needs to be updated in
Resultpending_fields_grayed_out.mp4 |
@sonialiap Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Reproducible. I've asked in slack if we want to add it to #vip-split |
Job added to Upwork: https://www.upwork.com/jobs/~01a5b48695496946bf |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Might be related to #36598 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Workspace setting page, when offline, editing settings make description opacity back to 1 What is the root cause of that problem?The issue is that we are using Onyx.set for updating name and currency BUT we are using Onyx.merge for updating the description. As discussed on slack many times, Onyx.set can't be used aside with Onyx.merge, and it can defect data like removing previous data)
Links to slack discussions:
What changes do you think we should make in order to solve the problem?We need to use Onyx.merge with updateGeneralSettings here - onyxMethod: Onyx.METHOD.SET,
+ onyxMethod: Onyx.METHOD.MERGE, POC: 20240307_170631.mp4 |
We need to use App/src/libs/actions/Policy.ts Lines 1093 to 1094 in 15cf6ad
|
ProposalPlease re-state the problem that we are trying to solve in this issue.The description text turns "normal black" after editing the WS name offline What is the root cause of that problem?We're using the set method here to avoid a race condition when setting the currency and navigating the user to the Bank account page, but we forgot to merge other pending fields here App/src/libs/actions/Policy.ts Line 1094 in 15cf6ad
App/src/libs/actions/Policy.ts Line 1100 in 15cf6ad
What changes do you think we should make in order to solve the problem?We should spread other pending fields here, and shouldn't change the method to merge because we use set to avoid race condition
App/src/libs/actions/Policy.ts Line 1100 in 15cf6ad
What alternative solutions did you explore? (Optional)NA |
Proposal updated |
C+ reviewed 🎀 👀 🎀 I like @Krishna2323's proposal because they were first. Reason to use |
Triggered auto assignment to @rlinoz, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@rushatgabhane Can you please check again, the selected proposal is edited to correct solution and root cause after my proposal is posted |
@dukenv0307, My solution was the same from initial proposal, I just added change in root cause and removed some extra changes that we don't require. You can check my initial proposal. Also I commented here about the update. |
@dukenv0307, you can clearly see thats a pseudo-code and below that I already mentioned about updating #37254 (comment), I commented this before your proposal. |
|
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.57-5 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-04-05. 🎊 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:
|
@rushatgabhane $500 - please request in ND - please complete the checklist |
@sonialiap accepted, thanks! |
Payment Summary
BugZero Checklist (@sonialiap)
|
$500 approved for @rushatgabhane |
@rushatgabhane bump on completing the checklist 🙏 |
@rushatgabhane bump for the checklist #37254 (comment) |
|
Morning, my favorite type of bump, @rushatgabhane could we get the checklist completed so that we can close this out? 😁 |
@rlinoz, @sonialiap, @rushatgabhane, @Krishna2323 Whoops! This issue is 2 days overdue. Let's get this updated quick! |
soon soon soon 🔜 |
@rushatgabhane Looking forward to it 😜 |
@rlinoz, @sonialiap, @rushatgabhane, @Krishna2323 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@rlinoz, @sonialiap, @rushatgabhane, @Krishna2323 Huh... This is 4 days overdue. Who can take care of this? |
@rushatgabhane friendly bump |
Updated #37254 (comment) we can close after regression test is added |
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.44-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): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
User expects the Description to continued greyed out until internet is back online
Actual Result:
The description text turns "normal black" after editing the WS name offline
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6393511_1709000031734.WS_Description_is_no_longer_greyed_out.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @rushatgabhaneThe text was updated successfully, but these errors were encountered: