-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Bank Icons add for payment methods #4653
Bank Icons add for payment methods #4653
Conversation
@stitesExpensify I see lint error will fix those asap, please ignore it for time being, thanks! |
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.
Looking good! What is the problem you mentioned with Fidelity and Citizens bank here? Can you give me an example?
@stitesExpensify Minified Mapping results for fidelity & Citizen's Bank have a look at it.
|
|
Same bank
I think it's all the same. Let's just assume that anything with "citizens bank" in it is citizens, and anything with "Fidelity" in it is fidelity. I don't think the false positives really matter if the bank is so obscure that it has one of those things in it |
@stitesExpensify I don't have a real account with bank account linked. I used some dummy data for to have a peek. Here is my some screenshots, is it okay do you think we need some additional styling? let me know. AndroidwebThanks! |
@stitesExpensify Just a reminder, I had done the requested changes. Let me know If there are any issues thanks! |
@stitesExpensify Any update on this? |
My apologies, still no update. I am completely swamped with internal priorities. I will get to it as soon as I can |
Thanks for notifying me! |
src/components/Icon/BankIcons.js
Outdated
/** | ||
* Returns matching asset icon for bankName | ||
* @param {String} bankName | ||
* @returns |
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.
Need a return type
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.
@stitesExpensify What's the return type here can you help me here.
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.
I believe it should just be Object
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.
Updated as Object
src/components/Icon/BankIcons.js
Outdated
|
||
export default function getBankIcon(bankName) { | ||
if (!bankName) { | ||
return DefaultBank; |
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.
So can we not get the default credit card icon anymore? We still want that for cards that don't match anything
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.
We can do it since we are trying to get Icon for Bank Name by default it should be a Bank Logo.
I'll make the changes if needed, let me know about the default card icon size whether new size or the old size. Also confirm for default bank size also.
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.
Default bank size looks good to me, I think card can be the same.
We definitely want a card icon when there are no matches.
I think adding a param to getBankIcon
for isCard
and returning the default card icon would be a good solution for this
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.
Updated
I don't think we need more styling, it looks good to me. What about you @shawnborton |
Yup, I think it's good to go. |
One more request please, can you add one more condition to
expensifyCard is in Sorry that was not in the original request. Thanks! |
dda2f18
to
00f7e9c
Compare
The first three icons here look way too large.
…On Thu, Sep 2, 2021 at 7:50 AM Santhoshkumar Sellavel < ***@***.***> wrote:
@stitesExpensify <https://github.com/stitesExpensify>
I think we are good with this, then.
[image: Screenshot 2021-09-02 at 11 18 51 AM]
<https://user-images.githubusercontent.com/85645967/131789067-859006eb-2d43-41cd-8be7-0a9f4e56b49d.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4653 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARWH5XGKWRRBDQ4N4HDOLDT74GBHANCNFSM5CEFPQDQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@shawnborton |
@shawnborton |
That looks good to me, thanks!
…On Thu, Sep 2, 2021 at 11:29 AM Santhoshkumar Sellavel < ***@***.***> wrote:
@shawnborton <https://github.com/shawnborton>
How about this
[image: Screenshot 2021-09-02 at 2 57 57 PM]
<https://user-images.githubusercontent.com/85645967/131819643-6df9a4cc-4ffb-4b67-a42f-d7c44cb009b8.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4653 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARWH5XJMVVVUQY2J6E7UXDT747WPANCNFSM5CEFPQDQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
@shawnborton Thanks! |
@shawnborton This was the image mentioned by @stitesExpensify
Sure please initiate @shawnborton |
Yes yes, I am saying the image is absolutely correct but now that I see the
bank logos, perhaps we will want to update our own logo. Let’s solve that
as a separate PR & discussion though, so feel free to keep marching forward
in the meantime.
…On Thu, Sep 2, 2021 at 11:57 AM Santhoshkumar Sellavel < ***@***.***> wrote:
expensifyCard is in assetes/images/expensifycard.svg
@shawnborton <https://github.com/shawnborton> This was the image
mentioned by @stitesExpensify <https://github.com/stitesExpensify>
We can discussion in Slack?
Sure please initiate @shawnborton <https://github.com/shawnborton>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4653 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARWH5VFM7W4E6SXZUMDHTLT75DCBANCNFSM5CEFPQDQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
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.
Looks great! Thanks for all of your work on this. One small change then you can take it off WIP and fill out the screenshots/tests.
Once that's done I'll approve and merge!
@stitesExpensify Ready for the review! |
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.
Looks great!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by @stitesExpensify in version: 1.0.93-2 🚀
|
This has been deployed to production and is now subject to a 7-day regression period. |
🚀 Deployed to production by @yuwenmemon in version: 1.0.94-1 🚀
|
Details
Added bank icons for cards & bank account payment options
Fixed Issues
$ #4398
Tests & QA Steps
Note: Refer to screenshot & ensure default icons & Expensify are in small size & bank logos slightly bigger as shown.
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android