19 lines
959 B
Markdown
19 lines
959 B
Markdown
## 1. API and session flow
|
|
|
|
- [x] 1.1 Add typed notification models and list, unread-count, and single-read API methods from `docs/通知.md`.
|
|
- [x] 1.2 Set a pending notification-reminder marker after a valid login session is stored.
|
|
|
|
## 2. Notification UI
|
|
|
|
- [x] 2.1 Add the notification page and register it in `src/pages.json`.
|
|
- [x] 2.2 Add the notification shortcut and unread badge to the top user-information card using `src/static/icons/通知.png`.
|
|
- [x] 2.3 Render notification content without target resolution or controlled-resource navigation.
|
|
- [x] 2.4 Show the newest unread notification in a post-login home-page reminder modal.
|
|
- [x] 2.5 Mark each notification read when it becomes visible and remove the manual read action.
|
|
|
|
## 3. Verification
|
|
|
|
- [x] 3.1 Run `pnpm type-check`.
|
|
- [x] 3.2 Run the relevant ESLint and style checks.
|
|
- [x] 3.3 Verify the login-to-home reminder, newest-first display, entry badge, and read-on-visible behavior.
|