1.2 KiB
1.2 KiB
1. API and Data Contract
- 1.1 Define the client-side personal notification item and paginated list contract
- 1.2 Define the client-side unread count and read-operation contracts
- 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
- 3.1 Add the personal notification list entry and pagination handling
- 3.2 Add unread-count display and refresh behavior
- 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
- 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.