-
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
[HOLD for payment 2024-09-06][$125] [Search v2.1] Update card filter to include the last four digits to the options #47324
Comments
Triggered auto assignment to @lschurr ( |
Edited by proposal-police: This proposal was edited at 2024-08-14 13:53:44 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
<View style={[styles.flex1, styles.flexColumn, styles.justifyContentCenter, styles.alignItemsStretch, styles.optionRow]}>
<TextWithTooltip
shouldShowTooltip={showTooltip}
text={Str.removeSMSDomain(item.text ?? '')}
style={[
styles.optionDisplayName,
isFocused ? styles.sidebarLinkActiveText : styles.sidebarLinkText,
item.isBold !== false && styles.sidebarLinkTextBold,
styles.pre,
item.alternateText ? styles.mb1 : null,
]}
/>
{!!item.lastFourPAN && (
<TextWithTooltip
shouldShowTooltip={showTooltip}
text={`Ending in ${item.lastFourPAN}`}
style={[styles.textLabelSupporting, styles.lh16, styles.pre]}
/>
)}
</View>
DemoWhat alternative solutions did you explore? (Optional)
<View style={[styles.flex1, styles.flexColumn, styles.justifyContentCenter, styles.alignItemsStretch, styles.optionRow]}>
<View style={[styles.flexRow, styles.alignItemsCenter]}>
<TextWithTooltip
shouldShowTooltip={showTooltip}
text={Str.removeSMSDomain(item.text ?? '')}
style={[
styles.optionDisplayName,
isFocused ? styles.sidebarLinkActiveText : styles.sidebarLinkText,
item.isBold !== false && styles.sidebarLinkTextBold,
styles.pre,
item.alternateText ? styles.mb1 : null,
]}
/>
+ <Text style={[styles.textAlignCenter, styles.textSupporting, styles.textNormal]}> • Ending in {item.lastFourPAN}</Text>
</View>
</View> Demo |
Job added to Upwork: https://www.upwork.com/jobs/~012701341a68cca511 |
Current assignee @ikevin127 is eligible for the External assigner, not assigning anyone new. |
Upwork job price has been updated to $125 |
@Expensify/design do we have a mock for how we wanna show the last 4 digits of the card? |
I don't mind how it's shown in this proposal video, though since the user is likely looking for a specific card, I wonder if we should make it more prominent in the title. @Expensify/design what do you all think? Note I grabbed a list with cards from Jon's card feed Figma file, if these icons and bank/card names are wrong, please forgive me. Just trying to get a sense of the type styles. Also, will we have icons that match the cards? Or will we need something generic to sit on that left side? |
Dig that mock though I kinda feel like we should have "Ending in 1414" or something. Might be repetative, but I feel that just the numbers below the card name feels a tad odd. Maybe even "···· 3128" or something |
Big fan of reusing the same card rows from the card feed project, and I think Jon's ideas for making the card number slightly more obvious are great too. |
Yeah that makes perfect sense to me. I like
So which style from here are you saying you all prefer? The left or the right? With the addition of the |
Nice! Yeah, the first mock you just shared is what I had in mind. I could get down with either of the alts too though. I guess you could argue the first mock is more consistent with existing selection list options though? Where we always use the subheading/description text on a second line? |
Totally agree with you. I think the first option is the way to go! |
Definitely agree that the first mock is the right fit! 👏 GG |
What's the latest on this one? Is a contributor working on this or is it internal @luacmartins @ikevin127? |
📣 @ikevin127 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @daledah You have been assigned to this job! |
❓ @Expensify/design I was reviewing the PR and noticed that the author did not add translations to the cardEnding: ({cardNumber}) => `Card ending in ${cardNumber}`, Question is: Can we use
|
We want to use the new "Ending in..." and we should do that everywhere. |
Given the context above, this issue should be on [HOLD for Payment 2024-09-6] according to today’s production deploy from Deploy Checklist: New Expensify 2024-08-28. |
The PR solving this issue was deployed to prod in v9.0.26-6 |
This is not overdue. Payment is Friday |
Payment summary:
|
Bump on this @daledah |
@lschurr Hey, it's https://www.upwork.com/freelancers/~0138d999529f34d33f |
Thanks! Offer sent @daledah https://www.upwork.com/nx/wm/offer/103900230 |
@lschurr I accepted it thx |
Coming from here, we should include the last four digits of the card in the options so that we know which card we're selecting when there are multiple options with the same name
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @lschurrThe text was updated successfully, but these errors were encountered: