feat: sql database for notifications

This commit is contained in:
2026-11-01 12:43:21 +01:00
parent 8271e5d013
commit f8101b2807
11 changed files with 1667 additions and 281 deletions
+4 -4
View File
@@ -5,15 +5,15 @@ import QtQuick.Layouts
import Quickshell
import Quickshell.Widgets
import ZShell.Config
import ZShell.Services
import qs.Components
import qs.Effects
import qs.Services
import qs.Daemons
Item {
id: root
required property NotifServer.Notif notif
required property NotificationRow notif
Layout.fillWidth: true
implicitHeight: flickable.contentHeight
@@ -36,7 +36,7 @@ Item {
{
isClose: true
},
...(root.notif?.actions ?? []),
...Array.from(root.notif?.actions ?? []),
{
isCopy: true
}
@@ -84,7 +84,7 @@ Item {
Quickshell.clipboardText = root.notif.body;
actionInner.item.text = "inventory";
copyTimer.start();
} else if (action.modelData.invoke) {
} else if (action.modelData.invokable) {
action.modelData.invoke();
} else if (!root.notif.resident) {
root.notif.close();