From d83707ec3bd444890c1000bdedac013e3da590ff Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 2 Jun 2026 19:24:52 +0200 Subject: [PATCH] refactor(admin-tags): migrate tag-edit page from $app/stores to $app/state The legacy $app/stores subscription API is replaced with the modern $app/state reactive proxy (page.url.pathname), per ADR-012's architectural follow-on. The two spec mocks of $app/stores are replaced with sync-factory $app/state mocks, matching the existing convention in aktivitaeten/documents specs. Part of #560. Co-Authored-By: Claude Opus 4.8 --- frontend/src/routes/admin/tags/[id]/+page.svelte | 4 ++-- .../src/routes/admin/tags/[id]/page.svelte.spec.ts | 9 +++------ .../src/routes/admin/tags/[id]/page.svelte.test.ts | 11 ++++------- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/frontend/src/routes/admin/tags/[id]/+page.svelte b/frontend/src/routes/admin/tags/[id]/+page.svelte index 8278d7c5..7fbd52c0 100644 --- a/frontend/src/routes/admin/tags/[id]/+page.svelte +++ b/frontend/src/routes/admin/tags/[id]/+page.svelte @@ -1,7 +1,7 @@