I’m playing around with publishing in a few different places these days. Trying out Medium for the first time where I wrote a piece on designing and building for states:
Although I may be bastardizing the term from an engineering point of view, when I talk about states I mean all the possible outcomes of a new feature: What happens when you press this button, or that button, or those buttons together, or we get this data back but not that data. Bugs, for the most part, are a matter of overlooked states. From a design perspective, states are about thinking through all the different ways the elements on the page might live and interact. This includes obvious ones like empty states and error messages as well as not-so-obvious ones like random button combinations or accidental page refreshes.