6 ms·
The solutions seem to rely on a user that doesn't navigate before the action is completed. Does he propose locking the UI in the meantime, or to optimistically
by storafrid 2y ago
The solutions seem to rely on a user that doesn't navigate before the action is completed. Does he propose locking the UI in the meantime, or to optimistically show the user a success result?
- gr__or 2y agoCame here for exactly this, the post is proposing a solution while only understanding one half of the problem. Toasts are a global UI feedback mechanism for non-blocking/fallible/undo-able actions. That does make them out-of-place by default, but at least consistently so. A solution I'd accept is local-view-first with toasts-as-fallback when the view is dismissed. That said, loading indicators _might_ make users hesitant to dismiss a view.
- jagged-chisel 2y agoThe dismissal should communicate to the user in a way that indicates the process will continue without the view.
- Y-bar 2y agoDebouncing is a known development tool for most non-immediate actions. It's related UI concept of locking individual UI elements is also well understood by many users (not by that technical name, but by "it's working on my action" kind of understanding). > optimistically show the user a success result? I don't particularly like React, but this a core feature of such JS frontend frameworks, optimistically "succeed" while async network and back-end work happens to give the illusion of speed: https://react.dev/blog/2024/04/25/react-19#new-hook-optimistic-updates https://react.dev/blog/2024/04/25/react-19#new-hook-optimist...
- storafrid 2y agoIs this an LLM? :) The question was rhetorical. Both of these proposals have problems. But the main issue is that the author of the article is missing an angle of toasts as a UX concept.
- Y-bar 2y agoFrom my perspective there was nothing rhetorical about that question as I occasionally encounter it as a serious thing. Some colleagues really do not want optimistic UI events. Some swear by them. I don’t have any strong feelings one way or another as long as there is proper inline feedback.