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

Prevent Accidental Data Loss in OffCanvas #1192

Open
Jan-Eimertenbrink opened this issue Feb 17, 2025 · 1 comment
Open

Prevent Accidental Data Loss in OffCanvas #1192

Jan-Eimertenbrink opened this issue Feb 17, 2025 · 1 comment

Comments

@Jan-Eimertenbrink
Copy link
Member

Description

With our new schema in FlowNext, we often move creation and editing processes into a modal or off-canvas view. As a result, these often contain larger forms. In the case of an off-canvas view, a large transparent background area is created, which currently closes the off-canvas when clicked.

While this behavior is generally intended, it can be frustrating for users if they are in the middle of a longer creation or editing process and accidentally click on the background—losing their progress. To prevent this in the future, we want to introduce a confirmation modal as optin.

We are taking inspiration from other design systems, such as Primer (GitHub), which also offers an optional confirmation modal in its styleguide. This modal will inform users that they are about to lose unsaved data.

Important: This modal should only be used in exceptional cases, as displaying it too frequently could feel intrusive and annoying for users. A useful addition could be a checkbox or button with the option “Don’t show this again.”

Example Picture

Image

@thueske
Copy link
Member

thueske commented Feb 18, 2025

We should talk about this again in peace. We had the feature in the past and it was removed on purpose.

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

No branches or pull requests

2 participants