feat: add notifications system with bell badge, polling, Directus flows, and webhook integration

This commit is contained in:
2026-02-07 15:13:17 +01:00
parent f6ba0085f9
commit 10dd923739
8 changed files with 48 additions and 12 deletions

View File

@@ -20,6 +20,14 @@ async function initApp() {
favoritesService.init()
notificationsService.init()
auth.subscribe((loggedIn) => {
if (loggedIn) {
notificationsService.init()
} else {
notificationsService.destroy()
}
})
await import('./components/app-shell.js')
document.getElementById('app').innerHTML = '<app-shell></app-shell>'