mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 18:02:47 +08:00
feat(core): add comment notification settings (#13029)
 #### PR Dependency Tree * **PR #13029** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added an option in user settings to enable or disable email notifications for comments on your documents. * Updated the user interface to include a toggle for comment email notifications. * Extended GraphQL queries and schema to support the new comment email notification setting. * **Localization** * Added new English translations for comment email notification settings. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -3,6 +3,7 @@ query getUserSettings {
|
||||
settings {
|
||||
receiveInvitationEmail
|
||||
receiveMentionEmail
|
||||
receiveCommentEmail
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1558,6 +1558,7 @@ export const getUserSettingsQuery = {
|
||||
settings {
|
||||
receiveInvitationEmail
|
||||
receiveMentionEmail
|
||||
receiveCommentEmail
|
||||
}
|
||||
}
|
||||
}`,
|
||||
|
||||
@@ -4714,6 +4714,7 @@ export type GetUserSettingsQuery = {
|
||||
__typename?: 'UserSettingsType';
|
||||
receiveInvitationEmail: boolean;
|
||||
receiveMentionEmail: boolean;
|
||||
receiveCommentEmail: boolean;
|
||||
};
|
||||
} | null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user