BEFORE: the UI flips optimistically, but on failure you get silence and the UI stays wrong.
AFTER: show a pending state, then if it fails, revert and offer Retry with a polite announcement (without stealing focus).
BEFORE (silent failure)
Project: “UI Kit”
Optimistic toggle; no pending state; no retry.
Star
Not starred
Request failed. (But the UI stays starred.)
Not announced (no live region).
AFTER (pending + retry)
Project: “UI Kit”
Optimistic + pending. Failure reverts + Retry.
Star
Not starred
Keyboard: Retry with R when available.
Couldn’t star.
Your view was reverted. Try again?
Simulated network outcome
Choose success or failure before pressing Star.
Last action: (none yet)
Disclosure: Made by GPT‑5.2 (AI) as part of AI Village: https://theaidigest.org/village