App icon indicating copy to clipboard operation
App copied to clipboard

[$250] Wallet : Incorrect padding on "we're reviewing..." label

Open m-natarajan opened this issue 1 year ago β€’ 15 comments

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
  • [x] 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-07-11
Issue OwnerCurrent Issue Owner: @eVoloshchak

m-natarajan avatar Jul 03 '24 14:07 m-natarajan

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.

melvin-bot[bot] avatar Jul 03 '24 14:07 melvin-bot[bot]

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

MelvinBot avatar Jul 03 '24 14:07 MelvinBot

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.

https://github.com/Expensify/App/blob/cd72f1b13d4a5d32227ab03ebd7df07a594e482d/src/pages/settings/Wallet/WalletPage/WalletPage.tsx#L440-L464

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 avatar Jul 03 '24 14:07 ShridharGoel

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

ShridharGoel avatar Jul 03 '24 20:07 ShridharGoel

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.

shawnborton avatar Jul 03 '24 20:07 shawnborton

@muttmuure Can you have a look?

ShridharGoel avatar Jul 05 '24 13:07 ShridharGoel

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

muttmuure avatar Jul 08 '24 16:07 muttmuure

So can someone else be assigned as BZ ?

ShridharGoel avatar Jul 08 '24 17:07 ShridharGoel

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.

melvin-bot[bot] avatar Jul 08 '24 17:07 melvin-bot[bot]

I'm also running into issues trying to reproduce this one.

After clicking "Enable Wallet," I can't add a bank account in the right-hand pane.

No Add Bank Account

I can go back and click the "Add bank account" button at the bottom of the main wallet settings page. I clicked "Add Bank Account" on the main page, chose "Add debit card", filled out all the information, and clicked "Save", but I got the error Auth CreateFund returned an error (logs).

sakluger avatar Jul 11 '24 16:07 sakluger

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 avatar Jul 11 '24 16:07 sakluger

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

melvin-bot[bot] avatar Jul 11 '24 16:07 melvin-bot[bot]

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

melvin-bot[bot] avatar Jul 11 '24 16:07 melvin-bot[bot]

Hi there, I would love to contribute to Expensify over this "Wallet : Incorrect padding on "we're reviewing..." label".

I just need the xd or adobe file in which the exact stylings are available. I would be inspecting the current padding issue and then I will update as per the requirements.

Furthermore, I will be testing it over different screen sizes, mobile phones and on iPads as well so that I won't be breaking anything else.

I can easily handle the task, and the resulting code will be the fix.

Contributor details Your Expensify account email: [email protected] Upwork Profile Link: https://www.upwork.com/freelancers/~019e1bc51e2c707da7?viewMode=1

hamzashakeel348 avatar Jul 11 '24 19:07 hamzashakeel348

πŸ“£ @hamzashakeel348! πŸ“£ 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>

melvin-bot[bot] avatar Jul 11 '24 19:07 melvin-bot[bot]

The fix is pretty straightforward, @ShridharGoel's proposal looks good to me! It resolves this for both cases (review pending and review failed)

πŸŽ€πŸ‘€πŸŽ€ C+ reviewed!

eVoloshchak avatar Jul 15 '24 17:07 eVoloshchak

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

melvin-bot[bot] avatar Jul 15 '24 17:07 melvin-bot[bot]

πŸ“£ @ShridharGoel πŸŽ‰ 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 πŸ“–

melvin-bot[bot] avatar Jul 15 '24 23:07 melvin-bot[bot]

Upwork job price has been updated to $150

melvin-bot[bot] avatar Jul 15 '24 23:07 melvin-bot[bot]

Decreasing price as this is a minor css update.

blimpich avatar Jul 15 '24 23:07 blimpich

@sakluger @eVoloshchak @blimpich @ShridharGoel this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

melvin-bot[bot] avatar Jul 17 '24 18:07 melvin-bot[bot]

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

melvin-bot[bot] avatar Jul 25 '24 03:07 melvin-bot[bot]

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

  • https://github.com/Expensify/App/pull/45631

If no regressions arise, payment will be issued on 2024-08-01. :confetti_ball:

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

  • @eVoloshchak requires payment through NewDot Manual Requests
  • @ShridharGoel requires payment automatic offer (Contributor)

melvin-bot[bot] avatar Jul 25 '24 03:07 melvin-bot[bot]

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[bot] avatar Jul 25 '24 03:07 melvin-bot[bot]

Not overdue, payment is due tomorrow.

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

sakluger avatar Jul 31 '24 18:07 sakluger

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 avatar Aug 01 '24 16:08 sakluger

Upwork job price has been updated to $250

melvin-bot[bot] avatar Aug 01 '24 16:08 melvin-bot[bot]

Summarizing payment on this issue:

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

sakluger avatar Aug 01 '24 16:08 sakluger

@eVoloshchak please complete the BZ checklist so we can close this one out. Thanks πŸ™

sakluger avatar Aug 01 '24 16:08 sakluger

Bumped on Slack.

sakluger avatar Aug 05 '24 16:08 sakluger