Open IuliiaHerets opened 2 hours ago
Triggered auto assignment to @techievivek (DeployBlockerCash
), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.
💬 A slack conversation has been started in #expensify-open-source
Triggered auto assignment to @johncschuster (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
:wave: 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:
I believe this may be a bug after this PR: https://github.com/Expensify/App/pull/50122 @luacmartins can you take a look? I didn't know we support "No category" option.
I think we can demote this for now as the impact is low.
"No category" is no longer selected in Categories field after searching with that filter.
In AdvancedSearchFilters
, we calculate what title to display using:
This Onyx value is set when we open advanced search filters page:
In buildFilterFormValuesFromQuery
, we only match Category by value, and none
is not in category list, so this part:
will return an empty array.
This bug happens to Tag
search filter as well, because of the same RCA as above.
Add a condition to include none
category if the search query has one, after this line
if (filters[filterKey]?.map((category) => category.value.toString()).includes(CONST.SEARCH.EMPTY_VALUE)) {
filtersForm[filterKey]?.push(CONST.SEARCH.EMPTY_VALUE);
}
Do the same with Tags as well.
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: 9.0.50-0 Reproducible in staging?: Y Reproducible in production?: N/A - new feature, doesn't exist in prod Issue was found when executing this PR: https://github.com/Expensify/App/pull/50122 Email or phone of affected tester (no customers): applausetester+kh081006@applause.expensifail.com Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
"No category" will be displayed as selected in Categories field after searching with that filter.
Actual Result:
"No category" is no longer selected in Categories field after searching with that filter.
The same with
tags
filtersWorkaround:
Unknown
Platforms:
Screenshots/Videos
https://github.com/user-attachments/assets/f1e74311-f0b8-478f-a445-ccf771278d99
View all open jobs on GitHub