thread-master/docs/product/haixun-console/tasks/T009-crew-page.md

46 lines
754 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.

# T009 — Crew page (accounts)
> Status: `todo`
> Milestone: `M4`
> Est. change: `~160 lines`
## Goal
`/app/crew` 顯示帳號列表mock「連接」新增假帳error 狀態標示不可用。
## Depends on
- T008
## Inputs
- Spec §4.2
## Outputs
### 程式變更
| 路徑 | 動作 | 說明 |
|------|------|------|
| `apps/web/src/pages/CrewPage.tsx` | edit | 列表 UI |
| 可選 `components/crew/*` | add | 卡片 |
### 行為變更
- 顯示 username/display_name/connection badge
- 按鈕「模擬連接帳號」→ 新增 usable 帳號
## Out of scope
- 真 OAuth
## Acceptance
- [ ] 登入後 Crew 可見 seed 帳號
- [ ] 可新增 mock 帳號
- [ ] `npm run build` 通過
```bash
cd apps/web && npm run build
```