feat: 收口多品牌与模板构建基础
This commit is contained in:
1 parent
0425a1c672
commit
77224ea51f
317 files changed
+11290
-1158
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# 普通用户业务提供项配置
|
||||
|
||||
## 目标
|
||||
|
||||
让不懂技术的品牌使用者可以用业务语言维护服务、产品或套餐,并安全地影响小程序公开展示。
|
||||
|
||||
## 边界
|
||||
|
||||
- 普通用户只接触名称、介绍、价格、封面、顺序和公开状态。
|
||||
- `sections`、`media`、`cta` 等模板结构继续由系统和管理员维护,不出现在普通用户表单中。
|
||||
- 禁用后不进入公开 workspace;存在关联咨询表单时禁止删除。
|
||||
|
||||
## 完成条件
|
||||
|
||||
- 后台编辑器不暴露内部配置字段。
|
||||
- 编辑普通字段不会覆盖已有模板详情配置。
|
||||
- API 授权、品牌隔离、启用状态和删除保护测试通过。
|
||||
- admin build、格式化和类型检查通过。
|
||||
@@ -0,0 +1,18 @@
|
||||
# 进度
|
||||
|
||||
- 任务:普通用户业务提供项配置
|
||||
- 形态:epic
|
||||
- 进度:3/3
|
||||
- 当前:本轮普通用户业务提供项配置已完成,下一步进入图片资源和咨询表单的易用化。
|
||||
|
||||
## 已完成
|
||||
|
||||
- 移除普通用户表单中的 `sections`、`media`、`cta` 内部结构。
|
||||
- 编辑时仅回填和提交用户可理解的业务字段,避免覆盖模板详情配置。
|
||||
- 删除增加二次确认,并保留关联咨询表单时由 API 阻止删除。
|
||||
|
||||
## 验证
|
||||
|
||||
- `pnpm --filter @personal-brand/api test:integration`:31/31 通过。
|
||||
- `pnpm --filter @personal-brand/admin build`:通过。
|
||||
- `pnpm exec prettier --check apps/admin/src/features/services/ServicesPage.tsx`:通过。
|
||||
@@ -0,0 +1,4 @@
|
||||
id,title,task_type,depends_on,status,task_dir,acceptance_criteria,validation_command,notes
|
||||
1,收敛普通用户业务提供项编辑器,single-full,,DONE,tasks/user-facing-editor,表单仅展示业务字段且编辑不回传内部配置,pnpm --filter @personal-brand/admin build,已移除 sections、media、cta 编辑控件,并限制编辑回填字段
|
||||
2,验证业务提供项生命周期,single-full,1,DONE,tasks/lifecycle-regression,启用、禁用、删除保护和公开 workspace 行为有自动化验证,pnpm --filter @personal-brand/api test:integration,现有 offering 生命周期测试 31/31 通过,覆盖禁用隐藏和关联表单删除保护
|
||||
3,更新交付记录,single-full,1;2,DONE,tasks/delivery,任务进度和验证结果落盘,pnpm format:check && pnpm typecheck,admin build、API integration、format 均通过
|
||||
|
Reference in new issue
Block a user