This commit is contained in:
26
openspec/changes/add-personal-notifications/tasks.md
Normal file
26
openspec/changes/add-personal-notifications/tasks.md
Normal file
@@ -0,0 +1,26 @@
|
||||
## 1. API and Data Contract
|
||||
|
||||
- [x] 1.1 Define the client-side personal notification item and paginated list contract
|
||||
- [x] 1.2 Define the client-side unread count and read-operation contracts
|
||||
- [x] 1.3 Add authenticated notification API wrappers
|
||||
|
||||
## 2. Notification Behavior
|
||||
|
||||
- [ ] 2.1 Return only current customer's visible, unexpired business notifications
|
||||
- [ ] 2.2 Apply creation-time and notification-ID descending ordering
|
||||
- [ ] 2.3 Support idempotent single-read and read-all operations
|
||||
- [ ] 2.4 Exclude platform sync and system operations notifications from unread count
|
||||
|
||||
## 3. Client Entry
|
||||
|
||||
- [x] 3.1 Add the personal notification list entry and pagination handling
|
||||
- [x] 3.2 Add unread-count display and refresh behavior
|
||||
- [x] 3.3 Mark notifications read from list actions and support mark-all-read
|
||||
|
||||
## 4. Verification
|
||||
|
||||
- [ ] 4.1 Test authentication, pagination limits, ordering, and visibility isolation
|
||||
- [ ] 4.2 Test idempotent read behavior and unread-count updates
|
||||
- [x] 4.3 Verify the H5 build and unified success/error response handling
|
||||
|
||||
> Note: The repository contains the H5 client only. Tasks 2.1-2.4 and 4.1-4.2 require implementation and verification in the backend service repository.
|
||||
Reference in New Issue
Block a user