Repository navigation
v0.33.0
Track can now send notifications to people's phones and computers. This release has two
migrations, one in D1 and one in each workspace, and push stays off until the server has a key for
it.
New
- Push notifications. Anyone can turn on push in Settings, Notifications, on each phone or
computer they use Track on. News from their inbox that they get by email then also reaches those
devices as it happens, one notification per issue, and a click opens the issue. News read in Track
first is not pushed, and the email still follows ten minutes later if it stays unread. Each
message is encrypted so that only that browser can read it, and passes through the browser's own
push service: Google's for Chrome, Mozilla's for Firefox, Apple's for Safari, Microsoft's for Edge.
Signing out on a device turns push off there. On iPhone and iPad, push works once Track is added
to the Home Screen. (#274)
If you run your own
- To turn push on, make the key your server signs pushes with and set it in one go, so it is
never shown:node apps/web/scripts/push-key.mjs | pnpm wrangler secret put PUSH_VAPID_KEY.
Keep the key: a new one makes everyone turn push on again on each device. Name the browsers' push
services in your privacy policy; see Push notifications indocs/self-hosting.md. pnpm run deployapplies the D1 migration (0014_push_subscription). Each workspace adds its
own column when it next wakes.