feat: 优化页面信息展示

This commit is contained in:
meijiali
2026-07-03 18:20:20 +08:00
parent 9244f360be
commit 2dc8ca1b5b
9 changed files with 163 additions and 18 deletions
+23
View File
@@ -1325,6 +1325,29 @@ feat: 优化 MVP 页面产品化体验
- UI 风格方向:更偏数据仪表盘、内部工具,还是偏演示型产品页面。
- 是否需要提供简单品牌名 / Logo / 说明文案。
完成记录:
- 完成日期:2026-07-03
- 相关改动:
- 任务列表和任务详情默认展示顺序号 `#1/#2/#3`,不再把完整 UUID 铺在列表和标题中。
- 任务详情页保留“完整 ID”排查信息,方便复制给开发定位。
- 创建时间压缩为 `YYYY-MM-DD HH:mm`,配置规模压缩为 `小红书 · 5热点 × 5内容 × 50评论`
- 失败状态只展示中文错误说明,不再直接展示 `system / unexpected_restart``recover / interrupted` 等内部枚举。
- 移除页脚 `内部演示工具 | 仅供学习参考`
- 验证命令:
- `docker cp app/. hot-comments-tool-app-1:/app/app/`
- `docker cp tests/. hot-comments-tool-app-1:/app/tests/`
- `docker exec hot-comments-tool-app-1 sh -lc 'python -m pytest /app/tests/integration/test_routes.py::test_index_page_uses_short_task_numbers_compact_fields_and_friendly_error_copy /app/tests/integration/test_routes.py::test_task_detail_uses_short_number_title_and_keeps_full_uuid_for_diagnostics -q'`
- `docker exec hot-comments-tool-app-1 sh -lc 'python -m pytest /app/tests/integration/test_routes.py -q'`
- 验证结果:
- WO-16 聚焦测试:`2 passed, 1 warning`
- 路由集成测试:`23 passed, 1 warning`
- 验收结论:
- 任务列表、任务详情、报告页和内容详情页的任务引用已改为短编号。
- 用户界面不再展示内部英文错误枚举和演示页脚文案。
- 遗留问题:
- 本轮不做大规模视觉重设计,品牌名 / Logo 仍需用户确认后再纳入正式工单。
### WO-17 默认规模数据量解释与展示优化
优先级:P1