Skip to content
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

Add closed cards to card filter on reports page #56122

Open
joekaufmanexpensify opened this issue Jan 30, 2025 · 19 comments
Open

Add closed cards to card filter on reports page #56122

joekaufmanexpensify opened this issue Jan 30, 2025 · 19 comments
Assignees
Labels
NewFeature Something to build that is a new item. Weekly KSv2

Comments

@joekaufmanexpensify
Copy link
Contributor

joekaufmanexpensify commented Jan 30, 2025

Context

Company credit cards are often canceled because there was a dispute, the card expires, the employee leaves, etc.. If the card incurred any transactions beforehand, the company still needs to reconcile them.

Problem

If a credit card is closed/canceled in New Expensify (terminated for Expensify Cards, unassigned for third-party cards), there's currently no easy way to view the transactions from that card in Expensify. Admins are forced to scour the list of all credit card expenses to find them, which is an arduous, unnecessarily manual process.

Solution

Show closed cards on the card filter of the reports page. This would allow admins to filter for transactions on terminated Expensify Cards/unassigned company cards, allowing them to easily view/account for the transactions in one place. Only cards that have incurred transactions before being terminated/unassigned would appear in this section.

I'm thinking the easiest way to do this would be just to add a Closed cards section to the existing Card filter on the reports page, below the active cards. But interested to hear what @Expensify/design thinks.

Image

cc @JmillsExpensify @mountiny

Issue OwnerCurrent Issue Owner: @waterim
@joekaufmanexpensify joekaufmanexpensify added the NewFeature Something to build that is a new item. label Jan 30, 2025
Copy link

melvin-bot bot commented Jan 30, 2025

Triggered auto assignment to @alexpensify (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added the Weekly KSv2 label Jan 30, 2025
@joekaufmanexpensify
Copy link
Contributor Author

I could also maybe see changing Individual cards to Active cards. I feel like that maybe makes a bit more sense if we're adding a Closed cards section. But not super passionate.

@joekaufmanexpensify
Copy link
Contributor Author

@koko57 @waterim @narefyev91 @VickyStash any interest in this one?

@mountiny mountiny self-assigned this Jan 30, 2025
@mountiny
Copy link
Contributor

I can update the BE to return the closed state cards too but we need to make sure to not show them in the expensify cards feed page or in the Wallet as well - only in the filter (that needs to be done in fe)

@joekaufmanexpensify
Copy link
Contributor Author

Makes sense. TY!

@JmillsExpensify
Copy link

Nice, thanks for putting this together!

@joekaufmanexpensify
Copy link
Contributor Author

course!

@dubielzyk-expensify
Copy link
Contributor

Yeah that sounds like the right call. Like this?

Image

@waterim
Copy link
Contributor

waterim commented Jan 31, 2025

I can help with this one!

@dannymcclain
Copy link
Contributor

Yeah that sounds like the right call. Like this?

This is pretty much exactly what I was thinking, but I do like Joe's suggestion of updating Individual cards to Active cards if we think that makes sense. Then we'd have All, Active, and Closed, which feels pretty good to me?

And another quick question—if you selected one of the All options, would it select both active and closed cards for that feed?

@joekaufmanexpensify
Copy link
Contributor Author

I'd personally expect All to include all transactions on the card program for the selected period. Including active and closed cards.

Otherwise there'd be no way to easily view all transactions on the card program during a specific period without selecting all and then also selecting each closed card, which feels like odd UX to me.

@dannymcclain
Copy link
Contributor

Agree with that!

@shawnborton
Copy link
Contributor

Makes sense to me too 👍

@mountiny
Copy link
Contributor

mountiny commented Feb 6, 2025

@waterim we are now also returning the Closed and Suspended cards to the App

@waterim
Copy link
Contributor

waterim commented Feb 7, 2025

Hey @mountiny I missed this ticket in my backlog, looking into that today, thank you for mentioning!

@waterim
Copy link
Contributor

waterim commented Feb 7, 2025

To be clear regarding the issue:

  1. I need to rename Individual cards to Active cards
  2. I need to add new section Closed cards

we are now also returning the Closed and Suspended cards to the App

  1. Do I need also add Suspended cards? Or it should be combined with closed?
  2. Add selection also for Clsoed

And regarding this:

I can update the BE to return the closed state cards too but we need to make sure to not show them in the expensify cards feed page or in the Wallet as well - only in the filter (that needs to be done in fe)

Do I need to filter out on expensify cards feed page and wallet page closed and suspended cards? (states 6 and 7)

@mountiny @joekaufmanexpensify

@waterim
Copy link
Contributor

waterim commented Feb 11, 2025

bump @mountiny @joekaufmanexpensify

@joekaufmanexpensify
Copy link
Contributor Author

I need to rename Individual cards to Active cards
I need to add new section Closed cards

Do I need also add Suspended cards? Or it should be combined with closed?
Add selection also for Clsoed

Good Qs. Initially I was thinking Active cards and Closed cards cards made sense. But it's a good point on suspended cards. Those are not active right now, but could be in the future if the limit is raised above $0 again.

We should definitely show suspended cards to ensure any transactions on them incurred before they were suspended are visible. I think the most natural thing is to combine active and suspended cards in one section (because suspended are active cards that temporarily cannot be used) and then have closed in another section.

Active vs suspended feels like a nuance most customers won't care about, so I think it's prob fine to still go with active and closed as the two sections, but curious if others agree?

Do I need to filter out on expensify cards feed page and wallet page closed and suspended cards? (states 6 and 7)

I'd recommend we follow OldDot. There, we show suspended cards on the card feed and equivalent of the wallet page because cards being suspended is most commonly because the limit was just set to $0 (which can be changed). But we filter out closed cards.

Thoughts @mountiny @dannymcclain @shawnborton @dubielzyk-expensify

@dannymcclain
Copy link
Contributor

That all sounds good to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NewFeature Something to build that is a new item. Weekly KSv2
Projects
Status: No status
Development

No branches or pull requests

9 participants