fix: web notifications to show in foreground + duplicates prevented

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-04-21 21:42:15 +03:00
parent 4bfb02ed70
commit 1bc3b86858
7 changed files with 37 additions and 17 deletions
+3 -1
View File
@@ -20,9 +20,11 @@ import {
notificationsPlugin,
NotificationsSidebarItem,
} from '../src';
import { signalsPlugin } from '@backstage/plugin-signals';
createDevApp()
.registerPlugin(notificationsPlugin)
.registerPlugin(signalsPlugin)
.addPage({
element: (
<NotificationsPage
@@ -32,5 +34,5 @@ createDevApp()
),
path: '/notifications',
})
.addSidebarItem(<NotificationsSidebarItem />)
.addSidebarItem(<NotificationsSidebarItem webNotificationsEnabled />)
.render();