Expand description
Terminal progress bars and spinners for test feedback.
This module provides user interface components for test progress:
Tracker— Progress bar with real-time speed display- Spinners for individual test phases (server discovery, ping, etc.)
- Colorized finish messages with test results
- Grade reveal animation for intentional friction
§Note
Terminal environment detection (crate::terminal::no_color, crate::terminal::no_emoji, crate::terminal::no_animation)
has been moved to the crate::terminal module.
Structs§
- Tracker
- A progress tracker for download/upload tests. Updates a single shared progress bar with live speed.
Functions§
- create_
spinner - Simple spinner for non-speed phases (server fetch, ping).
- finish_
ok - Finish a simple spinner with a checkmark.
- reveal_
grade - Animate a grade reveal with a brief “computing” pause followed by the final grade. Creates intentional friction — the user anticipates the result before it appears.
- reveal_
pause - Brief pause between section reveals for visual breathing room.
- reveal_
scan_ complete - Animate a scan completion summary before revealing results. Shows total samples collected and overall grade.