-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] Fix/52558 fix card name and images #52735
Changes from 14 commits
ab54754
15e2819
5d3097a
483e63d
205e64c
6c7ff9a
02f7a72
1cfa86f
2b2b512
2b53f55
0c869f1
45b416c
bd21576
3512757
d3f5ddd
cc42bbb
c959f0d
fd6c86c
897dad7
b107f40
100cf3e
69ab559
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,7 +61,7 @@ function WorkspaceCompanyCardsList({cardsList, policyID}: WorkspaceCompanyCardsL | |
<WorkspaceCompanyCardsListRow | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Expensify/design @mountiny When there is no display name present, we default the card name to users email, on small screen the card number is kicked out of the view: What should we do in such case ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we should truncate for such a long names, not much else to do here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just waiting for this discussion There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good catch! |
||
cardholder={personalDetails?.[item.accountID ?? '-1']} | ||
cardNumber={CardUtils.maskCardNumber(cardName, item.bank)} | ||
name={customCardNames?.[item.cardID] ?? ''} | ||
name={customCardNames?.[item.cardID] ?? CardUtils.getDefaultCardName(personalDetails?.[item.accountID ?? '-1']?.firstName)} | ||
/> | ||
</PressableWithFeedback> | ||
</OfflineWithFeedback> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noting that we internally agreed to keep the
c
as small