From 439b2133bd111ab251ff1b84402f37cd60ad06e1 Mon Sep 17 00:00:00 2001 From: Marcel Date: Fri, 12 Jun 2026 11:52:13 +0200 Subject: [PATCH] =?UTF-8?q?feat(geschichten):=20add=20Entw=C3=BCrfe=20sect?= =?UTF-8?q?ion=20above=20published=20list=20for=20blog=20writers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drafts appear in a separate unfiltered section at the top of the overview, clearly separated by a divider and labelled with the draft badge on each row. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/geschichten/+page.svelte | 21 +++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/frontend/src/routes/geschichten/+page.svelte b/frontend/src/routes/geschichten/+page.svelte index d14f950e..5b572477 100644 --- a/frontend/src/routes/geschichten/+page.svelte +++ b/frontend/src/routes/geschichten/+page.svelte @@ -133,7 +133,26 @@ function removeDocument() { {/if} - + + {#if data.drafts.length > 0} +
+

+ {m.geschichten_drafts_heading()} + {m.geschichten_drafts_unfiltered_caption()} +

+
    + {#each data.drafts as g (g.id)} +
  • + +
  • + {/each} +
+
+ {/if} + + {#if data.geschichten.length === 0}
{emptyMessage}