feat(FN-4963): complete Step 2 — add chat sessions cache key

Fusion-Task-Id: FN-4963
Fusion-Task-Lineage: 791f5e46-c630-4883-89de-942cc85c329b
This commit is contained in:
Fusion (runfusion.ai)
2026-05-18 03:13:09 -07:00
committed by gsxdsm
parent 91697715c1
commit bca388af84
2 changed files with 2 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ describe("swrCache", () => {
expect(SWR_CACHE_KEYS.EVALS_RESULTS_PREFIX).toBe("kb-dashboard-evals-results-cache:");
expect(SWR_CACHE_KEYS.MISSIONS_PREFIX).toBe("kb-dashboard-missions-cache:");
expect(SWR_CACHE_KEYS.MISSIONS_SELECTED_ID_PREFIX).toBe("kb-dashboard-mission-selected-cache:");
expect(SWR_CACHE_KEYS.CHAT_SESSIONS_PREFIX).toBe("kb-dashboard-chat-sessions-cache:");
expect(SWR_CACHE_KEYS.MAILBOX_INBOX_PREFIX).toBe("kb-dashboard-mailbox-inbox-cache:");
expect(SWR_CACHE_KEYS.MAILBOX_OUTBOX_PREFIX).toBe("kb-dashboard-mailbox-outbox-cache:");
expect(SWR_CACHE_KEYS.MAILBOX_UNREAD_COUNT_PREFIX).toBe("kb-dashboard-mailbox-unread-cache:");

View File

@@ -17,6 +17,7 @@ export const SWR_CACHE_KEYS = {
DOCUMENTS_PREFIX: "kb-dashboard-documents-cache:",
TODO_LISTS_PREFIX: "kb-dashboard-todo-lists-cache:",
CHAT_ROOMS: "kb-dashboard-chat-rooms-cache",
CHAT_SESSIONS_PREFIX: "kb-dashboard-chat-sessions-cache:",
ACTIVE_CHAT_ROOM_ID: "kb-dashboard-active-chat-room-cache",
INSIGHTS_PREFIX: "kb-dashboard-insights-cache:",
INSIGHT_LATEST_RUN_PREFIX: "kb-dashboard-insight-latest-run-cache:",