Repository navigation
升级 Calcit 0.38.0 并类型化文档导航分发 - #105
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughThe application now uses typed operations for component callbacks and separates view dispatch from Reel control handling. The release and dependency versions are updated, the navigation test passes a converted click event, and the upload workflow uses updated actions. ChangesApplication Dispatch Update
Upload Workflow Action Updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Other Sequence Diagram(s)sequenceDiagram
participant render-with!
participant dispatch-view!
participant dispatch!
participant on-control!
render-with!->>dispatch-view!: Send raw action
dispatch-view!->>dispatch-view!: Decode operation and validate legacy payloads
alt Reel control
dispatch-view!->>on-control!: Apply typed control
else Operation
dispatch-view!->>dispatch!: Record typed Op
end
Possibly related PRs
Merge Risk:
|
使用影响
用正式 Calcit 和
@calcit/procs0.38.0 重新安装完整依赖图并构建。文档导航、历史、快速跳转、Reel 面板和原存档行为保持。直接使用导航辅助组件的调用方需提供接收具名docs-workflow.schema/Op的分发回调。实现与边界
render-with!在受管理的 memo 帧构建面板。验证
262 个定义、完整 strict、废弃调用与动态方法门禁、原 2 项定义测试、原 Node 导航回归、Vite 与 mdBook 0.4.14 构建通过。Chrome 验证文档与子页导航、Quick Jump 及 Reel 开关。
Summary by CodeRabbit