-
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
[C+ Checklist Needs Completion] [$500] Distance - Unable to unselect default category from confirmation page #36139
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0165ec95398a746481 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane ( |
Triggered auto assignment to @greg-schroeder ( |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Triggered auto assignment to @Gonals ( |
We think that this bug might be related to #vip-vsb |
This is a regression from #33388 We need to use a const defaultCategoryHasBeenSet = useRef(false);
...
useEffect(() => {
if (requestType !== CONST.IOU.REQUEST_TYPE.DISTANCE || !_.isEmpty(transaction.category) || !!defaultCategoryHasBeenSet.current) {
return;
}
IOU.setMoneyRequestCategory_temporaryForRefactor(transactionID, defaultCategory);
defaultCategoryHasBeenSet.current = true;
}, [transactionID, transaction.category, requestType, defaultCategory]); App/src/pages/iou/request/step/IOURequestStepConfirmation.js Lines 136 to 141 in a068ac5
|
@tienifr can you raise quick PR? |
useEffect(() => {
if (requestType !== CONST.IOU.REQUEST_TYPE.DISTANCE || !_.isEmpty(transaction.category)) {
return;
}
IOU.setMoneyRequestCategory_temporaryForRefactor(transactionID, defaultCategory);
- }, [transactionID, transaction.category, requestType, defaultCategory]);
+ }, [transactionID, requestType, defaultCategory]); I think this solution is better |
PR is up |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.38-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 2024-02-15. 🎊 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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.39-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-02-19. 🎊 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:
|
Okay so reviewing this ... this is a regression from #33388. That PR was implemented by @tienifr and reviewed by @situchan. Both were paid $500 - it doesn't seem like there was a regression penalty applied? Not sure. This issue resulted in a PR that was CP'd to resolve the regression, which was implemented by @situchan and reviewed by @aimane-chnaif. @rushatgabhane was assigned to this issue as C+ via automation, but I don't think he participated in the review as this was a deploy blocker that was implemented very quickly. With that said, I think the payments for this issue should just be: $500 to @aimane-chnaif Please let me know if I got any of this incorrect. |
Paid. One of the 3 C+ assigned to this can hopefully take care of the checklist. :) |
|
Quiet melvin. I think we're good now, right @greg-schroeder |
I think we can close this |
@Julesssss @greg-schroeder @aimane-chnaif @situchan 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! |
@Julesssss, @greg-schroeder, @aimane-chnaif, @situchan Huh... This is 4 days overdue. Who can take care of this? |
Oops, sorry, closing and taking care of final steps! |
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: v.1.4-38.2
Reproducible in staging?: Y
Reproducible in production?: N
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation:
Action Performed:
Precondition:
Expected Result:
In Step 4, user should be able to unselect the default distance category.
Actual Result:
In Step 4, user is unable to unselect the default distance category.
Only after the distance request is created, user can unselect it from the request details page.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Bug6371628_1707391850643.20240208_102412.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: