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-01] [$250] Wallet : Incorrect padding on "we're reviewing..." label #44773

Closed
1 of 6 tasks
m-natarajan opened this issue Jul 3, 2024 · 33 comments
Closed
1 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@m-natarajan
Copy link

m-natarajan commented Jul 3, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] 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
@m-natarajan m-natarajan added Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. labels Jul 3, 2024
Copy link

melvin-bot bot commented Jul 3, 2024

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.

@MelvinBot
Copy link

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

@ShridharGoel
Copy link
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];

@ShridharGoel
Copy link
Contributor

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

@shawnborton
Copy link
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.

@ShridharGoel
Copy link
Contributor

@muttmuure Can you have a look?

@melvin-bot melvin-bot bot added the Overdue label Jul 5, 2024
@muttmuure
Copy link
Contributor

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

@melvin-bot melvin-bot bot removed the Overdue label Jul 8, 2024
@ShridharGoel
Copy link
Contributor

So can someone else be assigned as BZ ?

@muttmuure muttmuure removed their assignment Jul 8, 2024
@muttmuure muttmuure added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Jul 8, 2024
Copy link

melvin-bot bot commented Jul 8, 2024

Triggered auto assignment to @sakluger (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.

@sakluger

This comment was marked as resolved.

@melvin-bot melvin-bot bot removed the Overdue label Jul 11, 2024
@sakluger
Copy link
Contributor

Shawn helped me with the above! I hadn't validated my Expensify account yet.

I was able to reproduce the padding issue. I got a different message, and the padding was still incorrect:

image

@sakluger sakluger added External Added to denote the issue can be worked on by a contributor and removed Needs Reproduction Reproducible steps needed labels Jul 11, 2024
Copy link

melvin-bot bot commented Jul 11, 2024

Job added to Upwork: https://www.upwork.com/jobs/~016598836022b81a73

@melvin-bot melvin-bot bot changed the title Wallet : Incorrect padding on "we're reviewing..." label [$250] Wallet : Incorrect padding on "we're reviewing..." label Jul 11, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 11, 2024
Copy link

melvin-bot bot commented Jul 11, 2024

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

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 Overdue labels Jul 17, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 25, 2024
@melvin-bot melvin-bot bot changed the title [$150] Wallet : Incorrect padding on "we're reviewing..." label [HOLD for payment 2024-08-01] [$150] Wallet : Incorrect padding on "we're reviewing..." label Jul 25, 2024
Copy link

melvin-bot bot commented Jul 25, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 25, 2024
Copy link

melvin-bot bot commented Jul 25, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.11-5 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-01. 🎊

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

Copy link

melvin-bot bot commented Jul 25, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@eVoloshchak] The PR that introduced the bug has been identified. Link to the PR:
  • [@eVoloshchak] 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:
  • [@eVoloshchak] 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:
  • [@eVoloshchak] Determine if we should create a regression test for this bug.
  • [@eVoloshchak] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@sakluger] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Jul 31, 2024
@sakluger
Copy link
Contributor

Not overdue, payment is due tomorrow.

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

@melvin-bot melvin-bot bot removed the Overdue label Jul 31, 2024
@sakluger
Copy link
Contributor

sakluger commented Aug 1, 2024

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.

@sakluger sakluger 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 Aug 1, 2024
Copy link

melvin-bot bot commented Aug 1, 2024

Upwork job price has been updated to $250

@sakluger
Copy link
Contributor

sakluger commented Aug 1, 2024

Summarizing payment on this issue:

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

@sakluger
Copy link
Contributor

sakluger commented Aug 1, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Aug 5, 2024
@sakluger
Copy link
Contributor

sakluger commented Aug 5, 2024

Bumped on Slack.

@eVoloshchak
Copy link
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 👎

@sakluger
Copy link
Contributor

sakluger commented Aug 5, 2024

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

@sakluger sakluger closed this as completed Aug 5, 2024
@JmillsExpensify
Copy link

$250 approved for @eVoloshchak

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 Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor
Projects
No open projects
Archived in project
Development

No branches or pull requests

10 participants