Replies: 5 comments
-
Toast is a very tricky component. It needs enough visual attention to let the user know information but balance so it doesn't get in the way of work. I see this design as a swing of the pendulum in the opposite direction of the current toast. The proposed design is a lot of visual information and it moves to take up a very important part of the admin. I saw a design by @ry5n which I think hit the balance of these two sides really well. 🤞 he can share. |
Beta Was this translation helpful? Give feedback.
-
@alex-page I’m not sure which design that was, it’s been a while! When we designed the toast, we really wanted something that could replace the Banner component for quick feedback about successful actions. We actually originally didn’t want to use toasts for anything that would require user action, because toast don’t persist, and we didn’t want users to miss anything they needed to take action on. The error toast was actually a concession to existing code paths in the admin that couldn’t easily be updated to use something that didn’t disappear. Zooming back out a bit, @stewx can you share a bit more about the problems you see with the current toast that you’re addressing? That might help us discuss more. |
Beta Was this translation helpful? Give feedback.
-
What are the main reasons I think the toast should be re-designed?
|
Beta Was this translation helpful? Give feedback.
-
Thanks @stewx, that helps a lot. Here’s what I can say about the original rationale:
Is there a situation in an app you’re designing where you’re running up against these limitations? Sometimes even if the original rationale made sense, real-world use shows there’s more flexibility needed. |
Beta Was this translation helpful? Give feedback.
-
I would be really curious to see the results of a comparison between how easy it is for users to notice a dark toast message at the bottom of the screen vs. a light-themed one sliding in at the top right. I would be surprised if the darker one is better at drawing the user's attention. I'm not running into a specific problem with our existing toasts right now. |
Beta Was this translation helpful? Give feedback.
-
I would like to suggest a UI "refresh" the Toast component.
I worked on a prototype of this as a Shopify Hack Day project.
Suggested changes:
success
,info
,warning
, in addition to the existingerror
title
property so we can have a richer presentationPrototype video from our Hack Day project:
toast-v2.mp4
cc @AlicaMoser @slavicstasyuk
Beta Was this translation helpful? Give feedback.
All reactions