Skip to content
Sign in

onboarding

v0.2.4

Guided console tour — step content, per-operator progress in state, and an injected page that spotlights the console element each step talks about.

license: Apache-2.0consoledocslearn-iiionboardingtourui

Install

bash
iii call compose::add worker=onboarding@next

Run in your project with the iii engine running. Exact versions are immutable and digest-pinned.

Functions7

learn-iii::progress::get

Function

Read an operator’s tour progress: per tour, the status of every step and the observed event that closed it, plus which tour to offer next.

Request
  • subjectstring
Response
  • next_tour_idstringrequired
  • subscribed_atnumber
  • toursobjectrequired

learn-iii::steps::complete

Function

Mark one tour step complete. Pass `fired` when an observed event closed it — the observed function id and the event are kept as the evidence the tour shows back.

Request
  • firedobject
    • function_idstring
    • payloadunknown
  • step_idstringrequired
  • subjectstring
  • tour_idstringrequired
Response
  • stepobjectrequired

learn-iii::steps::reset

Function

Forget every step of one tour, so it starts from the beginning again.

Request
  • subjectstring
  • tour_idstringrequired
Response
  • resetbooleanrequired

learn-iii::subscribe

Function

Add an email address to the iii product-update list (iii sends a confirmation email first), and record the signup time (not the address) on the subject’s progress as `subscribed_at`. `outcome` is `subscribed`, `invalid_email` (show it), or `retry_later` (the API could not take it now; ask another time).

Request
  • emailstringrequired
  • sourcestring
  • subjectstring
Response
  • outcomestringrequiredenum subscribed, invalid_email, retry_later
  • subscribedbooleanrequired

learn-iii::tours::get

Function

Fetch one tour by id with every step: id, title, body, and the CSS anchor the console page spotlights for that step.

Request
  • idstringrequired
Response
  • tourobjectrequired

learn-iii::tours::list

Function

List every available tour in curriculum order with its id, title, description, and step count. Call this to find out what learn-iii content exists.

Request
Empty object
Response
  • toursunknown[]required

learn-iii::ui-content

Function

Serve the injectable learn-iii console page assets.

Request
  • pathstringrequired
Response
  • contentstringrequired
  • content_typestringrequired

Search the registry

Find workers, kits and executables, or jump to a page.