feat: Introduce NotificationHistoryLoader to manage opening and closing the NotificationHistory panel.

This commit is contained in:
Hannes
2026-09-01 22:41:34 +02:00
parent 94d9dd6fac
commit 9788529f55
7 changed files with 372 additions and 9 deletions
@@ -14,6 +14,9 @@ Item {
property var newestNotification: null
property bool soundEnabled: true
property alias trackedNotifications: notificationServer.trackedNotifications
property int notificationNum: trackedNotifications.values.length
signal notificationReceived(var notification)
function correctMonitor(screen) {
@@ -55,7 +58,7 @@ Item {
// return
// }
notification.tracked = true
Config.debug == "Notification" && console.log(
!notification.lastGeneration && Config.debug == "Notification" && console.log(
"[NotificationServer] Notification received:",
notification.appName, notification.id, notification.summary, notification.body
)