Drop the unused Logo icon variant, poll the Home runs tile at 10s

The icon variant lost its last caller when the responsive variant stopped
carrying a second cropped image. runOverviewQueryOptions now takes the
refetch interval, defaulting to the 30s the Runs screen and the dashboard
panel want; Home passes 10s so a short run does not linger on the tile.
agents.md spells the API host as api.${DOMAIN}, which is what the rest of
the docs use.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CL9zvnnvcp1mvA8o7impxk
This commit is contained in:
2026-09-06 14:24:28 +02:00
co-authored by Claude Opus 5
parent c8f14b6913
commit a3cb9cc817
4 changed files with 14 additions and 9 deletions
+8 -2
View File
@@ -73,10 +73,16 @@ export const runsListQueryOptions = (
queryFn: () => RunsService.readRuns(filters),
})
export const runOverviewQueryOptions = () => ({
/**
* Runs counted by status.
*
* A training run is measured in hours, so half a minute is close enough by
* default; a caller watching short runs land passes something shorter.
*/
export const runOverviewQueryOptions = (refetchInterval = 30_000) => ({
queryKey: runKeys.overview,
queryFn: () => RunsService.readOverview(),
refetchInterval: 30_000,
refetchInterval,
})
export const runQueryOptions = (id: string) => ({