thread-master/docs/product/haixun-console/tasks/T012-wizard-topic-crew.md

49 lines
899 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# T012 — Wizard: topic + crew (lead/cast)
> Status: `done`
> Completed: 2026-07-09
> Milestone: `M5`
> Est. change: `~160 lines`
## Goal
步驟 1 主題、步驟 2 船隊:選 1 lead + 多選 cast不可選 error 帳號。
## Depends on
- T011
## Inputs
- Spec §4.3 步驟 12Crew accounts from repos
## Outputs
### 程式變更
| 路徑 | 動作 | 說明 |
|------|------|------|
| `apps/web/src/pages/studio/steps/TopicStep.tsx` | add | |
| `apps/web/src/pages/studio/steps/CrewStep.tsx` | add | radio lead + multi cast |
| WizardPage | edit | 接入 |
### 行為變更
- cast 列表預設不重複勾 leadlead 仍是 lead
- 未選 lead 不可進下一步
## Out of scope
- 劇本步驟T013
## Acceptance
- [ ] 必須選 lead
- [ ] 可多選 cast
- [ ] error 帳號 disabled
- [ ] `npm run build` 通過
```bash
cd apps/web && npm run build
```