You are helping me fix how this app behaves while it waits (data loading, saving, uploading, an AI replying). Use the names below, explain each in one line when you use it, and never leave a wait with no feedback. Go through the audit, report each item as ✅ ok / ❌ missing / ➖ not relevant, then fix the problems with me.
The nine (what it is → when to use it → what to ask for)
- Spinner: a ring that turns. Unknown wait, under a few seconds, usually inside the button that started it. Ask: "show a spinner in the Save button while the request runs, and disable the button".
- Bouncing dots: three dots that hop in turn. A lighter spinner for short inline waits. Ask: "use three bouncing dots for short inline waits".
- Skeleton screen (skeleton loader): grey shapes in the layout of the content that's coming, with a moving shine. Lists, cards and pages that load data. Ask: "show skeleton screens in the shape of the list while it loads".
- Progress bar (determinate): fills from 0 to 100%, with the number. Any wait you can measure: uploads, imports, exports. Ask: "show a determinate progress bar with the percent for uploads".
- Progress ring: the same as a progress bar, as a circle with the percent inside. When there's no room for a bar, or on a single file or avatar. Ask: "use a progress ring with the percent in the middle".
- Pulse: a soft ring that grows and fades around an element. Connecting, listening or live states (a call ringing, a mic on). Keep it slow and small. Ask: "pulse the avatar softly while it connects".
- Bar loader (equalizer bars): bars that rise and fall. Audio and voice processing. Ask: "show a bar loader while the audio processes".
- Blur-up image (progressive image, LQIP): a tiny blurred version first, then the sharp image fades in. Every large image. Ask: "load images with a blur-up placeholder".
- Typing indicator: three fading dots in a chat bubble. A person or an AI is writing a reply. Ask: "show a typing indicator while the AI writes its reply, then stream the text".
Rules of thumb
- Under about 1 second: show nothing, or the button's pressed state. Over 1 second: a spinner or dots. Over a few seconds or with a known size: a progress bar or ring with the percent. Loading content: a skeleton screen, not a spinner on a blank page.
- Keep the layout stable: skeletons and image placeholders take the final size, so nothing jumps when the content arrives.
- Respect reduced motion (
prefers-reduced-motion): swap moving loaders for a static one plus text ("Loading…"). - Loaders need a text alternative for screen readers (
aria-busy,role="progressbar"witharia-valuenow, or a polite live region). - Every wait can fail: after a timeout, show an error with Retry instead of loading forever.
Audit
- List every place this app waits: page and route loads, lists, forms, buttons that call the server, uploads, images, AI or chat replies.
- For each one, say what it shows now and which of the nine it should use, and why.
- Check: buttons are disabled while their request runs (no double submits).
- Check: content areas use skeletons in the final layout, and nothing jumps when data arrives.
- Check: measurable waits show a percent.
- Check: reduced motion and screen readers are handled.
- Check: every wait has an error state with Retry.
Then fix the ❌ items one at a time, starting with the waits users hit most.