Reimplement accidental navigation prompt in payload formatter views #6384
Labels
c/console
This is related to the Console
technical debt
Not necessarily broken, but could be done better/cleaner
ui/web
This is related to a web interface
Milestone
Summary
Due to updates applied in #6327, we had to remove accidental navigation protection for the time being. This should be reimplemented soon.
Current Situation
When the user accidentally navigates away from the payload formatter form while entering a payload formatter, the Console will navigate away and all progress will be lost.
Why do we need this? Who uses it, and when?
We need to add a prompt that makes the user confirm the navigation so that accidental navigation can be prevented.
Proposed Implementation
I have to look at ways to implement prompting with the new react-router v6. From some initial research, it doesn't appear that straight forward.
Contributing
Code of Conduct
The text was updated successfully, but these errors were encountered: