From 73bc51e0ab9fac0153c99010249125836b805655 Mon Sep 17 00:00:00 2001 From: Oier Bravo Urtasun Date: Tue, 14 Apr 2026 03:21:27 +0200 Subject: [PATCH] feat(detail): drop "ACTIVE LIST" / "TASK MANAGER" eyebrow; show status via pill + strikethrough MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Detail views (/lists/[id], /tasks/[id]) no longer show the editorial uppercase label above the editable title. The title moves up into that space for a cleaner top. Status signaling on /lists/[id] (replaces the hardcoded "ACTIVE LIST"): - list.status === 'completed' → title renders text-text-secondary + line-through - list.status === 'archived' → muted pill next to the title (data-testid="list-status-pill", slate-200 bg) - list.status === 'active' → no extra chrome, just the title /tasks/[id] has no status on task_lists — just the label drop. Verified: just test-all → exit 0, 233 green, 2 skipped. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/routes/(app)/lists/[id]/+page.svelte | 18 ++++++++++++------ .../src/routes/(app)/tasks/[id]/+page.svelte | 5 +---- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/apps/web/src/routes/(app)/lists/[id]/+page.svelte b/apps/web/src/routes/(app)/lists/[id]/+page.svelte index 1b63d85..e3088c9 100644 --- a/apps/web/src/routes/(app)/lists/[id]/+page.svelte +++ b/apps/web/src/routes/(app)/lists/[id]/+page.svelte @@ -672,19 +672,25 @@
-
-

- {m.list_status_active()} -

+ NAME_SAVE_DEBOUNCE_MS of inactivity. Status signals: strikethrough + on completed lists, muted pill next to the title for archived. --> +
+ {#if list?.status === 'archived'} + + {m.list_status_archived()} + + {/if}
{#if uncheckedItems.length === 0 && checkedItems.length === 0} diff --git a/apps/web/src/routes/(app)/tasks/[id]/+page.svelte b/apps/web/src/routes/(app)/tasks/[id]/+page.svelte index abb3b02..7c4b05f 100644 --- a/apps/web/src/routes/(app)/tasks/[id]/+page.svelte +++ b/apps/web/src/routes/(app)/tasks/[id]/+page.svelte @@ -233,10 +233,7 @@
-
-

- {m.masthead_tasks_label()} -

+