Very interesting! I'm not a UI/UX person but the arguments and examples are convincing to me: it seems reasonable that when an pending state can be indicated naturally in the UI, then one should prefer that over an optimistic update. That said, introducing a pending state does not always seem possible without complicating the UI. For instance, consider the upvote button on Lobsters: how would one clearly indicate a pending state in this case?
Tangentially, I wonder what the history of optimistic UI updates is. Who originally popularized the pattern?
I often read lobsters on the subway where the network is unreliable, and I have often wished for an in-progress state so I would know whether my upvote actually went through! It’s very low stakes and lobsters is generally very responsive so I usually assume it did, but it’d be nice to know for sure. I don’t know exactly what such an in-progress state would look like, but I wish it existed.
Also not an UX guy but simplest solution that come to my mind would be one or more of the following: a color coding (yellow or filled gray instead of red) consistently used all over the website, subtle animation (replace arrow with small spinner?), changing state to disabled, tooltip. For me the benefit outweighs some ui complexity.
Color coding only is not great as it's not accessible to color blind people. That's why their examples have a dedicated icon for the in-progress state.
Pattern then. Filled triangle: confirmed, hatched - in flight. Could be used for "Post" button etc. Color was just one of options I provided as example solution, I imagine UX person would figure something out.
[OP] TeddyDD | 3 hours ago
This one is even better but I won't be spamming submissions on the same topic.
romshark | 9 minutes ago
Author of that linked post here :) (apparently my account's too new to post it here yet). Feel free to engage.
altano | 4 hours ago
Now that's a URL
jo3_l | 2 hours ago
Very interesting! I'm not a UI/UX person but the arguments and examples are convincing to me: it seems reasonable that when an pending state can be indicated naturally in the UI, then one should prefer that over an optimistic update. That said, introducing a pending state does not always seem possible without complicating the UI. For instance, consider the upvote button on Lobsters: how would one clearly indicate a pending state in this case?
Tangentially, I wonder what the history of optimistic UI updates is. Who originally popularized the pattern?
gavinmorrow | an hour ago
I often read lobsters on the subway where the network is unreliable, and I have often wished for an in-progress state so I would know whether my upvote actually went through! It’s very low stakes and lobsters is generally very responsive so I usually assume it did, but it’d be nice to know for sure. I don’t know exactly what such an in-progress state would look like, but I wish it existed.
[OP] TeddyDD | 2 hours ago
Also not an UX guy but simplest solution that come to my mind would be one or more of the following: a color coding (yellow or filled gray instead of red) consistently used all over the website, subtle animation (replace arrow with small spinner?), changing state to disabled, tooltip. For me the benefit outweighs some ui complexity.
ThinkChaos | an hour ago
Color coding only is not great as it's not accessible to color blind people. That's why their examples have a dedicated icon for the in-progress state.
[OP] TeddyDD | an hour ago
Pattern then. Filled triangle: confirmed, hatched - in flight. Could be used for "Post" button etc. Color was just one of options I provided as example solution, I imagine UX person would figure something out.