App icon indicating copy to clipboard operation
App copied to clipboard

[HOLD for payment 2022-10-31] [$250] Payment methods have wrong height - reported by @rushatgabhane

Open mvtglobally opened this issue 2 years ago β€’ 25 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Action Performed:

  1. Login
  2. Go to Settings -> Payments

Expected Result:

Payment methods have a height of 64px

Actual Result:

Payment methods have a height of 64.5px

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Web

Version Number: 1.1.96-0 Reproducible in staging?: Y Reproducible in production?: Y Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Notes/Photos/Videos: Any additional supporting documentation image - 2022-09-06T234836 704

Expensify/Expensify Issue URL: Issue reported by: @rushatgabhane Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1661196724356509

View all open jobs on GitHub

mvtglobally avatar Sep 07 '22 03:09 mvtglobally

Triggered auto assignment to @flaviadefaria (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

melvin-bot[bot] avatar Sep 07 '22 03:09 melvin-bot[bot]

Proposal

We need to pass styles.lh16 here

https://github.com/Expensify/App/blob/85172f72f1abbf1976e6abd3c08f5f74c04ae1b6/src/components/MenuItem.js#L55

Puneet-here avatar Sep 07 '22 08:09 Puneet-here

Adding the engineering label but doesn't seem like a priority.

flaviadefaria avatar Sep 07 '22 13:09 flaviadefaria

Triggered auto assignment to @MonilBhavsar (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

melvin-bot[bot] avatar Sep 07 '22 13:09 melvin-bot[bot]

@MonilBhavsar Eep! 4 days overdue now. Issues have feelings too...

melvin-bot[bot] avatar Sep 13 '22 06:09 melvin-bot[bot]

Not priority, coming back

MonilBhavsar avatar Sep 22 '22 08:09 MonilBhavsar

Not priority, coming back

MonilBhavsar avatar Oct 07 '22 09:10 MonilBhavsar

@MonilBhavsar, this can be fixed by only adding a style as proposed here.

Puneet-here avatar Oct 07 '22 09:10 Puneet-here

Triggered auto assignment to @flaviadefaria (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

melvin-bot[bot] avatar Oct 07 '22 10:10 melvin-bot[bot]

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

melvin-bot[bot] avatar Oct 07 '22 10:10 melvin-bot[bot]

Current assignee @MonilBhavsar is eligible for the External assigner, not assigning anyone new.

melvin-bot[bot] avatar Oct 07 '22 10:10 melvin-bot[bot]

Just noting that there's also a solution discussed in the GH's Slack thread.

flaviadefaria avatar Oct 07 '22 14:10 flaviadefaria

Just noting that I'm waiting on my Upwork access to post this.

flaviadefaria avatar Oct 07 '22 15:10 flaviadefaria

Adding styles.lh16 will be enough to make Payment methods height 64. But I am not sure what is the expected output here. Want to have some feedback from Design team before moving forward.

cc: @MonilBhavsar, @shawnborton

sobitneupane avatar Oct 09 '22 03:10 sobitneupane

I think that should do it, yeah. We will just want to be sure to test this with various platform zooms, etc.

shawnborton avatar Oct 10 '22 00:10 shawnborton

Thanks @shawnborton.

@MonilBhavsar Proposal from @Puneet-here looks good to me.

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

sobitneupane avatar Oct 10 '22 03:10 sobitneupane

Internal job post - https://www.upwork.com/ab/applicants/1579798560037728256/job-details External post - https://www.upwork.com/jobs/~0102289ba6d99dee28

flaviadefaria avatar Oct 11 '22 11:10 flaviadefaria

@MonilBhavsar I think we're just waiting on you now to move forward with the proposal.

flaviadefaria avatar Oct 11 '22 11:10 flaviadefaria

Thanks for ping! Yes, looks good to me too πŸ‘

MonilBhavsar avatar Oct 11 '22 13:10 MonilBhavsar

πŸ“£ @Puneet-here You have been assigned to this job by @MonilBhavsar! Please apply to this job in Upwork 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 Oct 11 '22 13:10 melvin-bot[bot]

@shawnborton a suggestion: How about having preferred CSS stylings/dimensions in a doc and include that in our PR Review checklist?

MonilBhavsar avatar Oct 11 '22 13:10 MonilBhavsar

Yeah, I think ideally this row component would be documented in some kind of style guide. Not sure how that works with a PR checklist but I do think that we should require a design review on all PRs - I will propose that soon!

shawnborton avatar Oct 11 '22 15:10 shawnborton

I mean If a new UI component is added, verifying its dimensions are as per our standard (Not sure, but may be a multiple of 8 always)

MonilBhavsar avatar Oct 13 '22 07:10 MonilBhavsar

I'll come back to this in the next days.

flaviadefaria avatar Oct 24 '22 21:10 flaviadefaria

The solution for this issue has been :rocket: deployed to production :rocket: in version 1.2.18-10 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/11838

If no regressions arise, payment will be issued on 2022-10-31. :confetti_ball:

melvin-bot[bot] avatar Oct 24 '22 23:10 melvin-bot[bot]

@flaviadefaria I think we're good to issue payment to everyone

MonilBhavsar avatar Nov 02 '22 13:11 MonilBhavsar

@flaviadefaria Waiting for payment.

sobitneupane avatar Nov 05 '22 02:11 sobitneupane

Sorry for the delay here. I'll process the payment now.

flaviadefaria avatar Nov 07 '22 17:11 flaviadefaria

@sobitneupane @Puneet-here you haven't applied so I invited you two to the job please accept and comment here when you have done so. Thanks!

flaviadefaria avatar Nov 07 '22 17:11 flaviadefaria

@flaviadefaria Accepted.

sobitneupane avatar Nov 08 '22 00:11 sobitneupane