users get notified whenever a task is done completely, not per step #78

Merged
admin merged 3 commits from improvement/despam-notifications into master 2026-09-08 12:03:11 +03:30
Showing only changes of commit e4f1759035 - Show all commits

View File

@@ -5,4 +5,4 @@ ALTER TYPE "LabCaseActivityType" ADD VALUE 'CASE_COMPLETED';
ALTER TYPE "UserNotificationType" ADD VALUE 'CASE_COMPLETED'; ALTER TYPE "UserNotificationType" ADD VALUE 'CASE_COMPLETED';
-- Step-level TASK_COMPLETED inbox rows were spam; case-complete uses CASE_COMPLETED going forward. -- Step-level TASK_COMPLETED inbox rows were spam; case-complete uses CASE_COMPLETED going forward.
DELETE FROM "UserNotification" WHERE type = 'TASK_COMPLETED'; DELETE FROM "user_notifications" WHERE type = 'TASK_COMPLETED';