thread-master/docs/product/haixun-console/tasks/T014-wizard-preview-submit.md

1.0 KiB
Raw Blame History

T014 — Wizard preview + schedule + submit

Status: done Completed: 2026-07-09
Milestone: M6
Est. change: ~180 lines

Goal

步驟 4 預覽泡泡、步驟 5 船期、步驟 6 提交:建立 ThreadPlay + Outbox導向 Outbox 或詳情。

Depends on

  • T013

Inputs

  • Spec §4.3 步驟 46、§3 狀態機 draft→scheduling

Outputs

程式變更

路徑 動作 說明
apps/web/src/pages/studio/steps/PreviewStep.tsx add
apps/web/src/pages/studio/steps/ScheduleStep.tsx add start + interval minutes
apps/web/src/pages/studio/steps/SubmitStep.tsx add
repos mock submit edit play + outbox steps

行為變更

  • 預覽顯示每句帳號名
  • submit 失敗若校驗不過(無 lead / 空文案)
  • 成功清 draft、導航

Out of scope

  • 模擬發送T016

Acceptance

  • 預覽可見 lead 穿插回覆
  • submit 後 Outbox 有資料
  • npm run build 通過
cd apps/web && npm run build