Onboarding · Flows and highlights: wizard, hotspot, highlight, setup checklist
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.
This commit is contained in:
1 parent
c68e3229bb
commit
eea99b8e41
16 files changed
+1288
-27
No files matched your search
@@ -0,0 +1,12 @@
|
||||
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};
|
||||
Reference in new issue
Block a user