From e18282318a303cb5753bbeacd9b7d5437a0a3491 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sun, 14 Jun 2026 20:33:35 +0200 Subject: [PATCH] feat(timeline): wire the layer filter into /zeitstrahl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The route holds the three layer toggles in $state, binds them into TimelineFilters, and derives a client-side filtered view of the SSR-loaded timeline that it passes to TimelineView โ€” no goto, no URL param, no extra fetch. When the active toggles leave nothing visible it renders a calm filtered-empty message plus a one-click reset below the still-open filter bar, never a blank page and never the generic "no events" state. The meta-line keeps counting the unfiltered timeline (D1 known limitation). Refs #780 Co-Authored-By: Claude Opus 4.8 --- frontend/src/routes/zeitstrahl/+page.svelte | 48 ++++++++++- .../src/routes/zeitstrahl/page.svelte.spec.ts | 86 +++++++++++++++++++ 2 files changed, 133 insertions(+), 1 deletion(-) diff --git a/frontend/src/routes/zeitstrahl/+page.svelte b/frontend/src/routes/zeitstrahl/+page.svelte index 75dad484..73ecb287 100644 --- a/frontend/src/routes/zeitstrahl/+page.svelte +++ b/frontend/src/routes/zeitstrahl/+page.svelte @@ -1,7 +1,9 @@