Skip to content

[WAITING ON CHECKLIST] Update the workspace connected bank account page for clarity and consistency #47578

Closed

Description

@anmurali

Users are confused when they go to add a bank account to their workspace and cannot select their linked personal bank accounts. So let's add some explainer text that educates them on the need for a Business Bank Account. While we're at it, let's also update the page to our newest pattern for consistency.

Today
image

Update to
image

Final copy for the note:

Note: Personal bank accounts can't be used for payments on workspaces.

cc @shawnborton @maddylewis @jamesdeanexpensify

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a8923a1af5c75af2
  • Upwork Job ID: 1824502151817768637
  • Last Price Increase: 2024-08-23
  • Automatic offers:
    • BhuvaneshPatil | Contributor | 103689249

Activity

  1. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Aug 16, 2024
  2. melvin-bot commented on Aug 16, 2024

    @melvin-bot
  3. changed the title [-]Update the workspace connected bank account page for clarity and consistency[/-] [+][$250] Update the workspace connected bank account page for clarity and consistency[/+] on Aug 16, 2024
  4. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Aug 16, 2024
  5. melvin-bot commented on Aug 16, 2024

    @melvin-bot

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

  6. cretadn22 commented on Aug 16, 2024

    @cretadn22
    Contributor

    Proposal

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

    Update the workspace connected bank account page for clarity and consistency (New design)

    What is the root cause of that problem?

    New design

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

    We need to update this Section Component


    to

    <Section
           title={translate('workspace.bankAccount.streamlinePayments')}
           subtitle={translate('bankAccount.toGetStarted')}
           subtitleMuted
           illustration={LottieAnimations.Safe}.  // Need to use the new design 
           titleStyles={styles.titleStyle}  // Need to define
           childrenStyles={styles.childrenStyles}  // Need to define
    >
    
    

    Also need to add new note (detai in the PR)

    What alternative solutions did you explore? (Optional)

  7. Nodebrute commented on Aug 16, 2024

    @Nodebrute
    Contributor

    Edited by proposal-police: This proposal was edited at 2024-08-17T14:15:00Z.

    Proposal

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

    Add a note

    What is the root cause of that problem?

    Feature request

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

    We can add following styles here. We should conditionally render these styles and display this note only when the user has added a personal bank account. We can use this key to check if plaidAccountID is stored in Onyx.

     key: ONYXKEYS.PERSONAL_BANK_ACCOUNT
    
         <View style={[styles.flexRow, styles.mb4, styles.alignItemsCenter, styles.pb1, styles.pt1]}>
                            <Icon
                                src={Expensicons.Lightbulb}
                                fill={theme.icon}
                                additionalStyles={styles.mr2}
                                small
                            />
                            <Text
                                style={[styles.textLabelSupportingNormal]}
                                suppressHighlighting
                            >
                                {translate('note')} // we can add note here
                            </Text>
                        </View>
    

    We should also add the note in en.ts and es.ts file

    Further styles can be modified according to the design in the PR.

    We can update this section here. Additionally, I think we should add the illustrationBackgroundColor to align with the design.

     <Section
                            illustration={LottieAnimations.FastMoney} //Animation of our choice
                            title={translate('workspace.bankAccount.streamlinePayments')}
                            subtitle={translate('bankAccount.toGetStarted')}
                            subtitleMuted
                        >
    

    Note

    As noted by a fellow contributor regarding the use of isCentralPane, I believe we should avoid using it. This prop is specifically for when the section is located in the central pane of the layout.

    The main issue here is that we’re only checking isCentralPane, but we should also be checking for illustration. We need to update the check to (isCentralPane || !!illustration).

    <View style={[styles.w100, isCentralPane && (shouldUseNarrowLayout ? styles.p5 : contentPaddingOnLargeScreens ?? styles.p8)]}>

    Additionally, I noticed that the design uses the same styles for 'Connect Manually' and 'Connect with Plaid'. Therefore, we should also update the styles for 'Connect with Plaid' to match.
    Screenshot 2024-08-17 at 2 15 00 PM

    All the font sizes and other styles can be further adjusted in the pull request.

    What alternative solutions did you explore? (Optional)

  8. BhuvaneshPatil commented on Aug 16, 2024

    @BhuvaneshPatil
    Contributor

    Proposal

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

    Update the workspace connected bank account page for clarity and consistency [Design Update]

    What is the root cause of that problem?

    New Feature

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

    1. We should use Section component's prop to apply new design.
      <Section
      icon={Illustrations.MoneyWings}
      title={translate('workspace.bankAccount.streamlinePayments')}
      >
    <Section
      title={translate("workspace.bankAccount.streamlinePayments")}
      illustration={LottieAnimations.Coin}
      isCentralPane
      subtitle={translate("bankAccount.toGetStarted")}
      subtitleMuted
    ></Section>;
    1. By passing illustration instead of icon, we can achieve given design. With this prop, we need to add extra prop isCentralPane (which is missing in both proposals), and if it's passed the content doesn't have padding. With these props we need to pass subtitle prop as well, with subtitleMuted.
    2. For showing new content (one with Bulb icon in design), we will need to add following view - Inside
      component (styles can be modified according to design)
    <View
      style={[
        styles.flexRow,
        styles.mv3,
        styles.alignItemsStart,
        styles.gap2,
        styles.mln1,
      ]}
    >
      <Icon
        src={Expensicons.Lightbulb}
        height={variables.iconSizeLarge}
        width={variables.iconSizeLarge}
        fill={theme.icon}
        additionalStyles={styles.p1}
      />
      <Text style={[styles.textLabelSupporting, styles.textAlignLeft]}>
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Eligendi fugiat
        facilis nisi alias
      </Text>
    </View>;

    Result -
    Screenshot 2024-08-17 at 2 57 19 AM

    Without isCentralPane Screenshot 2024-08-17 at 2 58 26 AM

    What alternative solutions did you explore? (Optional)

  9. shawnborton commented on Aug 19, 2024

    @shawnborton
    Contributor

    Just adding a note that we do have an existing lottie animation to use in the top green area of the card, so it will match other places in our app (like in Settings) where the header area is animated.

  10. Ollyws commented on Aug 19, 2024

    @Ollyws
    Contributor

    Looking at the timestamps of the proposal edits it seems that @BhuvaneshPatil had the first fully fleshed-out proposal so lets go with them.
    🎀👀🎀 C+ reviewed

  11. 71 remaining items

  12. melvin-bot commented on Nov 6, 2024

    @melvin-bot

    📣 @Bhuvanesh-Fictiv! 📣
    Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork.
    Please follow these steps:

    1. Make sure you've read and understood the contributing guidelines.
    2. Get the email address used to login to your Expensify account. If you don't already have an Expensify account, create one here. If you have multiple accounts (e.g. one for testing), please use your main account email.
    3. Get the link to your Upwork profile. It's necessary because we only pay via Upwork. You can access it by logging in, and then clicking on your name. It'll look like this. If you don't already have an account, sign up for one here.
    4. Copy the format below and paste it in a comment on this issue. Replace the placeholder text with your actual details.
      Screen Shot 2022-11-16 at 4 42 54 PM
      Format:
    Contributor details
    Your Expensify account email: <REPLACE EMAIL HERE>
    Upwork Profile Link: <REPLACE LINK HERE>
    
  13. BhuvaneshPatil commented on Nov 6, 2024

    @BhuvaneshPatil
    Contributor

    @francoisl contributor will be eligible for payment here, right?

  14. francoisl commented on Nov 6, 2024

    @francoisl
    Contributor

    just to check here? We are including the second payment for @Ollyws in this issue? If so, I can amend the summary to $500?

    Yes, that sounds right to me.

    @francoisl contributor will be eligible for payment here, right?

    Yes

  15. jliexpensify commented on Nov 6, 2024

    @jliexpensify
    Contributor

    Thanks @francoisl for confirming!

    @Ollyws - I've amended the original Summary for you.

    @BhuvaneshPatil - I need to create a new Upworks job for the new $250 amount.

  16. jliexpensify commented on Nov 6, 2024

    @jliexpensify
    Contributor

    @Ollyws - also, does a checklist need to be completed?

  17. jliexpensify commented on Nov 6, 2024

    @jliexpensify
    Contributor

    @BhuvaneshPatil - invited you here

  18. BhuvaneshPatil commented on Nov 6, 2024

    @BhuvaneshPatil
    Contributor

    Accepted offer

  19. Ollyws commented on Nov 6, 2024

    @Ollyws
    Contributor

    Requested in ND.

  20. jliexpensify commented on Nov 7, 2024

    @jliexpensify
    Contributor

    Paid and job closed.

    @Ollyws still waiting on checklist.

  21. changed the title [-][Due payment][$250] Update the workspace connected bank account page for clarity and consistency[/-] [+][WAITING ON CHECKLIST] Update the workspace connected bank account page for clarity and consistency[/+] on Nov 7, 2024
  22. Ollyws commented on Nov 7, 2024

    @Ollyws
    Contributor

    BugZero Checklist:

    • The PR that introduced the bug has been identified. Link to the PR:

    This was a design improvement so no PR is responsible.

    • The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:

    N/A

    • A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:

    N/A

    • Determine if we should create a regression test for this bug.

    As it's just a design improvement I don't think a regression test is necessary.

  23. jliexpensify commented on Nov 7, 2024

    @jliexpensify
    Contributor

    Great, thanks!

  24. Ollyws commented on Nov 13, 2024

    @Ollyws
    Contributor

    ND Request failed, so submitted again.

  25. garrettmknight commented on Nov 13, 2024

    @garrettmknight
    Contributor

    $500 approved for @Ollyws

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in review

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions