Writing Loading and Latency Messaging
Quick start
Collect or infer:
- •Loading type (initial load, action response, background refresh)
- •Expected duration (instant, short, long, unknown)
- •User interruptibility (can user do other things?)
- •Fallback if loading fails
Then produce output using TEMPLATES.md. Validate with RUBRIC.md.
Workflow
- •Classify latency tier using reference/latency-tiers.md
- •Determine if user can continue working or must wait
- •Write loading message appropriate to duration
- •Plan transition to loaded or error state
- •Run the rubric check. Revise until it passes.
Degrees of freedom
- •Low: Must show loading indicator for >1 second waits
- •Medium: Message detail scales with expected wait time
- •Allowed variation: Silent loading for <1 second operations
Constraints
- •Loading message: max 40 characters
- •Detail text: max 100 characters
- •Never show loading states for instant operations (<300ms)
- •Provide time estimates for waits >30 seconds
- •Always have a timeout and error fallback
References
- •Templates: TEMPLATES.md
- •Rubric: RUBRIC.md
- •Examples: EXAMPLES.md
- •Latency tiers: reference/latency-tiers.md