feat: Add support for Slack reaction and message notifications

This commit is contained in:
2024-12-16 20:44:09 +01:00
parent 735b2f5481
commit 33dc17483a
30 changed files with 2804 additions and 853 deletions
+3 -3
View File
@@ -35,7 +35,7 @@ export function NotificationActions({ notification, detailsTarget, mutate }: Not
onAction={() => deleteNotification(notification, mutate)}
/>
<Action
title="Unsubscribe From Notification"
title="Unsubscribe from Notification"
icon={Icon.BellDisabled}
shortcut={{ modifiers: ["ctrl"], key: "u" }}
onAction={() => unsubscribeFromNotification(notification, mutate)}
@@ -47,13 +47,13 @@ export function NotificationActions({ notification, detailsTarget, mutate }: Not
onAction={() => snoozeNotification(notification, mutate)}
/>
<Action.Push
title="Create Task..."
title="Create Task"
icon={Icon.Calendar}
shortcut={{ modifiers: ["ctrl"], key: "t" }}
target={<CreateTaskFromNotification notification={notification} mutate={mutate} />}
/>
<Action.Push
title="Link to Task..."
title="Link to Task"
icon={Icon.Link}
shortcut={{ modifiers: ["ctrl"], key: "l" }}
target={<LinkNotificationToTask notification={notification} mutate={mutate} />}