-
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-03-20] [$500][MEDIUM] Categories: Parent that has own category is not ticked in All list when selected #37326
Comments
Job added to Upwork: https://www.upwork.com/jobs/~010569839356f2354c |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh ( |
👋 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 @blimpich ( |
We think that this bug might be related to #wave6 |
I think it's not a DB, just an edge case displaying. User is still able to select another category |
Agreed, demoting. Will handle this with the regular bug process. |
Triggered auto assignment to @joekaufmanexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
+function getCategoryOptionTree(options: Record<string, Category> | Category[], isOneLine = false, selectedOptionsName): Option[] {
const optionCollection = new Map<string, Option>();
...
optionCollection.set(option.name, {
...
+ isSelected: !!option.isSelected || selectedOptionsName.includes(searchText),
});
return;
} What alternative solutions did you explore? (Optional)
by:
|
@hoangzinh PR #37805 is ready to review |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.51-3 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-03-20. 🎊 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:
|
@hoangzinh could you please handle checklist so we can prep to issue payment? |
@joekaufmanexpensify @blimpich Because this is a DB, could you someone please check if we already have a regression test for it? Otherwise, I will propose a new one. |
@hoangzinh the scope of this issue only impacts sub-categories, correct? If so, I think this is a pretty niche case, and a regression test for every run is probably not needed. |
Yes it's correct. Do you mean this issue is an edge case and we don't need a regression test for it? |
Yep, that's correct. Could you please do the rest of the checklist? And then I'll issue payment. |
BugZero Checklist:
|
TY! All set to issue payment. We need to pay:
|
@hoangzinh $500 sent and contract ended! |
@dukenv0307 $500 sent and contract ended! |
Upwork job closed. |
All set, thanks everyone! |
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?: N
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:
Precondition:
Expected Result:
The parent category "Test" will be displayed with a tick in the list (production behavior) because it is selected
Actual Result:
The parent category "Test" is not displayed with a tick in the list
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6394349_1709055194859.20240227-135357_a31RC8Aq.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: