Skip to content

[Due for payment 2025-06-02] [$250] Company card - Search field is present when there are less than 16 assigned cards #62166

Closed

Description

@mitarachim

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.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

Action Performed:

  1. Go to staging.new.expensify.com
  2. Log in to applausetester+ccardfeed@applause.expensifail.com
  3. Go to workspace settings > Company card.
  4. Change to Visa cards feed.
  5. Click Assign card.
  6. Assign a card to any user.

Expected Result:

There will be no search field when there are less than 16 assigned cards.

Actual Result:

Search field is present when there are less than 16 assigned cards.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6832635_1747356371798.20250516_084027.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021923254801033858494
  • Upwork Job ID: 1923254801033858494
  • Last Price Increase: 2025-05-16
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @jliexpensify

Activity

  1. added
    Daily
    Bug
    on May 16, 2025
  2. melvin-bot commented on May 16, 2025

    @melvin-bot

    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.

  3. nkdengineer commented on May 16, 2025

    @nkdengineer
    Contributor

    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 WorkspaceCompanyCardsList we show the search input if there's at least 1 card

    What changes do you think we should make in order to solve the problem?

    Change this condition to allCards.length > 15. Can use CONST.SEARCH_ITEM_LIMIT

    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.

  4. jliexpensify commented on May 16, 2025

    @jliexpensify
    Contributor

    @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.

  5. dubielzyk-expensify commented on May 16, 2025

    @dubielzyk-expensify
    Contributor

    Yep, bug. Should only appear when the list has 15 or more items 👍

  6. jliexpensify commented on May 16, 2025

    @jliexpensify
    Contributor

    Thanks Jon!

  7. added
    External
    on May 16, 2025
  8. 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
  9. melvin-bot commented on May 16, 2025

    @melvin-bot
  10. added
    Help Wanted
    on May 16, 2025
  11. melvin-bot commented on May 16, 2025

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @allgandalf (External)

  12. allgandalf commented on May 16, 2025

    @allgandalf
    Contributor

    Proposal from @nkdengineer LGTM!

    🎀👀🎀 C+ reviewed

  13. 12 remaining items

  14. allgandalf commented on May 18, 2025

    @allgandalf
    Contributor

    Accepted, thanks!

  15. added
    Reviewing
    Weekly
    and removed
    Daily
    on May 19, 2025
  16. nkdengineer commented on May 19, 2025

    @nkdengineer
    Contributor

    Thanks @jliexpensify @blimpich !

    I accepted too.

  17. jliexpensify commented on May 20, 2025

    @jliexpensify
    Contributor

    Paid $125 to you both and closed the job.

    @blimpich - feel free to close this GH out when you're ready!

  18. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on May 26, 2025
  19. 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
  20. removed
    Reviewing
    on May 26, 2025
  21. melvin-bot commented on May 26, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  22. melvin-bot commented on May 26, 2025

    @melvin-bot

    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:

    • @allgandalf requires payment (Needs manual offer from BZ)
  23. melvin-bot commented on May 26, 2025

    @melvin-bot

    @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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugExternalHelp WantedWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions