Skip to main content

Module progress

Module progress 

Source
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.