Skip to content

[HOLD for payment 2024-08-01] [$250] Wallet : Incorrect padding on "we're reviewing..." label  #44773

Closed

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number:
Reproducible in staging?: needs reproduction
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @shawnborton
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1719470547378329

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to settings > Wallet
  3. Enable Wallet
  4. Notice the message "we're reviewing your information, please check back in a few minutes!"

Expected Result:

There should be no padding issue or too much indent

Actual Result:

Message has too much indentation and we should remove the horizontal padding

Workaround:

unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

CleanShot 2024-06-27 at 08 41 15@2x

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016598836022b81a73
  • Upwork Job ID: 1811437561354747333
  • Last Price Increase: 2024-08-01
  • Automatic offers:
    • ShridharGoel | Contributor | 103132371
Issue OwnerCurrent Issue Owner: @sakluger

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Jul 3, 2024
  2. melvin-bot commented on Jul 3, 2024

    @melvin-bot

    Triggered auto assignment to @muttmuure (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. MelvinBot commented on Jul 3, 2024

    @MelvinBot
    Contributor

    This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

  4. ShridharGoel commented on Jul 3, 2024

    @ShridharGoel
    Contributor

    Proposal

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

    Wallet : Incorrect padding on "we're reviewing..." label

    What is the root cause of that problem?

    alertViewStyle has ph5 style, and it is being used below which adds the extra horizontal padding.

    if (isPendingOnfidoResult) {
    return (
    <View style={alertViewStyle}>
    <Icon
    src={Expensicons.Hourglass}
    fill={theme.icon}
    />
    <Text style={alertTextStyle}>{translate('walletPage.walletActivationPending')}</Text>
    </View>
    );
    }
    if (hasFailedOnfido) {
    return (
    <View style={alertViewStyle}>
    <Icon
    src={Expensicons.Exclamation}
    fill={theme.icon}
    />
    <Text style={alertTextStyle}>{translate('walletPage.walletActivationFailed')}</Text>
    </View>
    );
    }

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

    ph5 is not needed here, we can remove it:

    const alertViewStyle = [styles.flexRow, styles.alignItemsCenter, styles.w100, styles.ph5];
    
  5. ShridharGoel commented on Jul 3, 2024

    @ShridharGoel
    Contributor

    @shawnborton Is it happening always, any idea why it's marked as "Needs reproduction"?

  6. shawnborton commented on Jul 3, 2024

    @shawnborton
    Contributor

    I think because you need to go through a US wallet enablement flow to trigger it. But as long as we can force the condition on the front end to test, I think we'll be okay.

  7. ShridharGoel commented on Jul 5, 2024

    @ShridharGoel
    Contributor

    @muttmuure Can you have a look?

  8. muttmuure commented on Jul 8, 2024

    @muttmuure
    Contributor

    Hm, I don't think I can do this easily. I'm not a US resident so I can't queue this up

  9. ShridharGoel commented on Jul 8, 2024

    @ShridharGoel
    Contributor

    So can someone else be assigned as BZ ?

  10. removed their assignment
    on Jul 8, 2024
  11. 43 remaining items

  12. sakluger commented on Jul 31, 2024

    @sakluger
    Contributor

    Not overdue, payment is due tomorrow.

    @eVoloshchak can you please handle the BZ checklist? Thanks!

  13. sakluger commented on Aug 1, 2024

    @sakluger
    Contributor

    While I agree that this change wouldn't normally pay $250, I'm actually going to switch the price back to $250 on this one since the Upwork offer was sent before changing the price.

  14. changed the title [-][HOLD for payment 2024-08-01] [$150] Wallet : Incorrect padding on "we're reviewing..." label [/-] [+][HOLD for payment 2024-08-01] [$250] Wallet : Incorrect padding on "we're reviewing..." label [/+] on Aug 1, 2024
  15. melvin-bot commented on Aug 1, 2024

    @melvin-bot

    Upwork job price has been updated to $250

  16. sakluger commented on Aug 1, 2024

    @sakluger
    Contributor

    Summarizing payment on this issue:

    Contributor: @ShridharGoel $250, paid via Upwork
    Contributor+: @eVoloshchak $250, please request on Newdot

  17. sakluger commented on Aug 1, 2024

    @sakluger
    Contributor

    @eVoloshchak please complete the BZ checklist so we can close this one out. Thanks 🙏

  18. sakluger commented on Aug 5, 2024

    @sakluger
    Contributor

    Bumped on Slack.

  19. eVoloshchak commented on Aug 5, 2024

    @eVoloshchak
    Contributor

    Regression Test Proposal

    1. Go to Expensify app.
    2. Go to settings > Wallet.
    3. Enable Wallet -> Go through the process of adding a bank account
    4. Notice the message "We're reviewing your information, please check back in a few minutes!".
    5. Verify there is no extra padding, text is aligned with the balance above

    Do we agree 👍 or 👎

  20. sakluger commented on Aug 5, 2024

    @sakluger
    Contributor

    Thanks! I created the issue to add new regression test steps.

  21. JmillsExpensify commented on Aug 6, 2024

    @JmillsExpensify
    Contributor

    $250 approved for @eVoloshchak

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions