Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.56k stars 2.9k forks source link

[HOLD for payment 2024-08-02] [$250] Continue button is hidden behind keyboard on onboarding pages. #45037

Closed m-natarajan closed 3 months ago

m-natarajan commented 4 months ago

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: 9.0.5-5 Reproducible in staging?: Yes Reproducible in production?: Yes 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: @rayane-djouah Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1720471428343119

Action Performed:

  1. Create a new account.
  2. Choose "manage my team expenses" purpose on the first onboarding page
  3. Type Business name
  4. Click continue
  5. Type first name
  6. Click continue

Expected Result:

The continue button move to the top with the keyboard when opening it

Actual Result:

The continue button is hidden behind the keyboard

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

https://github.com/Expensify/App/assets/38435837/9ae6de2b-8b8b-424d-9ce9-6f2d4e00a4d0

https://github.com/Expensify/App/assets/38435837/1325fbcf-464c-40b2-b870-ac2c9689e3ef

Add any screenshot/video evidence

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01ca1aa78c61096205
  • Upwork Job ID: 1810702818116110090
  • Last Price Increase: 2024-07-09
  • Automatic offers:
    • rayane-djouah | Contributor | 103050117
    • nkdengineer | Contributor | 103118552
Issue OwnerCurrent Issue Owner: @lschurr
melvin-bot[bot] commented 4 months ago

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

m-natarajan commented 4 months ago

@lschurr Issue reporter commented to assign this to him as he have context. I am not sure I can assign him or not, Can you please confirm?

nkdengineer commented 4 months ago

Proposal

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

The continue button is hidden behind the keyboard

What is the root cause of that problem?

https://github.com/Expensify/App/blob/7b558ef7fb9908223d899b54ad3d0156bc8fcb81/src/pages/OnboardingWork/BaseOnboardingWork.tsx#L81-L84

we don't use ScreenWrapper in this component, we use KeyboardAvoidingView component but we don't pass correct props

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

In these places

https://github.com/Expensify/App/blob/7b558ef7fb9908223d899b54ad3d0156bc8fcb81/src/pages/OnboardingWork/BaseOnboardingWork.tsx#L81-L84

https://github.com/Expensify/App/blob/7b558ef7fb9908223d899b54ad3d0156bc8fcb81/src/pages/OnboardingPersonalDetails/BaseOnboardingPersonalDetails.tsx#L139-L142

I suggest to use ScreenWrapper on the outside and remove KeyboardAvoidingView

<ScreenWrapper
            includeSafeAreaPaddingBottom={false}
            shouldEnableMaxHeight
            shouldEnableKeyboardAvoidingView
            testID="BaseOnboardingWork">

What alternative solutions did you explore? (Optional)

dominictb commented 4 months ago

Proposal

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

What is the root cause of that problem?

https://github.com/Expensify/App/blob/7b558ef7fb9908223d899b54ad3d0156bc8fcb81/src/pages/OnboardingWork/BaseOnboardingWork.tsx#L81-L84 so when the keyboard is opening, the CTA button is still at the bottom of the screen.

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

https://github.com/Expensify/App/blob/7b558ef7fb9908223d899b54ad3d0156bc8fcb81/src/components/ScreenWrapper.tsx#L258-L259

rayane-djouah commented 4 months ago

@lschurr Issue reporter commented to assign this to him as he have context. I am not sure I can assign him or not, Can you please confirm?

@lschurr - Commenting for C+ assignment, Thank you

melvin-bot[bot] commented 4 months ago

Job added to Upwork: https://www.upwork.com/jobs/~01ca1aa78c61096205

melvin-bot[bot] commented 4 months ago

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

lschurr commented 4 months ago

Assigned to you @m-natarajan - Could you review the proposal?

rayane-djouah commented 4 months ago

@lschurr - Sorry but you've assigned @m-natarajan from Applause instead of me

melvin-bot[bot] commented 4 months ago

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

lschurr commented 4 months ago

Oops! Sorry about that @rayane-djouah - good now.

rayane-djouah commented 4 months ago

@nkdengineer's proposal LGTM. It uses ScreenWrapper as other pages of the app.

:ribbon::eyes::ribbon: C+ reviewed

melvin-bot[bot] commented 4 months ago

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

rayane-djouah commented 4 months ago

Friendly Bump @robertjchen ^^

robertjchen commented 4 months ago

πŸ‘ to @nkdengineer 's proposal

melvin-bot[bot] commented 4 months ago

πŸ“£ @nkdengineer πŸŽ‰ 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] commented 3 months ago

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

melvin-bot[bot] commented 3 months ago

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

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

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

melvin-bot[bot] commented 3 months ago

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:

lschurr commented 3 months ago

This is not overdue. Payment date is tomorrow.

lschurr commented 3 months ago

Payment summary: