From 3f0811043e89ea75df4caf826dee385e392ca233 Mon Sep 17 00:00:00 2001 From: Till JS Date: Tue, 31 Mar 2026 22:23:31 +0200 Subject: [PATCH] feat(todo): refactor inline title editing + kanban subtask DnD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - TaskItem: switch title editing to -based pattern (isEditingTitle state, single-click to start, blur/Enter saves, Escape cancels) - KanbanTaskCard: contenteditable span for title editing (blur-to-save), add ArrowsOutSimple detail button (hover-only), inline subtask DnD with shadow placeholder handling and dropInProgress guard - SubtaskList: fix DnD reactivity loop — use $state instead of $derived for items, add SHADOW_PLACEHOLDER_ITEM_ID filter, dropInProgress flag fix(guides): remove non-existent allAppsHref prop from PillNavigation fix(memoro): extend Memory interface with memo_id, timestamps, nullable types Co-Authored-By: Claude Sonnet 4.6 --- .../apps/web/src/routes/(app)/+layout.svelte | 1 - .../web/src/lib/services/questionService.ts | 7 +- .../web/src/lib/components/SubtaskList.svelte | 129 ++-- .../web/src/lib/components/TaskItem.svelte | 107 +-- .../components/kanban/KanbanTaskCard.svelte | 262 +++++--- pnpm-lock.yaml | 628 +++++++----------- 6 files changed, 522 insertions(+), 612 deletions(-) diff --git a/apps/guides/apps/web/src/routes/(app)/+layout.svelte b/apps/guides/apps/web/src/routes/(app)/+layout.svelte index b9d410140..9c6060dcf 100644 --- a/apps/guides/apps/web/src/routes/(app)/+layout.svelte +++ b/apps/guides/apps/web/src/routes/(app)/+layout.svelte @@ -158,7 +158,6 @@ showAppSwitcher={true} {appItems} {userEmail} - allAppsHref="/apps" />
diff --git a/apps/memoro/apps/web/src/lib/services/questionService.ts b/apps/memoro/apps/web/src/lib/services/questionService.ts index 1866d8c26..184f536d0 100644 --- a/apps/memoro/apps/web/src/lib/services/questionService.ts +++ b/apps/memoro/apps/web/src/lib/services/questionService.ts @@ -19,9 +19,12 @@ export interface QuestionResult { export interface Memory { id: string; + memo_id: string; title: string; - content: string; - metadata?: Record; + content: string | null; + metadata?: Record | null; + created_at: string; + updated_at: string; } class QuestionService { diff --git a/apps/todo/apps/web/src/lib/components/SubtaskList.svelte b/apps/todo/apps/web/src/lib/components/SubtaskList.svelte index 14ddbe2eb..5df00fbb6 100644 --- a/apps/todo/apps/web/src/lib/components/SubtaskList.svelte +++ b/apps/todo/apps/web/src/lib/components/SubtaskList.svelte @@ -1,7 +1,8 @@