Reject tracked changes notifications (#32917)

* [web] Reject tracked changes notifications

feat: adding new tests

feat: adding rejected changes notifications

feat: adding tests for rejectchanges

feat: updating tests for rejecting notifications;

feat: adding in rejecting user, and improving subject and activity line

fix: moving to a params object instead of positionals for email building

feat: updating to use events triggered from applyUpdate in document-updater

feat: updating to send rejected author ids with rejected change notification instead of change ids

feat: moving rejected author notification determination to updateManager instead of RangesManager, which is used by other paths

feat: only map to author if changes were made

* fix: gate by user status not project status

* fix: unit tests post-rebase

---------

Co-authored-by: Kristina Hjertberg <kristina.hjertberg@overleaf.com>
GitOrigin-RevId: f992e1885c47d1a6cf776740769d6d4763f3cb7c
This commit is contained in:
Jimmy Domagala-Tang
2026-05-14 08:05:35 +00:00
committed by Copybot
co-authored by Kristina Hjertberg
parent 5e3561aedc
commit bc2f5ae746
6 changed files with 53 additions and 12 deletions
+7
View File
@@ -9,6 +9,13 @@ export type TrackChangesAcceptedEvent = {
changeContributors: string[]
}
export type TrackChangesRejectedEvent = {
projectId: string
docId: string
userId: string
changeContributors: string[]
}
export type CommentAddedEvent = {
projectId: string
userId: string