fix(clients): persist project icons across reloads and reconnects (#10138)

This commit is contained in:
Wout Stiens authored and GitHub committed 2026-09-05 18:50:02 -07:00
1 parent 050690d1bc
commit eee05575eb
20 files changed
+1207 -62

No files matched your search

+8
View File
@@ -1,5 +1,13 @@
export const PROJECT_FAVICON_FALLBACK_MARKER = "project-favicon-missing";
export function getProjectFaviconResourceKey(
environmentId: string,
workspaceRoot: string,
faviconPath?: string | null,
) {
return JSON.stringify([environmentId, workspaceRoot, faviconPath || null]);
}
export function getProjectFaviconCacheKey(
environmentId: string,
workspaceRoot: string,