- Create TASK-2026-01-25-NOTIFICACIONES-COMPLETAS with full CAPVED docs - Update DATABASE_INVENTORY with auth.notifications, auth.user_push_tokens, investment.distribution_history, investment.distribution_runs tables - Update BACKEND_INVENTORY with push-token endpoints, firebase.client, and unit tests - Update FRONTEND_INVENTORY with notification components, store, service - Update MASTER_INVENTORY with updated totals - Update _INDEX.yml with new task entry Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
01-CONTEXTO - Sistema de Notificaciones Completo
Objetivo
Completar la implementación del sistema de notificaciones con todas las capas:
- DDL para persistencia
- Push notifications con FCM
- Tests unitarios
- Frontend NotificationCenter
Antecedentes
La tarea TASK-2026-01-25-PHASE1-MVP implementó el notification.service.ts y distribution.job.ts base. Esta tarea completa el sistema con:
- Tablas de base de datos que no existían
- Integración Firebase para push notifications reales
- Tests unitarios para validar la lógica
- Componentes frontend para mostrar notificaciones
Alcance
| Capa | Entregables |
|---|---|
| DDL | 4 tablas (auth.notifications, auth.user_push_tokens, investment.distribution_history, investment.distribution_runs) |
| Backend | firebase.client.ts, push token endpoints, tests unitarios |
| Frontend | NotificationBell, NotificationDropdown, NotificationItem, NotificationsPage, notificationStore |
Referencias
- Plan original:
C:\Users\cx_ad\.claude\plans\glistening-wondering-mountain.md - Tarea previa:
TASK-2026-01-25-PHASE1-MVP