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-06-02] [$250] Company card - Search field is present when there are less than 16 assigned cards #62166
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2
Version Number: 9.1.46-0 Reproducible in staging?: Yes Reproducible in production?: Yes 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+ccardfeed@applause.expensifail.com Issue reported by: Applause Internal Team Device used: Mac 15.3 / Chrome App Component: Workspace Settings
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
NA
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.
@Expensify/design just want to confirm this is a bug? It does seem like overkill to have a search bar for a single card but maybe that is by choice? I can't find any threads discussing this though.
changed the title [-]Company card - Search field is present when there are less than 16 assigned cards[/-][+][$250] Company card - Search field is present when there are less than 16 assigned cards[/+]on May 16, 2025
changed the title [-][$250] Company card - Search field is present when there are less than 16 assigned cards[/-][+][Due for payment 2025-06-02] [$250] Company card - Search field is present when there are less than 16 assigned cards[/+]on May 26, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.51-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@allgandalf@jliexpensify@allgandalf 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]
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsWeeklyKSv2
Activity
melvin-bot commentedon May 16, 2025
Triggered auto assignment to @jliexpensify (
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 May 16, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
Search field is present when there are less than 16 assigned cards.
What is the root cause of that problem?
In
WorkspaceCompanyCardsListwe show the search input if there's at least 1 cardApp/src/pages/workspace/companyCards/WorkspaceCompanyCardsList.tsx
Line 127 in eecf578
What changes do you think we should make in order to solve the problem?
Change this condition to
allCards.length > 15. Can useCONST.SEARCH_ITEM_LIMITApp/src/pages/workspace/companyCards/WorkspaceCompanyCardsList.tsx
Line 127 in eecf578
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
NA
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.
jliexpensify commentedon May 16, 2025
@Expensify/design just want to confirm this is a bug? It does seem like overkill to have a search bar for a single card but maybe that is by choice? I can't find any threads discussing this though.
dubielzyk-expensify commentedon May 16, 2025
Yep, bug. Should only appear when the list has 15 or more items 👍
jliexpensify commentedon May 16, 2025
Thanks Jon!
[-]Company card - Search field is present when there are less than 16 assigned cards[/-][+][$250] Company card - Search field is present when there are less than 16 assigned cards[/+]melvin-bot commentedon May 16, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021923254801033858494
melvin-bot commentedon May 16, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf (
External)allgandalf commentedon May 16, 2025
Proposal from @nkdengineer LGTM!
🎀👀🎀 C+ reviewed
12 remaining items
allgandalf commentedon May 18, 2025
Accepted, thanks!
nkdengineer commentedon May 19, 2025
Thanks @jliexpensify @blimpich !
I accepted too.
jliexpensify commentedon May 20, 2025
Paid $125 to you both and closed the job.
@blimpich - feel free to close this GH out when you're ready!
[-][$250] Company card - Search field is present when there are less than 16 assigned cards[/-][+][Due for payment 2025-06-02] [$250] Company card - Search field is present when there are less than 16 assigned cards[/+]melvin-bot commentedon May 26, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon May 26, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.51-6 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-06-02. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon May 26, 2025
@allgandalf @jliexpensify @allgandalf 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]