mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
0e23d2d604
* feat(front): add a confirmation modal to discard unsaved changes * feat(front):Fix modal content * feat(front): Revert code + add unsavedconfirmatiomodal to the flow builder * feat(front): Use a store to store whether the content of an editor needs to be saved before leaving * feat(front): Add cleanup + only display the warning when navigating elsewhere on the app * feat(front): set dirty to false when saving * feat(front): add keyboard binding to cancel or resume * feat(front): Init dirtyStore to true when creating a flow/script * feat(front): Explicit store initiliation * feat(front): initilisation dirty status after loading a script/flow