feat: add filtering options for notifications by 'unread' and 'errors', enhancing user experience in the notifications list

This commit is contained in:
Anish Sarkar 2026-03-06 18:32:28 +05:30
parent 1aa2c8a334
commit bd783cc2d0
5 changed files with 84 additions and 17 deletions

View file

@ -100,5 +100,7 @@ export const cacheKeys = {
["notifications", "source-types", searchSpaceId] as const,
bySourceType: (searchSpaceId: number | null, sourceType: string) =>
["notifications", "by-source-type", searchSpaceId, sourceType] as const,
byFilter: (searchSpaceId: number | null, filter: string) =>
["notifications", "by-filter", searchSpaceId, filter] as const,
},
};