Add notifications for document and collection access (#6460)
* Add notification for added to document * Add notifications for document and collection access * Add notification delay * fix: Collection notifications not appearing * Add notification settings
This commit is contained in:
@@ -5,6 +5,7 @@ import {
|
||||
CheckboxIcon,
|
||||
CollectionIcon,
|
||||
CommentIcon,
|
||||
DocumentIcon,
|
||||
EditIcon,
|
||||
EmailIcon,
|
||||
PublishIcon,
|
||||
@@ -80,6 +81,22 @@ function Notifications() {
|
||||
"Receive a notification when someone you invited creates an account"
|
||||
),
|
||||
},
|
||||
{
|
||||
event: NotificationEventType.AddUserToDocument,
|
||||
icon: <DocumentIcon />,
|
||||
title: t("Invited to document"),
|
||||
description: t(
|
||||
"Receive a notification when a document is shared with you"
|
||||
),
|
||||
},
|
||||
{
|
||||
event: NotificationEventType.AddUserToCollection,
|
||||
icon: <CollectionIcon />,
|
||||
title: t("Invited to collection"),
|
||||
description: t(
|
||||
"Receive a notification when you are given access to a collection"
|
||||
),
|
||||
},
|
||||
{
|
||||
event: NotificationEventType.ExportCompleted,
|
||||
icon: <CheckboxIcon checked />,
|
||||
|
||||
Reference in New Issue
Block a user