-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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 on July 8] Add icons to the IOU payment methods #3791
Comments
Triggered auto assignment to @jboniface ( |
Triggered auto assignment to @MonilBhavsar ( |
lgtm |
I included the cash, PayPal, and Venmo icons here: PaymentIcons.zip The wallet icon already exists in the E.cash repo. |
Seems like a quick one. We need to pass the icon to menu items here https://github.com/Expensify/Expensify.cash/blob/b49e2221f74f04e664f10a0675c4d4fe7cc5de07/src/pages/iou/IOUDetailsModal.js#L260. Thus we update our Button component to add support for an optional Icon. We can pass custom ContentComponent to the Button but I think it would be best to support icon natively in the button Component. Then based on the selected payment Option we pass down the Icon as well as text to the Button. |
Triggered auto assignment to @Jag96 ( |
Please let me know if I am good to submit a PR. Thanks. |
I'm not 100% clear on this, what Button component needs to be updated? Couldn't we just create a |
I added that step as I think when we select a payment mode that option should be visible on the button with its icon. If this is not required and we can skip this step. |
Gotcha, I think that's a good clarification so let's double-check with @trjExpensify: after selecting the payment method, should the button below include the icon or just the text (The green If we do decide to add the icon to the button, that part of your proposal looks good to me @parasharrajat, so feel free to submit a PR once we clarify that last piece. |
Nah, we're not looking to add the icons to the confirmation button. 👍 |
Reopening to keep track of payment |
Paid! |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Upwork job: https://www.upwork.com/jobs/~01b50df711834398c8
Deliverables
Reproduction Steps
+
icon and selectRequest Money
next
confirm
v
on the confirmation button to access the payment method selectorPlatform:
All Platforms
Version Number:
v1.0.74-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
CC: @shawnborton can you post the assets for this?
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: