dify/web/app/components/step-by-step-tour
2026-07-29 07:25:54 +00:00
..
__tests__ refactor(web): clarify education state ownership (#39748) 2026-07-29 07:25:54 +00:00
analytics.ts
coachmark.tsx
dropdown-menu.ts
floating-widget.tsx
mount.tsx refactor(web): clarify education state ownership (#39748) 2026-07-29 07:25:54 +00:00
README.md
state.ts refactor: centralize deployment edition in system features (#39454) 2026-07-24 07:15:02 +00:00
storage.ts
target-registry.ts
tasks.ts
types.ts
use-coachmark-position.ts
use-target-rect.ts
use-tour-target.ts

Step-by-step Tour

This directory owns the cross-route Step-by-step Tour capability.

  • state.ts owns the server query graph, the in-memory tour session, and domain commands.
  • storage.ts owns only the persisted shell preference.
  • mount.tsx composes the checklist, coachmarks, navigation, and analytics.
  • Route consumers resolve only the guide branch and targets that depend on their page data.

Server state remains canonical in the TanStack Query cache. Components consume narrow derived atoms and write-only commands instead of a combined account-state facade.