Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add warning when navigating away with unsaved changes in environment settings #4922

Open
tiagoapolo opened this issue Dec 16, 2024 · 0 comments
Labels
front-end Issue related to the React Front End Dashboard good first issue Good for newcomers

Comments

@tiagoapolo
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Currently, there is no warning displayed when navigating between environments while editing settings. This can result in losing any unsaved changes.

Steps to Reproduce

  1. Begin editing general settings in environment page (e.g., name, description)
  2. Switch to another environment (e.g., production) OR navigate away OR Switch env settings tabs without saving the changes.
  3. Observe that the unsaved changes are lost without any warning.

Describe the solution you'd like.

A warning or confirmation dialog should appear if there are unsaved changes in general env setting tab, informing that the changes will be lost if the user navigates away

Describe alternatives you've considered

Watch for field changes in general setting tab in environment page settings and show warning if the url changes.

Additional context

No response

@tiagoapolo tiagoapolo added front-end Issue related to the React Front End Dashboard good first issue Good for newcomers labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
front-end Issue related to the React Front End Dashboard good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant