F2-11: 消息中心前端 — Drawer、顶栏铃铛、工作台通知卡、e2e
- src/api/notice.ts:新增 fetchNotices/fetchUnreadCount/markNoticeRead/markAllNoticesRead - src/shell/NoticeDrawer.tsx:消息中心抽屉(未读蓝点/展开内容/全部已读/过滤标签) - src/shell/Topbar.tsx:新增消息图标按钮(doc 图标,noticeBadge badge) - src/shell/AppShell.tsx:消息未读数 60s 轮询 + NoticeDrawer 状态管理 - src/pages/WorkbenchPage.tsx:点亮通知公告卡片(原占位注释替换为真实卡片) - e2e/notice.spec.ts:5 个用例(API 3 + UI 2),50/50 全绿 - e2e/artifacts/f2-11/:截图(工作台卡片/Drawer 展开/全部已读后) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
BIN
e2e/artifacts/f2-11/drawer-after-readall.png
Normal file
BIN
e2e/artifacts/f2-11/drawer-after-readall.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 107 KiB |
Reference in New Issue
Block a user