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

Small UI change to canceling in the admin #28

Merged
merged 2 commits into from
Aug 11, 2017

Conversation

seantaylor
Copy link

It's always felt off that the cancel button was a "pause" icon and happened without confirmation. This updates it to be a "stop" icon (restarting is a "play" icon), which seems to be the right level of destructive to me. More than pause, less than trash can.

Also adds a confirmation dialog. Although the subscription can easily be restarted, it's conceivable that a store hooks in a cancelation email and it would be nice to double check that they actually want to cancel. This also follows the Solidus Orders admin, which confirms via a dialog (it can also be restarted).

This is all very much just opinion.

Sean Taylor added 2 commits August 10, 2017 19:58
This was previously a "pause" icon. I think canceling a subscription
should seem more substantial than a pause, but less substantial than a
delete. Stop makes more sense to me.

The activation is also a play button, so stop also makes more sense to
me.
Canceling isn't destructive per se, but it seems like a large enough
change to a subscription that I want to double check with the user.

This also follows canceling an order in the Solidus admin (which can
also be resumed).
@qr8r
Copy link
Contributor

qr8r commented Aug 11, 2017

Awesome!! Thanks

@qr8r qr8r merged commit 8d81b64 into solidusio:master Aug 11, 2017
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.

2 participants