mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +02:00
refactor: consolidate inbox data handling in LayoutDataProvider and related components, streamlining state management and improving performance by using a single data source for inbox items
This commit is contained in:
parent
bd783cc2d0
commit
eb775fea11
5 changed files with 350 additions and 677 deletions
|
|
@ -98,9 +98,5 @@ export const cacheKeys = {
|
|||
["notifications", "search", searchSpaceId, search, tab] as const,
|
||||
sourceTypes: (searchSpaceId: number | null) =>
|
||||
["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,
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue