mirror of
https://github.com/outline/outline.git
synced 2025-12-19 17:50:12 -06:00
feat: add group mentions (#10331)
* add group mentions * group mention functionality * add notification test * fix: Group icon in mention menu * language * toast message * fix: Group icon in mention menu light mode color --------- Co-authored-by: Tom Moor <tom@getoutline.com>
This commit is contained in:
@@ -83,6 +83,7 @@ export enum MentionType {
|
||||
User = "user",
|
||||
Document = "document",
|
||||
Collection = "collection",
|
||||
Group = "group",
|
||||
Issue = "issue",
|
||||
PullRequest = "pull_request",
|
||||
URL = "url",
|
||||
@@ -361,6 +362,8 @@ export enum NotificationEventType {
|
||||
ReactionsCreate = "reactions.create",
|
||||
MentionedInDocument = "documents.mentioned",
|
||||
MentionedInComment = "comments.mentioned",
|
||||
GroupMentionedInDocument = "documents.group_mentioned",
|
||||
GroupMentionedInComment = "comments.group_mentioned",
|
||||
InviteAccepted = "emails.invite_accepted",
|
||||
Onboarding = "emails.onboarding",
|
||||
Features = "emails.features",
|
||||
@@ -396,6 +399,8 @@ export const NotificationEventDefaults: Record<NotificationEventType, boolean> =
|
||||
[NotificationEventType.CreateRevision]: false,
|
||||
[NotificationEventType.MentionedInDocument]: true,
|
||||
[NotificationEventType.MentionedInComment]: true,
|
||||
[NotificationEventType.GroupMentionedInDocument]: true,
|
||||
[NotificationEventType.GroupMentionedInComment]: true,
|
||||
[NotificationEventType.InviteAccepted]: true,
|
||||
[NotificationEventType.Onboarding]: true,
|
||||
[NotificationEventType.Features]: true,
|
||||
|
||||
Reference in New Issue
Block a user