Skip to content

[C+ Checklist Needs Completion] [$125] Magic code modal isn't dismissed and the page freezes after updating delegate role #58045

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.1.10-3
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: @getusha
Slack conversation (hyperlinked to channel name): #Expensify Bugs

Action Performed:

  1. Add a delegate with limited access level
  2. Press on the member and change access level to full
  3. Enter the magic code sent to your email

Expected Result:

The modal will be dismissed

Actual Result:

Modal is not dismissed, and there is another same modal below it

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.2025-03-07.at.3.46.21.in.the.afternoon.mov
Recording.1036.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021899053673683496912
  • Upwork Job ID: 1899053673683496912
  • Last Price Increase: 2025-03-10
  • Automatic offers:
    • nyomanjyotisa | Contributor | 106518154
Issue OwnerCurrent Issue Owner: @s77rt

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Mar 8, 2025
  2. melvin-bot commented on Mar 8, 2025

    @melvin-bot

    Triggered auto assignment to @greg-schroeder (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. changed the title [-]https://github.com/Expensify/App/issues/new/choose[/-] [+]Magic code modal isn't dismissed and the page freezes after updating delegate role[/+] on Mar 8, 2025
  4. nyomanjyotisa commented on Mar 8, 2025

    @nyomanjyotisa
    Member

    Proposal

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

    Magic code modal isn't dismissed and the page freezes after updating delegate role

    What is the root cause of that problem?

    We use Navigation.navigate here and it makes the modal not dismissed

    // Dismiss modal on successful magic code verification
    Navigation.navigate(ROUTES.SETTINGS_SECURITY);

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

    Use Navigation.goBack(ROUTES.SETTINGS_SECURITY); instead like the one here

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    N/A

    What alternative solutions did you explore? (Optional)

  5. changed the title [-]Magic code modal isn't dismissed and the page freezes after updating delegate role[/-] [+][$125] Magic code modal isn't dismissed and the page freezes after updating delegate role[/+] on Mar 10, 2025
  6. melvin-bot commented on Mar 10, 2025

    @melvin-bot

    ⚠️ Could not update price automatically because there is no linked Upwork Job ID. The BZ team member will need to update the price manually in Upwork.

  7. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Mar 10, 2025
  8. melvin-bot commented on Mar 10, 2025

    @melvin-bot
  9. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Mar 10, 2025
  10. melvin-bot commented on Mar 10, 2025

    @melvin-bot

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

  11. 16 remaining items

  12. greg-schroeder commented on Mar 19, 2025

    @greg-schroeder
    Contributor

    Deployed to prod yesterday

  13. changed the title [-][$125] Magic code modal isn't dismissed and the page freezes after updating delegate role[/-] [+][Due for payment 2025-03-25] [$125] Magic code modal isn't dismissed and the page freezes after updating delegate role[/+] on Mar 19, 2025
  14. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed
    ReviewingHas a PR in review
    on Mar 19, 2025
  15. greg-schroeder commented on Mar 27, 2025

    @greg-schroeder
    Contributor

    Payment summary:

    Contributor: @nyomanjyotisa - $125 - Upwork
    C+: @s77rt - $125 - NewDot

  16. greg-schroeder commented on Mar 27, 2025

    @greg-schroeder
    Contributor

    Could you take care of the C+ checklist @s77rt?

  17. changed the title [-][Due for payment 2025-03-25] [$125] Magic code modal isn't dismissed and the page freezes after updating delegate role[/-] [+][C+ Checklist Needs Completion] [$125] Magic code modal isn't dismissed and the page freezes after updating delegate role[/+] on Mar 27, 2025
  18. s77rt commented on Mar 27, 2025

    @s77rt
    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:

    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: Update delegate flow to use modal #56231 is the PR with the offending code but the bug is likely caused by a navigation refactor or upgrade

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

      Bug requires regression test: No, this is a pretty minor issue

    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 👎

  19. s77rt commented on Mar 27, 2025

    @s77rt
    Member
  20. JmillsExpensify commented on Mar 29, 2025

    @JmillsExpensify
    Contributor

    $125 approved for @s77rt

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

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions