refactor(ECR-005): 再拆 Ask/Decode/Portrait 与 composable,补强 OpenAPI
压低贴线 SFC/composable;报告/档案/量表/意象卡 path 挂 Envelope $ref;CI ESS 门禁跟到 ECR-005。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# ECR-005
|
||||
|
||||
**Title:** H5 二次拆分与 OpenAPI 契约补强
|
||||
**Status:** Approved
|
||||
**Date:** 2026-08-05
|
||||
**Change Level:** L2(结构 / 契约;无产品扩行为)
|
||||
|
||||
## Change
|
||||
|
||||
1. 拆分 AskAiPane / DecodePanel;抽出 usePortraitPage / useDecodePanel
|
||||
2. 精简 useReportPage / useStarProfilePage / useProfilePage(纯函数/actions 外提)
|
||||
3. OpenAPI:报告/档案/探索测试/意象卡关键 path 挂 `$ref`;star 描述改为 outlook
|
||||
|
||||
## Acceptance
|
||||
|
||||
- [x] 上述目标文件 ≤250(ReportsPage 299 贴线可接受)
|
||||
- [x] test:h5 36/36 · build:h5
|
||||
- [x] OpenAPI 关键 GrowthReport / Profile / ScaleDetail / ImageCard 信封
|
||||
- [x] ESS 工件
|
||||
|
||||
## Linked
|
||||
|
||||
TASK / STATE / TEST_REPORT / CODE_REVIEW under ECR-005
|
||||
Reference in New Issue
Block a user