mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 03:29:00 +08:00
* Updated save flow to only execute when the flow has unsaved changes * Made flowPage call saveFlow immediatly when trying to exit page * Changed save changes modal to automatically exit when saved on autoSave * Changed flowPage to save and exit when autoSave * Remove confirmation button if it does not exist and remove footer if confirmation and cancel does not exist * Changed saveChangesModal to not show buttons when autoSave is on and to set loading as true when autoSave is off and the user saves * Add timer to close modal, so, if saving takes less than 1 second, it waits * Changed type of confirmationModal * Added handling for when it's building and there is unsaved changes * Added success toast when flow finishes saving * refactored confirmationModal * check autoLogin !== undefined before calling things * Fix use save flow to compare the passed flow instead of the current one * Changed style of save changes modal * deleted build in progress modal * Removed build in progress modal, just stopping the build * Fix condition on api * Changed condition to be autoLogin !== undefined