Skip to content

[HOLD for payment on July 8] Add icons to the IOU payment methods #3791

Closed

Description

@trjExpensify

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

  • Add icons to all of the IOU payment methods in the payment method selector within the IOUDetails modal

Reproduction Steps

  1. Click the + icon and select Request Money
  2. Enter an amount and click next
  3. Select an attendee and then click confirm
  4. Log-in to the account you just sent the request to
  5. Click the badge icon on the chat row in the LHN to access the IOUDetails modal
  6. Click the v on the confirmation button to access the payment method selector

Platform:

All Platforms

Version Number: v1.0.74-0
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

image

CC: @shawnborton can you post the assets for this?


View all open jobs on Upwork

Activity

  1. MelvinBot commented on Jun 29, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @jboniface (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

  2. removed
    AutoAssignerTriageAuto assign issues for triage to an available triage team member
    on Jun 29, 2021
  3. removed their assignment
    on Jun 29, 2021
  4. MelvinBot commented on Jun 29, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @MonilBhavsar (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

  5. jboniface commented on Jun 29, 2021

    @jboniface

    lgtm

  6. shawnborton commented on Jun 29, 2021

    @shawnborton
    Contributor

    I included the cash, PayPal, and Venmo icons here: PaymentIcons.zip

    The wallet icon already exists in the E.cash repo.

  7. parasharrajat commented on Jun 29, 2021

    @parasharrajat
    Member

    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.

  8. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Jun 30, 2021
  9. MelvinBot commented on Jun 30, 2021

    @MelvinBot
    Contributor

    Triggered auto assignment to @Jag96 (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  10. 3 remaining items

  11. parasharrajat commented on Jul 1, 2021

    @parasharrajat
    Member

    Please let me know if I am good to submit a PR. Thanks.

  12. Jag96 commented on Jul 1, 2021

    @Jag96
    Contributor

    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.

    I'm not 100% clear on this, what Button component needs to be updated? Couldn't we just create a paymentTypeIconOptions map like we do for paymentTypeTextOptions and set the icon value where we set the text?

  13. parasharrajat commented on Jul 1, 2021

    @parasharrajat
    Member

    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.

  14. Jag96 commented on Jul 1, 2021

    @Jag96
    Contributor

    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 Pay with Expensify button)?

    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.

  15. added and removed on Jul 1, 2021
  16. trjExpensify commented on Jul 1, 2021

    @trjExpensify
    ContributorAuthor

    Nah, we're not looking to add the icons to the confirmation button. 👍

  17. changed the title [-]Add icons to the IOU payment methods[/-] [+][HOLD for payment on July 8] Add icons to the IOU payment methods[/+] on Jul 1, 2021
  18. Jag96 commented on Jul 1, 2021

    @Jag96
    Contributor

    Reopening to keep track of payment

  19. reopened this on Jul 1, 2021
  20. Jag96 commented on Jul 9, 2021

    @Jag96
    Contributor

    Paid!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions