From 10df359fdb37a3a5cafc5acfb2ad13c5bf70dfa1 Mon Sep 17 00:00:00 2001 From: Till JS Date: Tue, 24 Mar 2026 20:05:06 +0100 Subject: [PATCH] fix(todo): simplify section headers - remove chevron, count, and collapse Sections are now always open with clean minimal headers: - Remove chevron toggle icon - Remove task count from section headers - Remove collapsible behavior (sections always visible) - Reduce icon size from 20 to 18 - Remove count from upcoming day subheaders Co-Authored-By: Claude Opus 4.6 (1M context) --- .../lib/components/CollapsibleSection.svelte | 69 ++++--------------- .../apps/web/src/routes/(app)/+page.svelte | 2 +- 2 files changed, 14 insertions(+), 57 deletions(-) diff --git a/apps/todo/apps/web/src/lib/components/CollapsibleSection.svelte b/apps/todo/apps/web/src/lib/components/CollapsibleSection.svelte index ad8dc1014..046b53417 100644 --- a/apps/todo/apps/web/src/lib/components/CollapsibleSection.svelte +++ b/apps/todo/apps/web/src/lib/components/CollapsibleSection.svelte @@ -1,24 +1,17 @@
- - - {#if isOpen} -
- {@render children()} -
- {/if} +
+ {@render children()} +
diff --git a/apps/todo/apps/web/src/routes/(app)/+page.svelte b/apps/todo/apps/web/src/routes/(app)/+page.svelte index 8d2cb69c1..a5959ee05 100644 --- a/apps/todo/apps/web/src/routes/(app)/+page.svelte +++ b/apps/todo/apps/web/src/routes/(app)/+page.svelte @@ -273,7 +273,7 @@ {#each groupedUpcomingTasks() as group}

- {group.label} ({group.tasks.length}) + {group.label}