Collection notification filtering (#39198)

This commit is contained in:
Echo authored and GitHub committed 2026-05-28 20:13:56 +00:00
1 parent faa5944d46
commit 4101f567c5
9 files changed
+218 -8

No files matched your search

@@ -36,9 +36,18 @@ function notificationTypeForFilter(type: NotificationType) {
}
function notificationTypeForQuickFilter(type: NotificationType) {
if (type === 'quoted_update') return 'update';
else if (type === 'quote') return 'mention';
else return type;
switch (type) {
case 'quoted_update':
return 'update';
case 'quote':
return 'mention';
case 'collection_update':
return 'collection';
case 'added_to_collection':
return 'collection';
default:
return type;
}
}
function excludeAllTypesExcept(filter: string) {