From 0d4b2d24f3fc08e730a2ab0405e28f28d07cb646 Mon Sep 17 00:00:00 2001 From: tacticalnoot <130199656+tacticalnoot@users.noreply.github.com> Date: Sat, 16 May 2026 00:15:25 -0500 Subject: [PATCH] Fix /id loading resilience and remove stray lyrics copy button --- src/components/smol/SmolResults.svelte | 4 +-- src/pages/[id].astro | 35 +------------------------- 2 files changed, 3 insertions(+), 36 deletions(-) diff --git a/src/components/smol/SmolResults.svelte b/src/components/smol/SmolResults.svelte index d90723b0..8460825c 100644 --- a/src/components/smol/SmolResults.svelte +++ b/src/components/smol/SmolResults.svelte @@ -85,7 +85,7 @@ let pollIntervalId: ReturnType | null = null; let retryCount = $state(0); let isPolling = $state(false); - const MAX_RETRIES = 30; // 30 * 2s = 60s max + const MAX_RETRIES = 120; // 120 * 2s = 4m max for slow generations const POLL_INTERVAL = 2000; // Context-aware back navigation @@ -289,7 +289,7 @@ if (retryCount >= MAX_RETRIES) { stopPolling(); - error = "Taking longer than expected. Click retry to continue."; + error = "Still generating in the background. Click retry to keep checking."; loading = false; return; } diff --git a/src/pages/[id].astro b/src/pages/[id].astro index 6e7cc9a8..9b03c0b0 100644 --- a/src/pages/[id].astro +++ b/src/pages/[id].astro @@ -157,16 +157,7 @@ if (id) { - {lyricsDisplay.trim().length > 0 && ( - - )} +
@@ -187,28 +178,4 @@ if (id) {
- -