Skip to content
Travel Component Kit

Component kit

Component theater

Journey rail

Looking at another phase changes nothing. Continuing prepares a review; the trip moves only when a person applies it. A phase the host cannot show offers no move. No model can ask for a phase change.

  1. DiscoverNot built yet
  2. PlanThe trip is here
  3. ConfirmNot built yet
  4. TravelNot built yet
  5. ReturnNot built yet

What it reads and what it may ask for

the trip's phase, its version, and which of the five phases this host can show

onContinue: journey.setPhase onPeek(phase): local view only

States: current, earlier, ahead, not built yet, looking, refused

Proof

  • test/journey-ledger.test.ts
  • test/surface-render.test.ts
  • test/browser-showcase/spine.spec.ts

packages/react/src/surfaces/JourneyRail.tsx

All partsStart sample