Defer unread updates until tomorrow from Web Push #564
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: stackchain/stackchain-dashboard#564
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "timmy/563-web-push-tomorrow"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #563
Adds a privacy-safe Tomorrow OS-notification action. The service worker validates notification route, tag, and ID, computes 09:00 in the device timezone, obtains session-bound CSRF, and calls a deadline-bounded endpoint. The server resolves the still-unread update to its canonical Later identity and persists an idempotent account-scoped deferral without marking it read. Failure opens the existing reader.
Verification
/laterendpoint.65 passed1165 passed in 63.21sgit diff --checkclean.