Is 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.
I don’t have any strong feelings one way or another as long as there is proper inline feedback.