feat: user notification preference toggle (web + Android) #80

Merged
rafaga21 merged 3 commits from feat/version-update-notification into master 2026-06-13 17:33:54 -04:00
Collaborator

Notification preference per user

Agrega columna notifications_enabled en users para que cada usuario pueda activar/desactivar notificaciones.

Web profile

  • Checkbox en /profile para habilitar/deshabilitar notificaciones
  • AuthController::updateProfile() guarda la preferencia

API

  • GET /api/profile retorna notifications_enabled
  • PUT /api/profile acepta notifications_enabled
  • POST /api/metrics/push filtra usuarios con notifications_enabled = 0 al crear notificaciones de umbrales

Android

  • Switch toggle en la pantalla de perfil
  • ProfileUpdateRequest y UserProfile incluyen notifications_enabled
  • v1.8.3 (versionCode 15)
### Notification preference per user Agrega columna `notifications_enabled` en `users` para que cada usuario pueda activar/desactivar notificaciones. #### Web profile - Checkbox en `/profile` para habilitar/deshabilitar notificaciones - `AuthController::updateProfile()` guarda la preferencia #### API - `GET /api/profile` retorna `notifications_enabled` - `PUT /api/profile` acepta `notifications_enabled` - `POST /api/metrics/push` filtra usuarios con `notifications_enabled = 0` al crear notificaciones de umbrales #### Android - Switch toggle en la pantalla de perfil - `ProfileUpdateRequest` y `UserProfile` incluyen `notifications_enabled` - v1.8.3 (versionCode 15)
agent added 2 commits 2026-06-13 17:31:37 -04:00
agent force-pushed feat/version-update-notification from 95066d9aea to a499a1ed8b 2026-06-13 17:31:37 -04:00 Compare
agent added 1 commit 2026-06-13 17:31:49 -04:00
rafaga21 merged commit 2864b33dcb into master 2026-06-13 17:33:54 -04:00
rafaga21 deleted branch feat/version-update-notification 2026-06-13 17:33:55 -04:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: devlab/server-manager#80