From e43eae5afd28cd2564d07c6d7522fac0dd920ca9 Mon Sep 17 00:00:00 2001 From: Dylan De Faoite Date: Sat, 21 Mar 2026 22:49:16 +0000 Subject: [PATCH] fix(frontend): missing "fetching" status from auto-scrape When auto-scraping, the dataset status page would say "Dataset Ready" when it was still fetching. --- frontend/src/pages/DatasetStatus.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/DatasetStatus.tsx b/frontend/src/pages/DatasetStatus.tsx index 919e48d..331a470 100644 --- a/frontend/src/pages/DatasetStatus.tsx +++ b/frontend/src/pages/DatasetStatus.tsx @@ -6,7 +6,7 @@ import StatsStyling from "../styles/stats_styling"; const API_BASE_URL = import.meta.env.VITE_BACKEND_URL type DatasetStatusResponse = { - status?: "processing" | "complete" | "error"; + status?: "fetching" | "processing" | "complete" | "error"; status_message?: string | null; completed_at?: string | null; }; @@ -73,7 +73,7 @@ const DatasetStatusPage = () => { }; }, [navigate, parsedDatasetId, status]); - const isProcessing = loading || status === "processing"; + const isProcessing = loading || status === "fetching" || status === "processing"; const isError = status === "error"; return (