Skip to content

[HOLD for payment 2025-01-07] [$250] No input autofocus when connecting Sage Intacct. #53156

Closed

Description

@m-natarajan

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.67-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
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: @suneox
Slack conversation (hyperlinked to channel name): ts_external_expensify_bugs

Action Performed:

  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. Next to the step to enter credentials

Expected Result:

The first input field should automatically focus

Actual Result:

No input field is focused.

Workaround:

Unknown

Platforms:

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

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

Screenshots/Videos

Add any screenshot/video evidence
Screen.Recording.2024-11-26.at.22.25.49.mp4
Screen.Recording.2024-11-26.at.22.41.22.mp4
Recording.802.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021861840903242082245
  • Upwork Job ID: 1861840903242082245
  • Last Price Increase: 2024-11-27
  • Automatic offers:
    • CyberAndrii | Contributor | 105388358
Issue OwnerCurrent Issue Owner: @garrettmknight

Activity

  1. added
    Daily
    Bug
    on Nov 26, 2024
  2. melvin-bot commented on Nov 26, 2024

    @melvin-bot

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

  3. nkdengineer commented on Nov 26, 2024

    @nkdengineer
    Contributor

    Proposal

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

    No input autofocus when connecting Sage Intacct.

    What is the root cause of that problem?

    We are not using useAutoFocusInput in this inputs

    <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}

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

    We can do the same way as we did here

        const {inputCallbackRef} = useAutoFocusInput();
    
        <InputWrapper
           ...
           ref={index === 0 ? inputCallbackRef : undefined}
         >
    

    <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}

    What alternative solutions did you explore? (Optional)

    NA

  4. suneox commented on Nov 26, 2024

    @suneox
    Contributor

    @garrettmknight I’ve reported this issue and have more context on it, so I can support with reviewing the proposal as a C+

  5. added
    External
    on Nov 27, 2024
  6. changed the title [-]No input autofocus when connecting Sage Intacct.[/-] [+][$250] No input autofocus when connecting Sage Intacct.[/+] on Nov 27, 2024
  7. melvin-bot commented on Nov 27, 2024

    @melvin-bot
  8. added
    Help Wanted
    on Nov 27, 2024
  9. moved this to Bugs and Follow Up Issues in #expensify-bugson Nov 27, 2024
  10. melvin-bot commented on Nov 27, 2024

    @melvin-bot

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

  11. thesahindia commented on Nov 27, 2024

    @thesahindia
  12. 51 remaining items

  13. moved this from Bugs and Follow Up Issues to Hold for Payment in #expensify-bugson Jan 7, 2025
  14. thesahindia commented on Jan 9, 2025

    @thesahindia
    Member

    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: New feature (not a bug)

    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: N/A

    • [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.

    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

    Test:

    1. Navigate to the workspaces
    2. Click on a workspace > More features > enable the Accounting option
    3. Go to Accounting > Select NetSuite
    4. Upgrade the policy if it has not been done yet
    5. Click Next until an input appears
    6. Verify that the input is auto-focused
    7. Dismiss the RHP by clicking outside of it or clicking on the back button
    8. Repeat the same steps and verify that the input still gets autofocused
    9. Select Sage Intacct and repeat the same process
    10. Verify the first input gets autofocused

    Do we agree 👍 or 👎

  15. garrettmknight commented on Jan 9, 2025

    @garrettmknight
    Contributor

    Payment Summary:

  16. garrettmknight commented on Jan 9, 2025

    @garrettmknight
    Contributor

    @suneox did you review a PR on this one?

  17. thesahindia commented on Jan 9, 2025

    @thesahindia
    Member

    @suneox did you review a PR on this one?

    They only reported the issue.

  18. suneox commented on Jan 10, 2025

    @suneox
    Contributor

    @suneox did you review a PR on this one?

    I didn’t review the PR

  19. garrettmknight commented on Jan 10, 2025

    @garrettmknight
    Contributor

    Huh, weird that you got added via the automation. Ignore the offer, please.

  20. garrettmknight commented on Jan 10, 2025

    @garrettmknight
    Contributor

    @thesahindia submit for payment when you're ready!

  21. moved this from Hold for Payment to Done in #expensify-bugson Jan 10, 2025
  22. JmillsExpensify commented on Jan 30, 2025

    @JmillsExpensify
    Contributor

    Payment summary:

  23. garrettmknight commented on Feb 3, 2025

    @garrettmknight
    Contributor

    $250 approved for @thesahindia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions