chihlasm
0f750e63e0
feat(notifications): add Phase 4 Slice 2 — multi-channel notification system
Full notification infrastructure with in-app, email, Slack, and Teams channels:
Backend:
- NotificationConfig, NotificationLog, Notification models + migration
- Notification service with event routing, channel delivery, retry logic
- 9 API endpoints (config CRUD + in-app notifications)
- APScheduler retry job with exponential backoff (30s, 2m, 10m)
- Wired into escalation, proposal approval, and knowledge flywheel
- Pydantic event key validation, cross-tenant protection on recipients
Frontend:
- TypeScript types + API client for all notification endpoints
- NotificationsPanel: bell icon with unread badge, dropdown, mark-read
- NotificationSettings: channel config, event toggles, test, delete confirm
- Notifications tab on IntegrationsPage
- ARIA attributes, Escape handler, settings link on panel
Review fixes (13 issues resolved):
- notify() no longer commits/rolls back caller's transaction (critical)
- retry_failed_notifications returns count instead of None (critical)
- NotificationSettings moved inside dedicated tab (critical)
- target_user_ids scoped by account_id (security)
- Email loop collects all failures before raising
- Slack webhook validates response body
- events_enabled rejects unknown event keys
- link column widened to String(500)
- Dead code removed from _auto_reinforce
- Delete confirmation, ARIA, Escape key support
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 12:37:54 +00:00
..
2026-02-17 10:35:31 -05:00
2026-02-17 13:20:55 -05:00
2026-02-03 19:15:36 -05:00
2026-02-25 23:17:29 -05:00
2026-02-17 11:48:08 -05:00
2026-01-23 12:17:18 -05:00
2026-02-07 21:17:25 -05:00
2026-03-16 23:51:42 -04:00
2026-02-07 23:06:13 -05:00
2026-03-19 05:12:10 +00:00
2026-01-22 14:38:53 -05:00
2026-02-01 00:08:06 -05:00
2026-02-01 01:32:10 -05:00
2026-02-01 16:53:19 -05:00
2026-02-02 01:31:13 -05:00
2026-02-02 01:31:13 -05:00
2026-02-03 02:07:46 -05:00
2026-02-03 02:07:46 -05:00
2026-02-04 02:47:18 -05:00
2026-02-05 02:42:44 -05:00
2026-02-05 22:04:37 -05:00
2026-02-05 22:44:05 -05:00
2026-02-05 22:44:05 -05:00
2026-02-05 23:28:41 -05:00
2026-02-05 23:33:05 -05:00
2026-02-07 02:38:47 -05:00
2026-02-07 02:38:47 -05:00
2026-02-07 02:38:47 -05:00
2026-02-07 02:38:47 -05:00
2026-02-07 02:55:53 -05:00
2026-02-07 03:06:35 -05:00
2026-02-07 19:10:47 -05:00
2026-02-07 19:10:47 -05:00
2026-02-07 23:06:13 -05:00
2026-02-07 23:06:13 -05:00
2026-02-08 06:05:59 -05:00
2026-02-08 08:14:22 -05:00
2026-02-10 09:45:26 -05:00
2026-02-11 17:52:12 -05:00
2026-02-11 21:42:58 -05:00
2026-02-13 01:42:51 -05:00
2026-02-13 01:42:51 -05:00
2026-02-13 01:42:51 -05:00
2026-02-13 08:32:20 -05:00
2026-02-14 04:13:52 -05:00
2026-02-15 22:45:19 -05:00
2026-02-15 22:45:19 -05:00
2026-02-15 22:45:19 -05:00
2026-02-16 15:23:14 -05:00
2026-03-04 20:44:25 -05:00
2026-03-04 20:44:25 -05:00
2026-03-04 20:44:25 -05:00
2026-03-04 20:44:25 -05:00
2026-03-04 20:44:25 -05:00
2026-03-04 20:44:25 -05:00
2026-03-05 02:03:38 -05:00
2026-03-05 01:41:22 -05:00
2026-03-05 22:43:02 -05:00
2026-03-05 22:43:02 -05:00
2026-03-07 15:51:37 -05:00
2026-03-07 15:51:37 -05:00
2026-03-07 15:51:37 -05:00
2026-03-10 09:49:51 -04:00
2026-03-10 20:56:28 -04:00
2026-03-10 20:56:28 -04:00
2026-03-11 23:29:51 -04:00
2026-03-14 20:18:59 -04:00
2026-03-15 01:45:35 -04:00
2026-03-15 01:45:35 -04:00
2026-03-15 01:45:35 -04:00
2026-03-15 01:45:35 -04:00
2026-03-19 05:12:10 +00:00
2026-02-17 11:29:25 -05:00
2026-02-25 23:52:48 -05:00
2026-03-19 05:12:10 +00:00
2026-02-23 00:03:54 -05:00
2026-03-19 12:37:54 +00:00
2026-03-19 01:30:05 +00:00
2026-03-19 01:30:05 +00:00
2026-02-27 03:42:10 -05:00
2026-02-18 17:39:44 -05:00
2026-03-16 23:51:42 -04:00
2026-03-18 14:27:36 +00:00
2026-02-25 23:17:29 -05:00