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-03-10] [HOLD][$250] AmEx icon is smaller than other card icons in the Filters #56567
Version Number: Reproducible in staging?: Needs Reproduction Reproducible in production?: Needs Reproduction If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by:@shawnborton Slack conversation (hyperlinked to channel name): Expensify Bugs
Action Performed:
Prerequisite: Amex cards added as company cards
Navigate to Report Search
Click on filter and choose Card view
Expected Result:
All the cards displayed to select without any issues
Actual Result:
AmEx icon is smaller than other card icons in the Filters
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]AmEx icon is smaller than other card icons in the Filters[/-][+][$250] AmEx icon is smaller than other card icons in the Filters[/+]on Feb 8, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.7-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@sobitneupane / @ikevin127@NicMendonca@sobitneupane / @ikevin127 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.
[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
Context from Slack comment on real data the bug report author had in order to reproduce the edge cases:
cards_2267989_ccupload17 (and similar numbers) @joekaufman we will support the csv upload in future but should we add some special icon for it?
cards_2267989_capitalonecards - not sure how this was added but its from oldDot I think
cards_2267989_citibusiness
cards_2267989_csvstripe
cards_2267989_discover.com - we support that in OldDot
cards_2267989_vcfhsbc (and other vcf something without number)
Overall just seems like there is bunch of testing feeds and feeds from OldDot with a bit different naming convention.
Prerequisite: Ensure your account has cards added from different sources like OD / imports including CSV imported.
On NewDot navigate to Reports -> open Search Filters > Card.
Verify that for CSV imported cards (feeds including _ccupload in their name), the label reads:
🇺🇸 All CSV Imported Cards
🇪🇸 Todas las Tarjetas Importadas desde CSV
Verify that for all other card feeds not matching any predefined types, the label reads All like before.
Verify that the 2 edge case illustrations are matching the themed design (light / dark theme), see below:
for CSV imported cards (feeds including _ccupload in their name) we display the themed CSV icon card illustration
for all other card feeds not matching any predefined types, we display the themed generic bank icon card illustration
Hmm, not really. We don't really support card feeds that aren't direct/commercial feeds yet in NewDot. I'm not sure we need a test like this now until we start supporting cross-compatible company cards or CSV cards in NewDot. But if we want to add it now for anyone who wanders between OldDot and NewDot with CSV cards, that's fine too.
Activity
melvin-bot commentedon Feb 8, 2025
Triggered auto assignment to @NicMendonca (
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.[-]AmEx icon is smaller than other card icons in the Filters[/-][+][$250] AmEx icon is smaller than other card icons in the Filters[/+]melvin-bot commentedon Feb 8, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021888023998366911450
melvin-bot commentedon Feb 8, 2025
Triggered auto assignment to @shawnborton (
Design), see these Stack Overflow questions for more details.melvin-bot commentedon Feb 8, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane (
External)shawnborton commentedon Feb 8, 2025
I believe we already have the correct icon in the repo we should be using:
Shahidullah-Muffakir commentedon Feb 8, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
amex icon is smaller than other card icons in the Filters
What is the root cause of that problem?
App/src/libs/CardUtils.ts
Lines 262 to 274 in b0b7709
App/src/libs/CardUtils.ts
Line 292 in b0b7709
What changes do you think we should make in order to solve the problem?
we can return amex large card image here:
App/src/libs/CardUtils.ts
Line 292 in b0b7709
as:
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
NA
What alternative solutions did you explore? (Optional)
58 remaining items
melvin-bot commentedon Mar 3, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.7-2 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-03-10. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Mar 3, 2025
@sobitneupane / @ikevin127 @NicMendonca @sobitneupane / @ikevin127 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]
ikevin127 commentedon Mar 9, 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: https://github.com/Expensify/App/pull/50972/files#r1986387232.
[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.
[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
Context from Slack comment on real data the bug report author had in order to reproduce the edge cases:
Prerequisite: Ensure your account has cards added from different sources like OD / imports including CSV imported.
_ccuploadin their name), the label reads:All CSV Imported CardsTodas las Tarjetas Importadas desde CSVAlllike before._ccuploadin their name) we display the themed CSV icon card illustrationDark theme example:
Design coming from #56567 (comment) (source):
.
Do we agree 👍 or 👎.
mountiny commentedon Mar 9, 2025
@joekaufmanexpensify what do you think of the test here? Do we have some already in place that would cover this partially at least?
joekaufmanexpensify commentedon Mar 10, 2025
Hmm, not really. We don't really support card feeds that aren't direct/commercial feeds yet in NewDot. I'm not sure we need a test like this now until we start supporting cross-compatible company cards or CSV cards in NewDot. But if we want to add it now for anyone who wanders between OldDot and NewDot with CSV cards, that's fine too.
ikevin127 commentedon Mar 10, 2025
cc @NicMendonca for payments
NicMendonca commentedon Mar 10, 2025
Payment summary
C+: @sobitneupane - $250 via New Expensify
Contributor: @ikevin127 -- $250 via UpWork (✅ paid)
NicMendonca commentedon Mar 13, 2025
I think we're all set here!
garrettmknight commentedon May 20, 2025
$250 approved for @sobitneupane