From 836d30e2624f5f8f5c93ddc239593354f5e88990 Mon Sep 17 00:00:00 2001
From: Marcel
Date: Sat, 18 Apr 2026 14:07:23 +0200
Subject: [PATCH] feat(frontend): wire progress bar, upload zone, and file
replace into enrich page
- Required-fields progress bar (Pflichtfelder) with role="progressbar" ARIA tracks
Titel, Datum, and Absender live via bound props from child components
- Left panel shows UploadZone for PLACEHOLDER documents (no filePath); after upload
invalidates 'app:document' to transition to PDF viewer without page reload
- AbortController powers the cancel button during upload
- "Datei ersetzen" ghost button lives in a thin toolbar above the PDF viewer
- dateIso and currentTitle are now bound from WhoWhenSection/DescriptionSection
Co-Authored-By: Claude Sonnet 4.6
---
frontend/src/routes/enrich/[id]/+page.svelte | 128 ++++++++++++++++---
1 file changed, 112 insertions(+), 16 deletions(-)
diff --git a/frontend/src/routes/enrich/[id]/+page.svelte b/frontend/src/routes/enrich/[id]/+page.svelte
index 783326bc..6b1eea0a 100644
--- a/frontend/src/routes/enrich/[id]/+page.svelte
+++ b/frontend/src/routes/enrich/[id]/+page.svelte
@@ -1,9 +1,12 @@
@@ -67,20 +118,61 @@ let selectedReceivers = $state(untrack(() => doc.receivers ?? []));