I have been developing a lot of component libraries in React over the last few years and each project had their own system and designers to create the mock ups. And I kept noticing the same thing happening over and over again. A lot of designers only design the happy path and will neglect/ignore all the unhappy paths in their mocks.
A lot of designers only design the happy path... Me
There I said it. I'm sure that's going to piss a lot of designers off. Sorry... but if it pisses you off its going to be for one of two reasons:
To those in the first group, thank you. To those in the seconds, listen up. I'm going to explain a concept to you for documenting your UI states.
I call it SELF.
SELF stands for Success, Empty, Loading, Fail.
These are the four states your UI design can be in at any given time. And you as a designer need to have a design for all four of these states. If you don't, you aren't doing your job.
So, in case these aren't self-evident, let's break down each one of these.
You all know what this is. This is the one screen you give us. This is the "happy" path, the everything's hunky-dory path. I think you get this one... mostly (future rant on form components forth coming).
This one is forgotten about a lot. It's your "No data" screen. What does your screen look like when the user has no data entered? Is it just a blank screen because you didn't give the developer an idea of what you wanted? At least add a "Add content" button for them... just something. Its also a great place for some marketing pushing a new or specific feature.
This is the second most common state to receive. Unfortunately it's usually some global "show a spinner". Take some time and give the user some feedback. Here are some ideas:
Use your imagination. Its the one thing I know every good designer has.
This is your error screen where something went wrong. What do you want the user to see? The error message from your code? No! So design something to show the user that explains what happened in an easy to understand way. Also, allow them to perform a follow up action such as re-doing their operation or reporting a bug.
I want you designers to know, I love what you do. Keep doing it. Just help make all of our lives easier by taking the time up front to account for all of these states in your designs.
Just remember to design for your SELF.
'Til next time the mood strikes, -G