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
[Due for payment 2025-04-10] [$250] Search - Suggestion list does not appear when searching with card's last four #57994
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: 9.1.10-0 Reproducible in staging?: Yes Reproducible in production?: Yes If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A If this was caught during regression testing, add the test name, ID and link from TestRail: Exp Email or phone of affected tester (no customers):applausetester+ps309@applause.expensifail.com Issue reported by: Applause Internal Team Device used: Mac 15.3 / Chrome App Component: Search
Action Performed:
Precondition:
User has assigned two virtual cards to themselves.
Go to staging.new.expensify.com
Go to Reports.
Click on the search field.
Type card:expensify.
Type card:card.
Note that suggestion list appears for both search queries - card:expensify and card:card.
Type card: and followed by the card's last four digits.
Expected Result:
The suggestion list will appear when searching with card's last four.
Actual Result:
The suggestion list does not appear when searching with card's last four.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
We have file test with search card data here. We should add new test at this file
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]Search - Suggestion list does not appear when searching with card's last four[/-][+][$250] Search - Suggestion list does not appear when searching with card's last four[/+]on Mar 7, 2025
changed the title [-][$250] Search - Suggestion list does not appear when searching with card's last four[/-][+][Due for payment 2025-04-10] [$250] Search - Suggestion list does not appear when searching with card's last four[/+]on Apr 3, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.22-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@s77rt@lschurr@s77rt The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: n/a
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Bug requires regression test: Yes
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Usar has been assigned a card
Test:
Go to Reports
In search bar type card:1234 where 1234 is your card`s last four digits
Verify that the card shows up in the autosuggestion list
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Mar 7, 2025
Triggered auto assignment to @lschurr (
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.nkdengineer commentedon Mar 7, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-03-07 08:51:29 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
The suggestion list does not appear when searching with card's last four.
What is the root cause of that problem?
We do not check with
card.lastFourPANin hereApp/src/components/Search/SearchAutocompleteList.tsx
Line 375 in c7aa2c1
What changes do you think we should make in order to solve the problem?
We should update this condition to use
lastFourPANWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
We have file test with search card data here. We should add new test at this file
What alternative solutions did you explore? (Optional)
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]Search - Suggestion list does not appear when searching with card's last four[/-][+][$250] Search - Suggestion list does not appear when searching with card's last four[/+]melvin-bot commentedon Mar 7, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021898047057933581434
melvin-bot commentedon Mar 7, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @s77rt (
External)s77rt commentedon Mar 8, 2025
@nkdengineer Thanks for the proposal. Your RCA and solution looks good to me.
🎀 👀 🎀 C+ reviewed
Link to proposal
melvin-bot commentedon Mar 8, 2025
Triggered auto assignment to @MonilBhavsar, see https://stackoverflow.com/c/expensify/questions/7972 for more details.
nkdengineer commentedon Mar 12, 2025
friendly bump @MonilBhavsar
9 remaining items
[-][$250] Search - Suggestion list does not appear when searching with card's last four[/-][+][Due for payment 2025-04-10] [$250] Search - Suggestion list does not appear when searching with card's last four[/+]melvin-bot commentedon Apr 3, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Apr 3, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.22-10 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 2025-04-10. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Apr 3, 2025
@s77rt @lschurr @s77rt The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]
s77rt commentedon Apr 7, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: Provide autocomplete suggestions in SearchRouterList #51237 (comment)
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: n/a
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Bug requires regression test: Yes
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue:
Regression Test Proposal
Precondition:
Test:
card:1234where 1234 is your card`s last four digitsDo we agree 👍 or 👎
lschurr commentedon Apr 10, 2025
Payment summary:
JmillsExpensify commentedon Apr 14, 2025
$250 approved for @s77rt