Skip to content

Always close the statement even after visiting multiple statement pages #9712

Closed

Description

@thienlnam

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Copy this URL into your browser: https://new.expensify.com/statements/202112/
  2. Then this one: https://new.expensify.com/statements/202201/
  3. Then this one: https://new.expensify.com/statements/202202/
  4. Click the X on the statement page in the rightDocked side modal - observe you're returned to the URL in Fix spaces #2.
  5. Click the X again - observe that you're returned to the URL in Some initial fixes and code style updates #1.
  6. Click the X again - observe that the rightDocked side modal closes

Expected Result:

Describe what you think should've happened

  1. Clicking the close button (X) on the modal should close the statement modal and not redirect to the last statement you visited

Actual Result:

Describe what actually happened

  1. You get redirected to the last statement

Workaround:

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

Yes, you can either just adjust the URL or just keep pressing X until you close the modal out

Platform:

Where is this issue occurring?

  • Web x
  • iOS
  • Android
  • Desktop App
  • Mobile Web x

Version Number: v1.1.78-8
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

9aAfBSiKNJ

Upwork URL: https://www.upwork.com/jobs/~01ce48a3c10dcdbe87
Issue reported by:
Slack conversation:

View all open jobs on GitHub

Activity

  1. added
    AutoAssignerTriageAuto assign issues for triage to an available triage team member
    on Jul 5, 2022
  2. melvin-bot commented on Jul 5, 2022

    @melvin-bot

    Triggered auto assignment to @sonialiap (AutoAssignerTriage), see https://stackoverflow.com/c/expensify/questions/4749 for more details.

  3. removed
    AutoAssignerTriageAuto assign issues for triage to an available triage team member
    on Jul 5, 2022
  4. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Jul 5, 2022
  5. melvin-bot commented on Jul 5, 2022

    @melvin-bot

    Triggered auto assignment to @trjExpensify (External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.

  6. melvin-bot commented on Jul 5, 2022

    @melvin-bot

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

  7. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jul 5, 2022
  8. 15 remaining items

  9. thienlnam commented on Jul 6, 2022

    @thienlnam
    ContributorAuthor

    The navigation state looks normal, but for some reason going back here causes the entire app to reload

    Yeah I think it's because we're accessing it by modifying the URL instead of having a dedicated button that opens Navigation.navigate(statement_route). Kind of like how if you click on another chat in the LHN the app won't reload, but if you manually edit the reportID in the URL it will cause it to reload. Not sure how it all plays into how the last page in the stack is the previous statement link though

  10. marcaaron commented on Jul 6, 2022

    @marcaaron
    Contributor

    Ah ok, so, this is not unique to the statements. The same issue will happen if you navigate to something like

    https://new.expensify.com/settings/payments
    https://new.expensify.com/settings/preferences

  11. marcaaron commented on Jul 6, 2022

    @marcaaron
    Contributor

    P.S. this issue is fixed by #9718 so I'm going to make it internal and assign myself.

  12. added
    InternalRequires API changes or must be handled by Expensify staff
    ImprovementItem broken or needs improvement.
    and removed
    ExternalAdded to denote the issue can be worked on by a contributor
    Help WantedApply this label when an issue is open to proposals by contributors
    on Jul 6, 2022
  13. changed the title [-][$250] Always close the statement even after visiting multiple statement pages[/-] [+]Always close the statement even after visiting multiple statement pages[/+] on Jul 6, 2022
  14. trjExpensify commented on Jul 6, 2022

    @trjExpensify
    Contributor

    Kewl, taken it down from Upwork. Removing myself as a CM is not required.

  15. removed their assignment
    on Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

EngineeringImprovementItem broken or needs improvement.InternalRequires API changes or must be handled by Expensify staffWeeklyKSv2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions