Skip to content

IOU - Details modal is dismissed after editing title #44963

Description

@izarutskaya

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.0.5-3
Reproducible in staging?: Y
Reproducible in production?: New feature
Email or phone of affected tester (no customers): natnael.expensify+0a89fdndafadf@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

  1. Navigate to a workspace chat
  2. Submit a manual expense
  3. Click on the IOU preview component
  4. Click on report header > Title
  5. Edit title & click Save

Expected Result:

User should be returned to Details RHP

Actual Result:

Details RHP modal is dismissed

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

Bug6535803_1720442342286.Screen_Recording_2024-07-08_at_3.14.10_in_the_afternoon.mp4

View all open jobs on GitHub

Activity

  1. added
    DeployBlockerCashThis issue or pull request should block deployment
    BugSomething is broken. Auto assigns a BugZero manager.
    DeployBlockerIndicates it should block deploying the API
    on Jul 8, 2024
  2. melvin-bot commented on Jul 8, 2024

    @melvin-bot

    Triggered auto assignment to @adelekennedy (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. melvin-bot commented on Jul 8, 2024

    @melvin-bot

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

  4. github-actions commented on Jul 8, 2024

    @github-actions
    Contributor

    👋 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.
  5. izarutskaya commented on Jul 8, 2024

    @izarutskaya
    Author

    @adelekennedy I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.

  6. izarutskaya commented on Jul 8, 2024

    @izarutskaya
    Author

    We think this issue might be related to the #collect project.

  7. etCoderDysto commented on Jul 8, 2024

    @etCoderDysto
    Contributor

    Proposal

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

    Details modal is dismissed after editing title

    What is the root cause of that problem?

    We are dismissing the modal and navigating to the previous report here

    Navigation.dismissModal(report?.reportID);

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

    We should change Navigation.dismissModal(report?.reportID) with Navigation.goBack()

    What alternative solutions did you explore? (Optional)

  8. 20 remaining items

  9. adelekennedy commented on Jul 10, 2024

    @adelekennedy
    Contributor
  10. etCoderDysto commented on Jul 18, 2024

    @etCoderDysto
    Contributor
  11. adelekennedy commented on Jul 18, 2024

    @adelekennedy
    Contributor

    Thank you @etCoderDysto - the automatic update failed here.

  12. etCoderDysto commented on Jul 18, 2024

    @etCoderDysto
    Contributor

    Yes, mevlin is not adding lables.

  13. adelekennedy commented on Jul 18, 2024

    @adelekennedy
    Contributor

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

    • The PR that introduced the bug has been identified. Link to the PR:
    • 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:
    • 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:
    • A regression test has been added or updated so that the same bug will not reach production again. Link to the GH issue for creating the test here:
  14. adelekennedy commented on Jul 18, 2024

    @adelekennedy
    Contributor

    Payouts due:

  15. adelekennedy commented on Jul 18, 2024

    @adelekennedy
    Contributor

    @etCoderDysto will you link your upwork profile here?

  16. jayeshmangwani commented on Jul 21, 2024

    @jayeshmangwani
    Contributor

    Regression Test Proposal

    1. Go to a workspace chat.
    2. Submit a manual expense.
    3. Click on the IOU preview component.
    4. Click on the report header -> Title.
    5. Edit the title and click Save.
    6. Verify that you are navigated back to the Details page.

    Do we agree 👍 or 👎

  17. adelekennedy commented on Jul 22, 2024

    @adelekennedy
    Contributor

    offer sent @etCoderDysto

  18. etCoderDysto commented on Jul 22, 2024

    @etCoderDysto
    Contributor

    offer sent @etCoderDysto

    I have accepted the offer. Thank you!

  19. adelekennedy commented on Jul 22, 2024

    @adelekennedy
    Contributor
  20. jayeshmangwani commented on Jul 25, 2024

    @jayeshmangwani
    Contributor

    Requested $250

  21. JmillsExpensify commented on Jul 25, 2024

    @JmillsExpensify
    Contributor

    $250 approved for @jayeshmangwani

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions