Skip to content
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-08-19] [$250] Update the Wallets page to put bank accounts at top #46242

Closed
danielrvidal opened this issue Jul 25, 2024 · 27 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@danielrvidal
Copy link
Contributor

danielrvidal commented Jul 25, 2024

Problem: Users are trying to setup their reimbursement accounts and running into confusion. They actually are setting up the reimbursement account successfully, but then find the Wallets page where there is a big green Enable Wallet button above their Bank accounts section. On top of that, they are trying to enable their wallet and then run into confusing errors setting up their wallet, which are expected because we haven't cleaned up the wallet flow, nor error messages (background)
image

Solution: Put Bank accounts above Expensify Wallet and emphasize bank accounts more.

  1. Let's put the Bank accounts section/enablement above the Expensify wallet section
  2. Let's add an image as part of bank accounts to the Bank accounts section
  3. Update the text for each section to be:

Bank accounts

[Bank accounts image]

*Bank accounts*
Adding a bank account allows you to get paid back for expenses you submit to a workspace.

[+ Add bank account]

Wallet

*Send and receive money with friends*
Enable your wallet to send and receive money with friends. 

Balance
$X.XX

[:wallet: Enable wallet]

You'll notice a different title and we've emphasized the big green button for the wallet.

Here is a screenshot of the updated page @shawnborton mocked up. We updated the copy a bit so please use the copy above. He will get you the image we're going to use for the bank accounts section.
image

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01dbcb038228b4c6a0
  • Upwork Job ID: 1816609222716969047
  • Last Price Increase: 2024-07-25
  • Automatic offers:
    • paultsimura | Reviewer | 103283186
    • Krishna2323 | Contributor | 103283188
Issue OwnerCurrent Issue Owner: @paultsimura
@danielrvidal danielrvidal added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 25, 2024
@danielrvidal danielrvidal self-assigned this Jul 25, 2024
@danielrvidal danielrvidal added Daily KSv2 External Added to denote the issue can be worked on by a contributor and removed Daily KSv2 labels Jul 25, 2024
Copy link

melvin-bot bot commented Jul 25, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01dbcb038228b4c6a0

@melvin-bot melvin-bot bot changed the title Update the Wallets page to put bank accounts at top [$250] Update the Wallets page to put bank accounts at top Jul 25, 2024
Copy link

melvin-bot bot commented Jul 25, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @paultsimura (External)

@melvin-bot melvin-bot bot added the Daily KSv2 label Jul 25, 2024
@Krishna2323
Copy link
Contributor

Krishna2323 commented Jul 25, 2024

Proposal

Please re-state the problem that we are trying to solve in this issue.

Update the Wallets page to put bank accounts at top

What is the root cause of that problem?

New update

What changes do you think we should make in order to solve the problem?

<MenuItem
    ref={buttonRef as ForwardedRef<View>}
    onPress={() => Navigation.navigate(ROUTES.SETTINGS_ENABLE_PAYMENTS)}
    disabled={network.isOffline}
    title={translate('walletPage.enableWallet')}
    icon={Expensicons.Wallet}
    hoverAndPressStyle={styles.hoveredComponentBG}
    wrapperStyle={[
        styles.transferBalance,
        shouldUseNarrowLayout ? styles.mhn5 : styles.mhn8,
        shouldUseNarrowLayout ? styles.ph5 : styles.ph8,
    ]}
/>
<MenuItemWithTopDescription
    description={translate('common.transferBalance')}
    title={CurrencyUtils.convertToDisplayString(userWallet?.currentBalance ?? 0)}
    titleStyle={styles.walletBalance}
    interactive={false}
    wrapperStyle={styles.sectionMenuItemTopDescription}
/>

What alternative solutions did you explore? (Optional)

Result

Monosnap (187) New Expensify 2024-07-26 06-05-54

Note: Translations have been not updated in the screenshot

@Krishna2323
Copy link
Contributor

Proposal updated

  • Added more details in solution section and added a POC.

@nyomanjyotisa
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Update the Wallets page to put bank accounts at top

What is the root cause of that problem?

Update request

What changes do you think we should make in order to solve the problem?

Update the WalletPage base on the request above

I have created a branch for POC with the following changes:

  • Move Bank Account section to the top
  • Pass the illustration to Section component (need to wait for the illustration asset)
  • Update addBankAccountToSendAndReceive translation (both en & es)
  • add new translation key balance and add text with that translation above Balance Amount
  • Decrease Wallet Balance Amount font size to match the mockup (if needed)
  • Change Expensify Wallet text to Send and receive money with friends, use sendAndReceiveMoney translation key (Might need to remove the dot (.) from the translation value)
  • Change Enable Wallet button to MenuItem

RESULT
image

What alternative solutions did you explore? (Optional)

@cretadn22
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Update the Wallets page to put bank accounts at top

What is the root cause of that problem?

New update

What changes do you think we should make in order to solve the problem?

  1. Currently, we have 3 section in this page
  • Wallet Section
  • Assigned Card Section
  • Bank Account Section

We need to move the bank account section to the top (maybe need to confirm the position of assigned card section)

  1. Add illustration prop to the Section Component of Bank Account section (waiting for design)

  2. Update the Enable Wallet button to use MenuItem component

  3. Update translation

    title={translate('walletPage.expensifyWallet')}

--> Send and receive money with friends.

But there is a problem, if hasActivatedWallet is true, we will display Send and receive money with friends. for both title and subtitle (need to confirm again)

subtitle={translate('walletPage.addBankAccountToSendAndReceive')}

--> Adding a bank account allows you to get paid back for expenses you submit to a workspace.

  1. Add new translation to display "Balance" text above this line
    <CurrentWalletBalance balanceStyles={[styles.walletBalance]} />
Screenshot 2024-07-26 at 07 10 30

What alternative solutions did you explore? (Optional)

@cretadn22
Copy link
Contributor

cretadn22 commented Jul 26, 2024

@danielrvidal @shawnborton as mentioned in my proposal, we have a problem in wallet section if hasActivatedWallet is true

Screenshot 2024-07-26 at 07 13 34

The same text is displayed for both title and subtitle. Could you please provide a new design for this case

@Krishna2323
Copy link
Contributor

Proposal Updated

  • Missed the change for Balance text above amount text in my initial proposal. Now updated

@shawnborton
Copy link
Contributor

It would use the same design, we just need some updated copy for that which shouldn't be a huge deal.

@paultsimura

This comment was marked as outdated.

Copy link

melvin-bot bot commented Jul 26, 2024

Triggered auto assignment to @neil-marcellini, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@nyomanjyotisa
Copy link
Contributor

I believe my proposal is the first complete proposal 🙏

@paultsimura
Copy link
Contributor

paultsimura commented Jul 26, 2024

Hmm, I think you're right @nyomanjyotisa – thanks for pointing this out.
Apparently, Krishna updated the proposal with a few points present in your proposal but initially missing in his – I must have misread that last update.

In this case, I think it's fair to go with @nyomanjyotisa's proposal.

🎀👀🎀 C+ reviewed (again)

Copy link

melvin-bot bot commented Jul 26, 2024

Current assignee @neil-marcellini is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@Krishna2323
Copy link
Contributor

Krishna2323 commented Jul 26, 2024

@paultsimura, I only updated for adding balance text and reduce some font size. I believe my initial proposal was mostly complete for this straight forward issue. The other proposals are almost similar to my proposal, only balance text part was missing in my proposal and I believe that could be ignored looking at the simplicity of the issue.

Also my solution for showing the balance is different, can you pls check that once🙏🏻. No problem if you don't want to :)

@cretadn22
Copy link
Contributor

@paultsimura what do you think about this problem #46242 (comment)

@neil-marcellini
Copy link
Contributor

neil-marcellini commented Jul 26, 2024

I'm going to go with @Krishna2323's proposal because it was first, and his edits based on other proposals were minimal. I'm sure all of your are very capable of handling this kind of work, and the proposals don't need to be super detailed, so it seems most fair to go with the person that posted first.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 26, 2024
Copy link

melvin-bot bot commented Jul 26, 2024

📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

Copy link

melvin-bot bot commented Jul 26, 2024

📣 @Krishna2323 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@paultsimura
Copy link
Contributor

Sounds reasonable, thanks for stepping in @neil-marcellini

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jul 28, 2024
@danielrvidal
Copy link
Contributor Author

@Krishna2323 to address this problem. For the wallet section if hasActivatedWallet is true, could you make the subtext: "Your wallet has been enabled to send and receive money with friends."

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 31, 2024
@danielrvidal
Copy link
Contributor Author

It was merged to staging yesterday so it should be done soon.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 12, 2024
@melvin-bot melvin-bot bot changed the title [$250] Update the Wallets page to put bank accounts at top [HOLD for payment 2024-08-19] [$250] Update the Wallets page to put bank accounts at top Aug 12, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 12, 2024
Copy link

melvin-bot bot commented Aug 12, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Aug 12, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.18-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-08-19. 🎊

For reference, here are some details about the assignees on this issue:

@paultsimura
Copy link
Contributor

BZ checklist:
This was a feature request, therefore there are no offending PR or Regression tests to suggest.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Aug 18, 2024
Copy link

melvin-bot bot commented Aug 19, 2024

Issue is ready for payment but no BZ is assigned. @alexpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!

@alexpensify
Copy link
Contributor

alexpensify commented Aug 19, 2024

Payouts due: 2024-08-19

Upwork job is here.

I've completed the payment process via Upwork and will close this issue for now. Later this week, I'll create the regression test request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants