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 SEPT 23][$250] iOS - 2FA code input is hidden by keyboard when disabling 2FA #48461

Closed
1 of 6 tasks
izarutskaya opened this issue Sep 3, 2024 · 27 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2

Comments

@izarutskaya
Copy link

izarutskaya commented Sep 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: 9.0.28-0
Reproducible in staging?: Y
Reproducible in production?: N
Found when validation PR #48030
Email or phone of affected tester (no customers): [email protected]
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Launch New Expensify app.
  2. Go to Account settings > Security,
  3. Tap Disable 2FA.

Expected Result:

2FA code input will not be hidden by keyboard when disabling 2FA

Actual Result:

2FA code input is hidden by keyboard when disabling 2FA

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

Bug6591193_1725320683828.ScreenRecording_09-03-2024_07-41-10_1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021831813205395072237
  • Upwork Job ID: 1831813205395072237
  • Last Price Increase: 2024-09-05
  • Automatic offers:
    • alitoshmatov | Reviewer | 103915601
Issue OwnerCurrent Issue Owner: @alitoshmatov
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Sep 3, 2024
Copy link

melvin-bot bot commented Sep 3, 2024

Triggered auto assignment to @Julesssss (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Sep 3, 2024

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Sep 3, 2024
Copy link
Contributor

github-actions bot commented Sep 3, 2024

👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@Julesssss Julesssss added Daily KSv2 Weekly KSv2 Hourly KSv2 and removed Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment Daily KSv2 labels Sep 3, 2024
@Julesssss
Copy link
Contributor

This is a new step in the process and shouldn't block deployment, as users can still enter the code (without visible confirmation).

@bernhardoj
Copy link
Contributor

Proposal

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

2FA code is behind the keyboard.

What is the root cause of that problem?

In the code page, we disable the keyboard avoiding view which is required for iOS to push up the button.

<StepWrapper
title={translate('twoFactorAuth.disableTwoFactorAuth')}
shouldEnableKeyboardAvoidingView={false}

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

Enable the keyboard avoiding view by removing the shouldEnableKeyboardAvoidingView prop.

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Sep 3, 2024
@melvin-bot melvin-bot bot added the Daily KSv2 label Sep 3, 2024
@Julesssss
Copy link
Contributor

In the code page, we disable the keyboard avoiding view which is required for iOS to push up the button.

It would be good to confirm there wasn't a specific reason for this before moving forward.

@parasharrajat
Copy link
Member

I don't think there was a reason for this. Looks like a simple mistake.

@tgolen
Copy link
Contributor

tgolen commented Sep 3, 2024

Ah yeah, that was just a mistake. I wasn't aware of it and it just came over with some copy/paste from one of the other views.

@melvin-bot melvin-bot bot added the Overdue label Sep 5, 2024
@abekkala abekkala added the External Added to denote the issue can be worked on by a contributor label Sep 5, 2024
@melvin-bot melvin-bot bot changed the title iOS - 2FA code input is hidden by keyboard when disabling 2FA [$250] iOS - 2FA code input is hidden by keyboard when disabling 2FA Sep 5, 2024
Copy link

melvin-bot bot commented Sep 5, 2024

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

@melvin-bot melvin-bot bot removed the Overdue label Sep 5, 2024
@ItxAltaf
Copy link

ItxAltaf commented Sep 6, 2024

<KeyboardAvoidingView
        behavior={Platform.OS === 'ios' ? 'padding' : null}
      >
<TextInput>
</KeyboardAvoidingView>

Copy link

melvin-bot bot commented Sep 9, 2024

@Julesssss, @abekkala, @alitoshmatov Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot added the Overdue label Sep 9, 2024
@Julesssss
Copy link
Contributor

Awiating proposals and review

@alitoshmatov
Copy link
Contributor

Looks straightforward fix, we can go with @bernhardoj 's proposal here

C+ reviewed 🎀 👀 🎀

@melvin-bot melvin-bot bot removed the Overdue label Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 2024

Current assignee @Julesssss is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Sep 11, 2024
Copy link

melvin-bot bot commented Sep 11, 2024

📣 @alitoshmatov 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Sep 11, 2024
@bernhardoj
Copy link
Contributor

PR is ready

cc: @alitoshmatov

@alitoshmatov
Copy link
Contributor

Deployed to production on 16th

@abekkala
Copy link
Contributor

PAYMENT SUMMARY FOR SEPT 23

@abekkala abekkala changed the title [$250] iOS - 2FA code input is hidden by keyboard when disabling 2FA [HOLD for payment SEPT 23][$250] iOS - 2FA code input is hidden by keyboard when disabling 2FA Sep 20, 2024
@abekkala
Copy link
Contributor

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:

  • [@alitoshmatov] The PR that introduced the bug has been identified. Link to the PR:
  • [@alitoshmatov] 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:
  • [@alitoshmatov] 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.
  • [@alitoshmatov] Determine if we should create a regression test for this bug.
  • [@alitoshmatov] 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.
  • [@abekkala] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@alitoshmatov can you complete checklist so I can issue payment - thank you!

@abekkala
Copy link
Contributor

@alitoshmatov, can you complete the checklist above, please?

@abekkala
Copy link
Contributor

abekkala commented Oct 2, 2024

@alitoshmatov just a friendly bump here. Please complete the checklist above and I can issue payment. (before the offer expires in Upwork)

@alitoshmatov
Copy link
Contributor

  • The PR that introduced the bug has been identified. Link to the PR: Require a 2FA code to disable 2FA #48030
  • 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: https://github.com/Expensify/App/pull/48030/files#r1788965261
  • 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: No need
  • Determine if we should create a regression test for this bug. I think no need since it wasn't regression but rather incomplete feature

@alitoshmatov
Copy link
Contributor

@abekkala Sorry for late response

@abekkala
Copy link
Contributor

abekkala commented Oct 7, 2024

@alitoshmatov payment sent and contract ended - thank you! 🎉

@abekkala abekkala closed this as completed Oct 7, 2024
@bernhardoj
Copy link
Contributor

Requested in ND.

@JmillsExpensify
Copy link

$250 approved for @bernhardoj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review Weekly KSv2
Projects
None yet
Development

No branches or pull requests

9 participants