Create global inbox actions (#4903)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-03-08 14:59:20 +07:00
committed by GitHub
parent 0483e2ac0d
commit 5ce079cf3d
11 changed files with 172 additions and 43 deletions
+8 -2
View File
@@ -64,7 +64,10 @@ export default mergeIds(notificationId, notification, {
},
groups: {},
action: {
Unsubscribe: '' as Ref<Action>
Unsubscribe: '' as Ref<Action>,
ArchiveAll: '' as Ref<Action>,
ReadAll: '' as Ref<Action>,
UnreadAll: '' as Ref<Action>
},
actionImpl: {
Unsubscribe: '' as ViewAction,
@@ -77,6 +80,9 @@ export default mergeIds(notificationId, notification, {
UnHideDocNotifyContext: '' as ViewAction,
UnReadNotifyContext: '' as ViewAction,
ReadNotifyContext: '' as ViewAction,
DeleteContextNotifications: '' as ViewAction
DeleteContextNotifications: '' as ViewAction,
ArchiveAll: '' as ViewAction,
ReadAll: '' as ViewAction,
UnreadAll: '' as ViewAction
}
})