mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 10:38:32 +08:00
Co-authored-by: hjlarry <hjlarry@163.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: yyh <yuanyouhuilyz@gmail.com> Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| analytics.ts | ||
| coachmark.tsx | ||
| dropdown-menu.ts | ||
| floating-widget.tsx | ||
| mount.tsx | ||
| README.md | ||
| state.ts | ||
| 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.tsowns the server query graph, the in-memory tour session, and domain commands.storage.tsowns only the persisted shell preference.mount.tsxcomposes 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.