Hermes Agent
1111bec32a
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
feat(frontend): overhaul /dashboard layout, status badge, and empty states
- /dashboard 顶部加 system-status 徽章:尚未连接 / 已连接 / 异常 三态,背景渐变 + 圆点 + 元数据
- 顶部右侧加 quick-refresh / quick-logout 两个语义化动作
- 头部把原 3 个内嵌链接改成 quick-links pill 行,更专业
- 登录区加 id=login-form 与 aria-label,登录成功后自动折叠
- KPI 4 卡:订单数/收入/后台可登录用户/待处理订单
- 每张卡片有 pill 标签与 data-card 钩子
- 订单/收入两张卡加 spark 骨架线,登录后变 loaded
- 空状态文案统一为「登录后查看 · 」
- 趋势图与 3 个分布图统一加 chart-empty 组件,未加载/无数据时显示占位
- JS:
- 加 setStatus / setChartEmpty / markCardsLoading / markCardsEmpty
- 失败或登出时统一清空所有图表并重置为占位
- renderBarChart 在 dataMap 全为 0 时自动走空状态
- 保留 sessionStorage,保留 localStorage 黑名单
- 修复 pending_orders 的算式 bug
- 测试:test_app.py 加 system-status / quick-links / data-card / chart-empty / spark 等新结构断言,锁住产品化文案
2026-06-16 20:33:06 +08:00
..
2026-06-13 14:49:58 +08:00
2026-06-16 20:33:06 +08:00
2026-06-16 20:33:06 +08:00
2026-06-13 14:49:58 +08:00
2026-06-16 15:02:01 +08:00