maintenance/frontend
jtricerolph 43809b7460 Add Web Push notifications for task assignment
When a task is created or reassigned to a staff member, a push notification
is sent to any devices they have subscribed on. Keys are auto-generated on
first boot and stored in the config table (no manual VAPID setup needed).

- Backend: web-push dep, push_subscriptions table, lib/push.js (VAPID +
  send), routes/push.js (vapid-key / subscribe / unsubscribe endpoints),
  push notify wired into task-core createTask and tasks PATCH reassignment
- Frontend: switched vite-plugin-pwa to injectManifest strategy, custom
  sw.js handles precache + push event + notificationclick, usePushSubscription
  hook requests permission and registers subscription on login

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 22:59:16 +00:00
..
public/icons Replace letter icons with Lucide PWA icons 2026-07-11 20:30:09 +00:00
src Add Web Push notifications for task assignment 2026-07-20 22:59:16 +00:00
Dockerfile Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
index.html Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
nginx.conf Fix maintenance /assets 403 and remove vite-plugin-pwa 2026-07-14 08:45:32 +00:00
package-lock.json Make maintenance installable as a PWA 2026-07-11 11:27:00 +00:00
package.json Add PWA manifest + update banner to maintenance app 2026-07-20 22:28:08 +00:00
tsconfig.json Maintenance log book app — initial scaffold 2026-07-03 21:28:57 +00:00
vite.config.ts Add Web Push notifications for task assignment 2026-07-20 22:59:16 +00:00