Skip to content

[Due for payment 2025-03-27] Improve the Xero 2FA enablement flow #57684

Closed

Description

@trjExpensify

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: v9.1.7-1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: No
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @trjExpensify
Slack conversation (hyperlinked to channel name): #open-source coming from #48208.

Action Performed:

Prerequisite: connect a workspace to Xero

  1. Invite someone to the workspace connected to Xero, make them an admin
  2. As the invited admin, sign-in to new.expensify.com

Expected Result:

This is an improvement

  1. Show a full page modal instead of the alert modal
  2. When Enable two factor authentication is clicked, open the 2FA enablement flow in the RHP
  3. Upon completion of enabling 2FA: dismiss the blocking modal, load the account data, and navigate to the Inbox tab.

Web/Desktop:
Image

Mobile:

Image

Actual Result:

Because we don't load OpenApp until they enable 2FA the account looks totally broken:

2025-02-28_11-08-46.mp4

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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

In-line

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @trjExpensify

Activity

  1. added
    Daily
    NewFeature
    on Mar 3, 2025
  2. melvin-bot commented on Mar 3, 2025

    @melvin-bot

    Current assignee @trjExpensify is eligible for the NewFeature assigner, not assigning anyone new.

  3. added
    Weekly
    and removed
    Daily
    on Mar 3, 2025
  4. melvin-bot commented on Mar 3, 2025

    @melvin-bot

    ⚠️ It looks like this issue is labelled as a New Feature but not tied to any GitHub Project. Keep in mind that all new features should be tied to GitHub Projects in order to properly track external CAP software time ⚠️

  5. melvin-bot commented on Mar 3, 2025

    @melvin-bot

    Triggered auto assignment to Design team member for new feature review - @shawnborton (NewFeature)

  6. added
    Daily
    and removed
    Weekly
    on Mar 3, 2025
  7. bernhardoj commented on Mar 4, 2025

    @bernhardoj
    Contributor

    👋

  8. 19 remaining items

  9. added
    Awaiting Payment
    on Mar 20, 2025
  10. changed the title [-]Improve the Xero 2FA enablement flow[/-] [+][Due for payment 2025-03-27] Improve the Xero 2FA enablement flow[/+] on Mar 20, 2025
  11. melvin-bot commented on Mar 20, 2025

    @melvin-bot

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

  12. removed
    Reviewing
    on Mar 20, 2025
  13. melvin-bot commented on Mar 20, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.15-9 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 2025-03-27. 🎊

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

    • @bernhardoj requires payment through NewDot Manual Requests
    • @dukenv0307 requires payment through NewDot Manual Requests
  14. melvin-bot commented on Mar 20, 2025

    @melvin-bot

    BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

    • [@dukenv0307] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
    • [@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.
  15. dukenv0307 commented on Mar 21, 2025

    @dukenv0307
    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 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: New feature

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

    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:

    • Prerequisite: User A has a workspace connected to Xero accounting

    As User A Invite User B to a workspace as Admin
    As User B:

    1. Sign in to the app
    2. Verify a 2FA required page is shown
    3. Press the enable button
    4. Complete the 2FA flow
    5. Press the Got it/back button
    6. Verify a home screen (LHN) is shown

    Do we agree 👍 or 👎

  16. added
    Daily
    and removed
    Weekly
    on Mar 27, 2025
  17. melvin-bot commented on Mar 27, 2025

    @melvin-bot

    Payment Summary

    Upwork Job

    BugZero Checklist (@trjExpensify)

    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  18. trjExpensify commented on Mar 27, 2025

    @trjExpensify
    ContributorAuthor

    Created an issue for the regression test.

    Payment summary as follows:

    Go ahead and request both of you!

  19. bernhardoj commented on Mar 28, 2025

    @bernhardoj
    Contributor

    Requested in ND.

  20. JmillsExpensify commented on Mar 29, 2025

    @JmillsExpensify
    Contributor

    $250 approved for @bernhardoj

  21. JmillsExpensify commented on Apr 1, 2025

    @JmillsExpensify
    Contributor

    $250 approved for @dukenv0307

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

Metadata

Metadata

Labels

Awaiting PaymentDailyNewFeature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions