OnboardingWizard runs a first run on navigation::Wizard without its numbered steps: "Step 2 of 4" over a bar in as many parts, the step's title, line and content, Back and Next once ready, Finish last, and Skip for now. Hotspot pulses on a dot that opens a tip on a press or Enter, with Got it. FeatureHighlight names something new under a New badge, with Try it and Not now, and rises in. SetupChecklist counts first things to do in words and a bar, offers Start on each left, eases a check in as one gets done, and offers Hide once all are. navigation::Wizard now keys its buttons, steps and motion by its own id and takes on_step and on_finish at render, failing loud without them.
13 lines
275 B
Rust
13 lines
275 B
Rust
mod checklist;
|
|
mod highlight;
|
|
mod hotspot;
|
|
mod wizard;
|
|
|
|
#[cfg(all(test, feature = "test-support"))]
|
|
mod tests;
|
|
|
|
pub use checklist::{SetupChecklist, SetupTask};
|
|
pub use highlight::FeatureHighlight;
|
|
pub use hotspot::Hotspot;
|
|
pub use wizard::{OnboardingStep, OnboardingWizard};
|