trading-platform/orchestration/tareas/TASK-2026-01-25-NOTIFICACIONES-COMPLETAS/01-CONTEXTO.md
Adrian Flores Cortes 9c2fce0083 docs: Complete documentation for notifications system implementation
- 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>
2026-01-25 04:10:09 -06:00

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:

  1. Tablas de base de datos que no existían
  2. Integración Firebase para push notifications reales
  3. Tests unitarios para validar la lógica
  4. 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