Add the React notification route with cursor-based inbox and sent-message views, read receipts, filters, unread badges, and safe fallback links for functionality that remains in the legacy frontend.
1017 B
1017 B
React 路由迁移矩阵
状态值:inventory、building、verification、complete。
| 路由 | 页面 | 角色/公开范围 | 关键合同 | 状态 |
|---|---|---|---|---|
/login |
登录 | 公开 | 验证码、密码、TOTP、SSO 设置、会话落盘 | building |
/dashboard |
角色化首页 | 已登录用户 | 管理总览;学生课表/消息/考试/预警;教师教学班/成绩登记进度 | verification |
/account |
个人账户 | 已登录用户 | TOTP、恢复码、SSO 绑定;Passkey 浏览器仪式尚未开放 | verification |
/users |
用户与权限 | SuperAdmin | 列表、筛选、分页、创建、启停、重置密码、角色范围、Excel | verification |
/notifications |
通知中心 | 已登录用户 | 收件箱筛选、游标分页、已读回执;已发送;定向群发暂回旧系统 | building |
后续从 web/src/router/index.ts 逐条补全。只有关键合同和各状态验收完整后,状态才能更新为 complete。