alexei.dolgolyov 92eeeadec0 perf: batch-load app history to eliminate N+1 fetches on board load
Previously each AppWidget fetched /api/apps/{id}/history individually
on mount, causing N sequential HTTP requests. Now the board page
server load fetches all app histories in a single Prisma query via
getBatchStatusHistory() and passes them to AppWidget via Svelte
context. AppWidget uses the pre-loaded data immediately with a
fallback fetch for non-board contexts.
2026-03-25 15:36:06 +03:00
S
Description
No description provided
2.9 MiB
0.0.1 Latest
2026-04-10 21:23:00 +03:00
Languages
TypeScript 49.3%
Svelte 42%
HTML 7.1%
CSS 1.2%
JavaScript 0.2%
Other 0.2%