演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
991 B
991 B
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.target-registry.tsowns guide target registration and lookup across route content.mount.tsxcomposes the checklist, coachmarks, navigation, and analytics.coachmark.tsxowns the feature-specific portal, spotlight geometry, pointer blockers, and target interaction policy.- 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.
The checklist uses Dify UI Popover. The coachmark is a deliberate feature-owned exception because ordinary overlay primitives do not model an arbitrary-page spotlight; it is not a reusable overlay primitive.