Browser Notifications
Browser notifications let EMMA.DB send alarm notifications to the browser where a user has enabled them. They work together with the Web Push notification channel configured by an administrator.
How Web Push Works
- An administrator creates a Web Push notification channel for the project.
- An alarm is configured with Notify enabled and that notification channel selected.
- Each user who wants browser alerts must enable notifications from the bell icon in the top toolbar.
- EMMA.DB registers the current browser for that user and stores the browser subscription.
- When a matching alarm notification is sent, the browser can show a system notification and EMMA.DB can also show an in-app notification toast.
Web push is per user and per browser. If you use EMMA.DB from another browser or device, enable notifications there as well.
Bell Icon
The bell icon is in the top toolbar.
- Outline bell means browser notifications are not enabled for this browser.
- Outline bell with attention dot means the browser supports notifications and EMMA.DB can be enabled here.
- Active bell means browser notifications are enabled for this browser and the current project is not muted.
- Muted bell means browser notifications are enabled for this browser, but muted for the current project.
Click the bell to open the browser notification settings dialog.
Enable Browser Notifications
- Click the bell icon in the top toolbar.
- Click Enable notifications.
- When the browser asks for permission, choose Allow.
- EMMA.DB registers this browser for your user.
If you choose Not now, EMMA.DB closes the dialog and does not register the browser.
Browser Permission
The first time you enable notifications, the browser displays its own permission prompt. EMMA.DB cannot send browser notifications until the browser permission is allowed.
If permission is denied, EMMA.DB shows that notifications are disabled in this browser. Re-enable them from the browser's site settings, then open the bell dialog again.
Current Project Toggle
After browser notifications are enabled, the bell dialog shows the current project and a project toggle.
- Turn the toggle on to receive browser notifications for the current project.
- Turn the toggle off to mute browser notifications for the current project.
- Muting a project does not disable the browser subscription for other projects.
Use this when you want notifications in one project but not another.
Language
EMMA.DB stores the browser notification language with the browser subscription. When you change the app language, EMMA.DB updates the browser subscription language where possible.
Troubleshooting
- If the dialog says notifications are not configured, the current environment has no web push public key configured.
- If the dialog says the browser is unsupported, use a browser that supports notifications, service workers, and push notifications.
- If no alarm notifications arrive, confirm that the alarm has Notify enabled and includes a Web Push notification channel.
- If the bell is muted, enable notifications for the current project from the bell dialog.