-
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-07-10] [$250] [Wave Collect] Disable all but the default distance rate when feature is disabled same for categories and tags #39463
Comments
Job added to Upwork: https://www.upwork.com/jobs/~010ba691024d0e69b3 |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @getusha ( |
Triggered auto assignment to @kadiealexander ( |
Will try to look into this tomorrow |
Apart from the default or whatever that is, right? |
Correct, one rate will always stay enabled |
working on this one today |
adding tests |
PR is ready for a review |
Also: lets make sure the App handles this optimistically |
@mountiny, @kadiealexander, @getusha Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@mountiny, @kadiealexander, @getusha Huh... This is 4 days overdue. Who can take care of this? |
Will have to handle this later this week, focusing on more urgent tasks |
@mountiny, @kadiealexander, @getusha Eep! 4 days overdue now. Issues have feelings too... |
@mountiny, @kadiealexander, @getusha Still overdue 6 days?! Let's take care of this! |
@mountiny, @kadiealexander, @getusha 12 days overdue now... This issue's end is nigh! |
PR should be ready for review by tomorrow at most. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.3-7 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-07-10. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
this should be ready for payment when the time comes $250 to @dominictb and to @getusha |
The contracts expired so I've resent them here. Payouts due:
Upwork job is here. |
@kadiealexander Hi, this issue was created on Apr 3, so according to the official post here, this one's initial price should remain at $500 |
Thanks @dominictb, I've updated the offers. |
@kadiealexander I accepted it, thank you |
@getusha please share the regression test steps. |
Regression Test Proposal
Do we agree 👍 or 👎 |
Accepted the offer @kadiealexander |
Problem
When the Distance Rates feature is disabled in NewDot, the distance rates remain enabled. Similarly to other features in the App, we should disable the rates when the feature is disabled.
However, this is also not yet implemented optimistically for tags and categories. This is an edge case that helps in cases of rare offline usage, and as such, it was not noted as regression.
When we disable the categories and tags feature in the backend, we also disable any enabled categories and tags. We need to do the same optimistically in the client (failure data should revert the state to the one before toggling the feature off).
Solution
When the distance rates feature is turned off in NewDot, go through all the distance rates on the policy and disable them except the
Default Rate
if available. If it's not available, keep the first rate that you go over as enabled and disable all the rest. We need to keep one enabled.For tags and categories, make sure to turn off the
requiresCategory
andrequiresTag
optimistically and then all the tags, even multi-level.Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @kadiealexanderThe text was updated successfully, but these errors were encountered: