You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Search - The Select all checbox is not checked when all the expenses are checked #44801
issue found when validating 44385 Version Number: 9.0.4.0 Reproducible in staging?: y Reproducible in production?: no new feature If this was caught during regression testing, add the test name, ID and link from TestRail: n/a 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:
User has paid and unpaid expenses.
Go to staging.new.expensify.com
Go to Search > Expenses.
Click on Select all checkbox.
Expected Result:
The Select all checbox will be checked when all the expenses are checked.
Actual Result:
The Select all checbox is not checked when all the expenses are checked.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
👋 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:
Identify the pull request that introduced this issue and revert it.
@mallenexpensify 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
The checklist says N/A and it sounds like we likely want one. If it's the same as the in the OP of the issue or PR, please copy/paste below the BZ checklist, you're more familiar with the test steps and the BZ shouldn't assume the steps in the OP are up to date and accurate. Thx
The checklist says N/A and it sounds like we likely want one. If it's the same as the in the OP of the issue or PR, please copy/paste below the BZ checklist, you're more familiar with the test steps and the BZ shouldn't assume the steps in the OP are up to date and accurate. Thx
Activity
melvin-bot commentedon Jul 4, 2024
Triggered auto assignment to @techievivek (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.melvin-bot commentedon Jul 4, 2024
Triggered auto assignment to @mallenexpensify (
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.github-actions commentedon Jul 4, 2024
👋 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:
m-natarajan commentedon Jul 4, 2024
@mallenexpensify 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
m-natarajan commentedon Jul 4, 2024
We think that this bug might be related to #vip-vsb
nkdengineer commentedon Jul 4, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The Select all checbox is not checked when all the expenses are checked.
What is the root cause of that problem?
The item in expenses search doesn't have the
textfieldSo when all items are checked, only one is added to
selectedOptionsarrayApp/src/components/SelectionList/BaseSelectionList.tsx
Lines 169 to 171 in 83eb7e6
And then
allSelectedis false which makes the all checkbox is not checkedApp/src/components/SelectionList/BaseSelectionList.tsx
Line 195 in 83eb7e6
What changes do you think we should make in order to solve the problem?
We should compare the
keyForListfield here instead of thetextfieldApp/src/components/SelectionList/BaseSelectionList.tsx
Lines 169 to 171 in 83eb7e6
For the search like shared, draft, finished, we should add the
keyForListto the item when we get the report section hereApp/src/libs/SearchUtils.ts
Line 167 in a84f68e
What alternative solutions did you explore? (Optional)
Or we can add the
textfield to each item in expense search page49 remaining items
mallenexpensify commentedon Jul 19, 2024
@dukenv0307 why don't we want a test case for this?
dukenv0307 commentedon Jul 19, 2024
@mallenexpensify I think the test case is already mentioned in the OP
mallenexpensify commentedon Jul 20, 2024
The checklist says
N/Aand it sounds like we likely want one. If it's the same as the in the OP of the issue or PR, please copy/paste below the BZ checklist, you're more familiar with the test steps and the BZ shouldn't assume the steps in the OP are up to date and accurate. Thxmelvin-bot commentedon Jul 22, 2024
@luacmartins, @mallenexpensify, @mountiny, @dukenv0307, @nkdengineer Whoops! This issue is 2 days overdue. Let's get this updated quick!
melvin-bot commentedon Jul 24, 2024
@luacmartins, @mallenexpensify, @mountiny, @dukenv0307, @nkdengineer Eep! 4 days overdue now. Issues have feelings too...
melvin-bot commentedon Jul 26, 2024
@luacmartins, @mallenexpensify, @mountiny, @dukenv0307, @nkdengineer Still overdue 6 days?! Let's take care of this!
mallenexpensify commentedon Jul 26, 2024
@dukenv0307 👀 plz
dukenv0307 commentedon Jul 27, 2024
Thank you @mallenexpensify. I edited the checklists. I'll add the regression steps for the other checklists
melvin-bot commentedon Jul 30, 2024
@luacmartins, @mallenexpensify, @mountiny, @dukenv0307, @nkdengineer Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
mallenexpensify commentedon Jul 31, 2024
Thanks @dukenv0307. All set