Skip to content

Add Navigation guards to prevent leaving pages during critical actions #886

Open
@srimanachanta

Description

@srimanachanta

Users shouldn't be able to navigate away from pages when:

  • They have unsaved changes (either Camera or Network Settings).
  • Have a look remake dialog open (Camera or Pipeline Name).
  • Actively in the Calibration process.

Confirmation dialog can be opened on the guard request that can clean up the state and store before navigating away from the page.

(V4 docs)
https://router.vuejs.org/guide/advanced/navigation-guards.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfrontendHaving to do with PhotonClient and its related items

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions