From 4b8c5740969652b73e3c9104ab88597c742a5053 Mon Sep 17 00:00:00 2001 From: Algis Dumbris Date: Thu, 26 Mar 2026 08:30:36 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20Agent=20Runs=20page=20stuck=20on=20Loadi?= =?UTF-8?q?ng=20=E2=80=94=20use=20$effect=20instead=20of=20onMount?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The onMount + async pattern wasn't triggering Svelte 5 reactivity properly. Switched to $effect with $user dependency (same pattern used by Sidebar and other components). Also waits for auth before loading data. Co-Authored-By: Claude Opus 4.6 (1M context) --- internal/web/dist/index.html | 12 ++++++------ web/src/routes/runs/+page.svelte | 28 +++++++++++++++++++--------- 2 files changed, 25 insertions(+), 15 deletions(-) diff --git a/internal/web/dist/index.html b/internal/web/dist/index.html index 94c13a7..2b0a20b 100644 --- a/internal/web/dist/index.html +++ b/internal/web/dist/index.html @@ -11,30 +11,30 @@ - - + + - +