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 2023-03-01] Black area generated above keyboard within company information form #14716

Closed
1 task
kavimuru opened this issue Jan 31, 2023 · 54 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Jan 31, 2023

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. Open any workspace > Reimburse expenses > Connect bank account > Connect Manually >
  2. Enter Routing Number: 123123123
  3. Enter Account Number: 1111222233331111
  4. Click Continue, it will show Company Information form.
  5. Fill up the Company information form one by one field, it will generate black area above keyboard in iOS Safari and Chrome as shown in video.

Expected Result:

Black area should not generated above keyboard.

Actual Result:

It will show black area above keyboard as we fill up the form.

Workaround:

unknown

Platforms:

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

  • iOS / Safari and Chrome

Version Number: 1.2.63-0
Reproducible in staging?: y
Reproducible in production?: Could not check
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
Notes/Photos/Videos:

Company-Info-BlackArea.mov
PLBJ7173.1.MP4

Expensify/Expensify Issue URL:
Issue reported by: @PrashantMangukiya
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1675181285781359

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~012f40a9a8f065b869
  • Upwork Job ID: 1620853123237179392
  • Last Price Increase: 2023-02-01
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Jan 31, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Jan 31, 2023
@Expensify Expensify unlocked this conversation Feb 1, 2023
@ArekChr
Copy link
Contributor

ArekChr commented Feb 1, 2023

I would like to investigate this issue, Callstack.

@puneetlath puneetlath added the External Added to denote the issue can be worked on by a contributor label Feb 1, 2023
@melvin-bot melvin-bot bot changed the title Black area generated above keyboard within company information form [$1000] Black area generated above keyboard within company information form Feb 1, 2023
@melvin-bot
Copy link

melvin-bot bot commented Feb 1, 2023

Job added to Upwork: https://www.upwork.com/jobs/~012f40a9a8f065b869

@melvin-bot
Copy link

melvin-bot bot commented Feb 1, 2023

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

@puneetlath puneetlath changed the title [$1000] Black area generated above keyboard within company information form Black area generated above keyboard within company information form Feb 1, 2023
@melvin-bot
Copy link

melvin-bot bot commented Feb 1, 2023

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 1, 2023
@melvin-bot
Copy link

melvin-bot bot commented Feb 1, 2023

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

@puneetlath puneetlath removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 1, 2023
@puneetlath
Copy link
Contributor

Thanks @ArekChr! Looking forward to your proposed solution.

@mo-4444
Copy link

mo-4444 commented Feb 1, 2023

Your issue is in this file

{maxHeight: this.props.windowHeight}]}

https://github.com/Expensify/App/blob/93854081336980a19b02138a271fead29b37e5d9/src/components/ScreenWrapper/index.js

@dhairyasenjaliya
Copy link
Contributor

Proposal

Solution 1

  • Manually pass windowHeight={null} to all <ScreenWrapper> used in all form pages (ReimbursementAccount) (all steps pages) and all pass null to pages that are affected (will need to check affected pages as current GH is only for company steps)

Example

+    <ScreenWrapper windowHeight={null} includeSafeAreaPaddingBottom={false}>  

Solution 2

Result

Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-02-02.at.14.08.31.mp4

@mountiny
Copy link
Contributor

mountiny commented Feb 2, 2023

@parasharrajat Would you be able to look at the proposed solutions?

@parasharrajat
Copy link
Member

Yeah, as soon as I start working today.

@parasharrajat
Copy link
Member

parasharrajat commented Feb 2, 2023

I think this is a regression from #14392. cc: @mananjadhav @sobitneupane can you please handle RCA?

@puneetlath Please close the Upwork job. This should be fixed by the author of the main PR.

@parasharrajat
Copy link
Member

IMO, we should revert the PR #14392 as there are two regressions from that PR. In any way, We will have to revert the changes on that PR to solve this regression.

@mountiny
Copy link
Contributor

mountiny commented Feb 2, 2023

Would it require removing the MaxHeight property or is the regression in the upstream repo update?

@parasharrajat
Copy link
Member

Yeah, removing MaxHeight will fix it. or we have to be intelligent while setting its value. When keyboard opens max height will reduce to a small viewport.

@mountiny
Copy link
Contributor

mountiny commented Feb 2, 2023

@rawalyogendra Would you be able to look into this regression fix? 🙇

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Feb 22, 2023
@melvin-bot melvin-bot bot changed the title Black area generated above keyboard within company information form [HOLD for payment 2023-03-01] Black area generated above keyboard within company information form Feb 22, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 22, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@MelvinBot
Copy link

📣 @MelvinBot! 📣

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. 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.
  2. 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.
  3. 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>

@MelvinBot
Copy link

MelvinBot commented Feb 22, 2023

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:

@mananjadhav
Copy link
Collaborator

@rawalyogendra Can you please update with the Regression Test Proposal here?

@rawalyogendra
Copy link
Contributor

  1. BUG: Black area generated above keyboard within company information form
  • Proposed Test Steps:
    • Open a workspace > Reimburse expenses > Connect bank account > Connect Manually
    • Enter Routing Number: 123123123
    • Enter Account Number: 1111222233331111
    • Click on Continue, it shows Company Information form.
    • Fill up the Company information form.
    • Verified that it did not generate black area above keyboard in iOS Safari and Chrome.
  1. BUG: The Close account button is cut off and has extra padding
  • Proposed Test Steps:
    • Go to staging.new.expensify.com
    • Login with any account
    • Navigate to Settings > Security
    • Click on "Close Account"
    • Enter the email in the input and open keyboard
  • Do we agree 👍 or 👎

@MelvinBot
Copy link

📣 @rawalyogendra! 📣

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. 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.
  2. 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.
  3. 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>

@MelvinBot
Copy link

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@mananjadhav
Copy link
Collaborator

@puneetlath this has the title for payment, but there won't be any payout for this one. Instead it should be #11463.

@puneetlath
Copy link
Contributor

Yes, makes sense. Thanks for reminding me. I'm going to go ahead and close this out in favor of that issue.

@PrashantMangukiya
Copy link
Contributor

@puneetlath reporting bonus not issued for this. As I reported this issue.

@MelvinBot
Copy link

📣 @PrashantMangukiya! 📣

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. 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.
  2. 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.
  3. 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>

@MelvinBot
Copy link

⚠️ Invalid email. Please make sure to create an Expensify account with this email first here.

@MelvinBot
Copy link

✅ Contributor details stored successfully. Thank you for contributing to Expensify!

@puneetlath
Copy link
Contributor

My apologies @PrashantMangukiya. Can you please apply to the Upwork job? https://www.upwork.com/jobs/~012f40a9a8f065b869

@puneetlath puneetlath reopened this Mar 1, 2023
@PrashantMangukiya
Copy link
Contributor

Thank you @puneetlath Applied for the job.

@puneetlath
Copy link
Contributor

Reporting bonus paid. Closing again.

@PrashantMangukiya
Copy link
Contributor

Received. Thank you @puneetlath

@s77rt
Copy link
Contributor

s77rt commented Mar 29, 2023

We are looking for another fix to this issue as the approved proposal caused a regression #16082 (comment).

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. External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests