-
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
[HOLD for payment 2024-10-16] Search - Selected expense does not remain selected, gets auto deselected #50286
Comments
Triggered auto assignment to @thienlnam ( |
Triggered auto assignment to @abekkala ( |
👋 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:
|
We think that this bug might be related to #wave-control |
ProposalPlease re-state the problem that we are trying to solve in this issue.Selected expense does not remain selected, gets auto deselected on narrow screens What is the root cause of that problem?This is caused by #49829 What changes do you think we should make in order to solve the problem?Revert #49829 |
Checking |
@cretadn22 getSections is used to get data and it has 3 flows so it can return array of ReportActionListItemType or TransactionListItemType or ReportListItemType but your looping only handles case of ReportActionListItemType by checking the transactions field. You need to add below code here to handle TransactionListItemType as well. I think you can ignore ReportActionListItemType because it is only for chat search. if ('transactionID' in report) {
if (!Object.keys(selectedTransactions).includes(report.transactionID)) {
return;
}
newTransactionList[report.transactionID] = {
action: report.action,
canHold: report.canHold,
canUnhold: report.canUnhold,
isSelected: selectedTransactions[report.transactionID].isSelected,
canDelete: report.canDelete,
};
} Note: I have not completed my investigation but this change seems to work for now so please verify these details. Hopefully, this saves you some time. |
Just need payment for C+ review here for @ishpaul777 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.45-4 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-10-14. 🎊 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:
|
PAYMENT SUMMARY FOR OCT 16
|
This was a regression, so only a payment for @ishpaul777 since it was a different C+ that reviewed this fix |
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.46-5 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-10-16. 🎊 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:
|
cc: @OfstadC PAYMENT SUMMARY FOR OCT 16
|
@ishpaul777 Could you please complete the BZ checklist? Thank you! |
Payment Summary
BugZero Checklist (@OfstadC)
|
[@ishpaul777] The PR that introduced the bug has been identified. Link to the PR: #49829 |
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: v9.0.45-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5050173
Issue reported by: Applause Internal Team
Action Performed:
Preconditions: Existing user with existing IOUs/Expenses
Expected Result:
Selected expense should be selected (it should be highlighted and it's checkbox should be checked)
Actual Result:
Expense is only briefly selected and then gets auto deselected.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6625431_1728131823120.IYGX8867.mp4
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @abekkalaThe text was updated successfully, but these errors were encountered: