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

Better modal language for discarding changes from the contextual save bar #12015

Open
MeredithCastile opened this issue May 17, 2024 · 0 comments

Comments

@MeredithCastile
Copy link

Summary

I'd like to propose some content updates to our generic confirmation modal when the user is abandoning changes. For Analytics, Customers, and Products, that modal follows the pattern in the screenshot. (Orders has alternate language for some reason.)

Current:
image

I believe a more industry-standard and useful phrasing would be to use a question as the header. We can also simplify the language in the body. Right now, the if and then statements are weirdly tautological. (Essentially: "if you delete, then you'll discard")

Proposed:
image

Note that the "Yes, discard" is a pattern that Google uses, which I like because it makes the header and the button feel like a conversation.

__

I know the team has been working on updates to the contextual save bar pattern. Could this language be a programmatic default as part of those changes? Or are these hard-coded in the various resource pages?

Rationale

Cleaner, crisper, more conversational experience across admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant