openvibers/openvibe.trade Commits

The notification bell hears new notifications as they happen (notificationsRealtime; Shared 1.22.0, roadmap WS-E task 3): Network's network.notification.created over OpenVibe.Events' realtime stream, with polling as the fallback. Only a signed-in bell with a Network token opens a stream.

OP OpenVibers committed 26 Sept 2026 · 046d4eee7f · 1 file, +1 −0


Changes

ddiff --git a/server/render/layout.js b/server/render/layout.js
iindex ebad57a..7f1acbd 100644
---- a/server/render/layout.js
++++ b/server/render/layout.js
@@@ -67,6 +67,7 @@ function renderPage(o) {
sessionUrl: '/auth/me',
loginUrl: `/auth/login?next=${loginNext}`,
logoutUrl: '/auth/logout?next={path}', // Sign out in the shared navbar ends this site's session too
++ notificationsRealtime: true, // the bell hears new notifications over OpenVibe.Events (Shared 1.22.0)
};
// This site's own account links live in the shared navbar's account menu (the page's account
// bar below is only for visitors without JavaScript).