Hermes Agent
|
65422b53b2
|
feat(admin): 后台 routes + tests 多项增量改进
- routes: cases/orders/stats/ui/web_public 同步字段扩展
- stats.py: 统计聚合逻辑增强
- 14 个测试文件同步更新断言
dev-verify 1279 passed / ruff / mypy 全绿
|
2026-06-25 09:27:06 +08:00 |
|
Hermes Agent
|
25a84c426b
|
feat(admin): add hidden dashboard seed-order tools
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
- add hidden dev-only seed endpoint /api/admin/orders/dev-seed
- overdue_pending_once: create one 2-day-old pending order with draft intake
- cleanup_demo_seed: delete demo-tagged seeded orders
- restrict hidden seed route to non-prod env
- avoid decrypting all orders during cleanup; query ids/tags directly from SQL
- dashboard hidden entry:
- title id=dashboard-title
- dev-seed-panel hidden by default
- opens via 5 title clicks or ?seed-tools=1
- buttons: 补 1 笔超时待办 / 清理演示造数
- dashboard JS:
- postDevSeed()
- panel show/hide
- refresh dashboard after seed/cleanup
- tests:
- route auth + create/cleanup flow
- dashboard HTML/JS structure assertions
- admin UI page exposes hidden entry markup
- verification:
- pytest 69 passed
- browser: ?seed-tools=1 展开面板, 补造后 pending=8 overdue=1 missing=8, 清理后恢复 pending=7 overdue hidden
|
2026-06-17 10:42:14 +08:00 |
|
Hermes Agent
|
a957b39cc0
|
feat(frontend): harden home CTA, Portal, public, and admin pages
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
- Landing: 主 CTA “先做快速审核” 升级为主按钮,移除多余的次按钮,添加 hero-note 与 hero-divider 让首屏节奏更稳
- Landing: hero-points 收口为 3 个差异化卖点,第 1 个加 lead 背景,右侧风险卡降饱和、避免压过主 CTA
- Landing: 删去旧“志愿方案审计更聚焦/先下单后补资料/站内可追踪交付”重复卡片
- Public: /privacy /service-terms /deletion-policy 接 portal-ui.css 并改成双段 panel + 列表结构
- Portal: /portal/{token}/notifications /portal/{token}/deletion-request 接 portal-ui.css 与新的工具条 / 表单字段化
- Admin: /admin/orders/new 接 portal-ui.css,添加“人工补录更直接/与后台订单主链一致/字段业务语义化”信任块
- Admin: /admin/notifications /admin/ops-alerts 接 portal-ui.css,添加 meta-grid 摘要并把 “payload / details” 改名为“通知内容摘要 / 详细上下文”
- Tests: 锁住 shared CSS、关键产品化文案、Portal 与 admin 页结构断言
|
2026-06-16 20:12:58 +08:00 |
|
Hermes Agent
|
9d239fe2c3
|
feat(t12): harden public checkout and add admin manual order page
CI / pytest (Python 3.10) (push) Has been cancelled
CI / pytest (Python 3.11) (push) Has been cancelled
CI / pytest (Python 3.12) (push) Has been cancelled
|
2026-06-16 12:16:45 +08:00 |
|