feat(notifications): tell the chat owner about inbound WhatsApp messages

One unread notification per chat (collapse key WA:<conversation uuid>), linking to
/whatsapp?c=<uuid>. Parameters carry the contact name, never the phone number.
Best effort: a failing store never fails ingest.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfiCVCgCVJZq4NDEqZs
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-02 20:02:37 +08:00
1 parent 909c1754c0
commit 56fb94ab81
5 files changed
+153 -4

No files matched your search

@@ -17,7 +17,7 @@ Design: `design.md` and `docs/superpowers/specs/2026-12-02-lead-notifications-de
- Web sign-up to the salesperson, else the event's sales team; one notification when assigned at capture.
- [x] 2.2 services-counter daily follow-up summary job (08:00 Asia/Kuala_Lumpur, cron property), one per salesperson with open leads due today or overdue.
- Verify (2.1, 2.2): `mvn -T 1C -B -pl solvway-services-counter -am verify`
- [ ] 2.3 services-whatsapp: notify the chat owner after an inbound message is recorded, collapse key `WA:<conversation uuid>`; no owner, no notification.
- [x] 2.3 services-whatsapp: notify the chat owner after an inbound message is recorded, collapse key `WA:<conversation uuid>`; no owner, no notification.
- Verify: `mvn -T 1C -B -pl solvway-services-whatsapp -am verify`
## 3. Portal