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 2024-12-09] [$250] iOS - Accounting - Confirm button jumps when entering user ID for Sage Intacct #52234

Closed
2 of 8 tasks
IuliiaHerets opened this issue Nov 8, 2024 · 28 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 Reviewing Has a PR in review Weekly KSv2

Comments

@IuliiaHerets
Copy link

IuliiaHerets commented Nov 8, 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.59.0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5195617
Issue reported by: Applause Internal Team

Action Performed:

Precondition: user has saved credentials

  1. Open the app and log in
  2. Create a workspace if there is no any
  3. Navigate to the workspace settings > More features and enable the Accounting option
  4. Open Accounting and select Intacct
  5. Upgrade the policy if it has not been done yet
  6. Proceed to the step to enter credentials
  7. Tap the user ID field and start entering the credentials

Expected Result:

The Confirm button does not jump

Actual Result:

The Confirm button jumps when entering user ID. It does not happen when entering a password even though the password auto-fill is present.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6658415_1731037676511.IMG_0873.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021859980122209615794
  • Upwork Job ID: 1859980122209615794
  • Last Price Increase: 2024-11-22
  • Automatic offers:
    • suneox | Reviewer | 105074090
    • huult | Contributor | 105074091
Issue OwnerCurrent Issue Owner: @johncschuster
@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Nov 8, 2024
Copy link

melvin-bot bot commented Nov 8, 2024

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

@IuliiaHerets
Copy link
Author

Issue is repro on newest iOS devices (iPhone 15 Pro Max and iPhone 16)

@twilight2294
Copy link
Contributor

Proposal

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

Confirm button jumps when entering user ID for Sage Intacct

What is the root cause of that problem?

We do not pass any ref to the InputWrapper this makes the state to always change.

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

Pass a ref to InputWrapper:

    const {inputCallbackRef} = useAutoFocusInput();
    
            <InputWrapper
                InputComponent={TextInput}
                inputID={formItem}
                label={translate(`common.${formItem}`)}
                aria-label={translate(`common.${formItem}`)}
                role={CONST.ROLE.PRESENTATION}
                spellCheck={false}
                secureTextEntry={formItem === INPUT_IDS.PASSWORD}
                ref={inputCallbackRef}
            />

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added the Overdue label Nov 11, 2024
Copy link

melvin-bot bot commented Nov 11, 2024

@slafortune Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@truph01
Copy link
Contributor

truph01 commented Nov 11, 2024

Proposal

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

The Confirm button jumps when entering user ID. It does not happen when entering a password even though the password auto-fill is present.

What is the root cause of that problem?

It's an issue with the Passwords option in the Keyboard toolbar. We already notice it in facebook/react-native#39411 (comment)

We should fix it since it can affect on users experience (button jumps unexpectedly on non-password input)

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

We can use textContentType='oneTimeCode'

textContentType='oneTimeCode'

What alternative solutions did you explore? (Optional)

We can show the Confirm button right below the inputs by updating the styles.justifyContentEnd here

containerStyles={[styles.justifyContentEnd, safePaddingBottomStyle, containerStyles]}

            containerStyles={[shouldShowConfirmButtonAtTheEnd && styles.justifyContentEnd, safePaddingBottomStyle, containerStyles]}
Screen.Recording.2024-11-11.at.23.52.49.mov

Copy link

melvin-bot bot commented Nov 13, 2024

@slafortune Huh... This is 4 days overdue. Who can take care of this?

Copy link

melvin-bot bot commented Nov 15, 2024

@slafortune 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

Copy link

melvin-bot bot commented Nov 19, 2024

@slafortune 10 days overdue. Is anyone even seeing these? Hello?

@melvin-bot melvin-bot bot removed the Overdue label Nov 19, 2024
@abekkala abekkala added Overdue Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels Nov 19, 2024
Copy link

melvin-bot bot commented Nov 19, 2024

Triggered auto assignment to @johncschuster (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 melvin-bot bot removed the Overdue label Nov 19, 2024
@abekkala
Copy link
Contributor

Stevie has been and will be ooo - reapplying label

Copy link

melvin-bot bot commented Nov 22, 2024

@johncschuster this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added the Overdue label Nov 22, 2024
@johncschuster johncschuster moved this to Bugs and Follow Up Issues in [#whatsnext] #expense Nov 22, 2024
@johncschuster johncschuster added the External Added to denote the issue can be worked on by a contributor label Nov 22, 2024
@melvin-bot melvin-bot bot changed the title iOS - Accounting - Confirm button jumps when entering user ID for Sage Intacct [$250] iOS - Accounting - Confirm button jumps when entering user ID for Sage Intacct Nov 22, 2024
Copy link

melvin-bot bot commented Nov 22, 2024

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Nov 22, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 26, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Nov 28, 2024
@melvin-bot melvin-bot bot changed the title [$250] iOS - Accounting - Confirm button jumps when entering user ID for Sage Intacct [HOLD for payment 2024-12-09] [$250] iOS - Accounting - Confirm button jumps when entering user ID for Sage Intacct Dec 2, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 2, 2024
Copy link

melvin-bot bot commented Dec 2, 2024

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

Copy link

melvin-bot bot commented Dec 2, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.69-4 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 2024-12-09. 🎊

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

Copy link

melvin-bot bot commented Dec 2, 2024

@suneox @johncschuster @suneox The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

@johncschuster
Copy link
Contributor

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production
  • 2b. Reported on staging (deploy blocker)
  • 2c. Reported on both staging and production
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] 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:

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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:

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

Regression Test Proposal Template
  • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

    Link to issue:

Regression Test Proposal

Precondition:

Test:

Do we agree 👍 or 👎

@garrettmknight garrettmknight moved this from Bugs and Follow Up Issues to Hold for Payment in [#whatsnext] #expense Dec 3, 2024
@suneox
Copy link
Contributor

suneox commented Dec 8, 2024

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other: Existing issue on iOS

Where bug was reported:

  • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
  • 2b. Reported on staging (eg. found during regression or PR testing)
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] 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: This issue related to ios issue, so we don’t have an offending PR.

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source 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: N/A

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
    N/A: It isn't an impactful bug

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 9, 2024
@johncschuster
Copy link
Contributor

Payment has been issued. Thanks for your contributions! 🎉

@github-project-automation github-project-automation bot moved this from Hold for Payment to Done in [#whatsnext] #expense Dec 9, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Dec 10, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Dec 10, 2024
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 Reviewing Has a PR in review Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

9 participants