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 confirm dialog on window close #690

Merged
merged 1 commit into from
Aug 30, 2024
Merged

Add confirm dialog on window close #690

merged 1 commit into from
Aug 30, 2024

Conversation

huchenlei
Copy link
Member

@huchenlei huchenlei commented Aug 30, 2024

On window close, a browser level dialog will be poped up to remind user unsaved changes. The browser message cannot be customized due to security reasons enforced by browser vendors.

The default setting value is false. Later after the workflow manager redesign, we should have the dialog popup based whether there is unsaved content. Currently the dialog just always trigger on close based on the setting value.

image

image

@huchenlei huchenlei merged commit 68d6b1f into main Aug 30, 2024
6 checks passed
@huchenlei huchenlei deleted the close_prompt branch August 30, 2024 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant