trading-platform/orchestration/tareas/TASK-2026-01-25-NOTIFICACIONES-COMPLETAS/06-DOCUMENTACION.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

58 lines
1.6 KiB
Markdown

# 06-DOCUMENTACION - Sistema de Notificaciones Completo
## Inventarios a Actualizar
### DATABASE_INVENTORY.yml
Agregar en schema `auth`:
- auth.notifications (nueva tabla)
- auth.user_push_tokens (nueva tabla)
Agregar en schema `investment`:
- investment.distribution_history (nueva tabla)
- investment.distribution_runs (nueva tabla)
### BACKEND_INVENTORY.yml
Agregar en modulo `notifications`:
- firebase.client.ts en shared/clients/
- Endpoints: POST /push-token, DELETE /push-token
- Tests: notification.service.spec.ts
Agregar en modulo `investment`:
- Tests: distribution.job.spec.ts
### FRONTEND_INVENTORY.yml
Agregar feature `notifications`:
- stores/notificationStore.ts
- services/notification.service.ts
- modules/notifications/components/NotificationBell.tsx
- modules/notifications/components/NotificationDropdown.tsx
- modules/notifications/components/NotificationItem.tsx
- modules/notifications/pages/NotificationsPage.tsx
Agregar rutas:
- /notifications
- /settings/notifications
## Tareas Index
Actualizar `_INDEX.yml`:
- Agregar TASK-2026-01-25-NOTIFICACIONES-COMPLETAS
## Commits Realizados
| Repositorio | Hash | Mensaje |
|-------------|------|---------|
| apps/backend | 35a94f0 | feat: Complete notifications system with push support and tests |
| apps/frontend | b7de2a3 | feat: Add NotificationCenter UI components |
| apps/database | 439489b | feat: Add DDL tables for notifications system |
## Proximos Pasos
1. Ejecutar DDL en base de datos WSL
2. Configurar variables de entorno Firebase
3. Generar VAPID keys para Web Push
4. Tests E2E manuales