From 2413c29fc0534e39ec7f2e3476511845770aca57 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Sun, 4 Oct 2026 17:19:15 -0400 Subject: [PATCH] Fix pausing log auto-refresh and cancel stale reads --- src/lib/ui/components/LogPanel.svelte | 70 ++++-------- src/lib/ui/log-refresh.ts | 91 +++++++++++++++ tests/unit/log-refresh.test.ts | 155 ++++++++++++++++++++++++++ 3 files changed, 268 insertions(+), 48 deletions(-) create mode 100644 src/lib/ui/log-refresh.ts create mode 100644 tests/unit/log-refresh.test.ts diff --git a/src/lib/ui/components/LogPanel.svelte b/src/lib/ui/components/LogPanel.svelte index 9a979ac..a951534 100644 --- a/src/lib/ui/components/LogPanel.svelte +++ b/src/lib/ui/components/LogPanel.svelte @@ -1,9 +1,9 @@