Skip to content

Release 0.22.2: la barra lateral escucha el Reverb del dashboard (D37) - #17

Merged
GGEdu merged 2 commits into
mainfrom
fix/d37-sidebar-dashboard-reverb
Oct 14, 2026
Merged

GGEdu merged 2 commits into
mainfrom
fix/d37-sidebar-dashboard-reverb

Conversation

@GGEdu

@GGEdu GGEdu commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Las notificaciones las emite el dashboard por su Reverb. Hasta ahora, la barra lateral de cada app escuchaba el Reverb de su propia app, así que en authorization, dms, audit y logs las notificaciones no llegaban hasta recargar.

Cambios:

  • shared-sidebar-react se conecta al Reverb del dashboard. Configuración en /config.js:

    Clave Por defecto
    DASHBOARD_REVERB_HOST El host de DASHBOARD_API_URL
    DASHBOARD_REVERB_PORT 443
    DASHBOARD_REVERB_SCHEME https
    DASHBOARD_REVERB_APP_KEY Ninguno
  • El canal se autoriza en <DASHBOARD_API_URL>/api/v1/broadcasting/auth con el token de la SPA, que ya lleva la audiencia maya-dashboard.

  • La consulta periódica a dashboard-api queda de respaldo hasta que Reverb confirma la suscripción, o si falta DASHBOARD_REVERB_APP_KEY.

  • shared-auth-react añade las claves nuevas a PublicConfigKey.

  • Tests: 15 de NotificationProvider. Typecheck, build y tests del workspace en verde.

@GGEdu
GGEdu force-pushed the fix/d37-sidebar-dashboard-reverb branch from 2f34d9f to 0bba1dd Compare October 14, 2026 21:31
@GGEdu
GGEdu merged commit cfd391b into main Oct 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant