From 3df106097016fae640a01d291652465a9bfe2bfe Mon Sep 17 00:00:00 2001 From: Markov Date: Sat, 28 Feb 2026 00:24:07 +0100 Subject: [PATCH] Fix task modal: key above title, parent/child key on kanban 1. Task key + parent breadcrumb moved ABOVE title in modal header 2. Kanban cards show 'TE-1 / TE-3' for subtasks 3. Close button aligned with key row --- src/components/KanbanBoard.tsx | 5 +++- src/components/TaskModal.tsx | 42 ++++++++++++++++++---------------- 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/src/components/KanbanBoard.tsx b/src/components/KanbanBoard.tsx index 0f2c681..7e5b23a 100644 --- a/src/components/KanbanBoard.tsx +++ b/src/components/KanbanBoard.tsx @@ -105,7 +105,10 @@ export default function KanbanBoard({ projectId, projectSlug }: Props) {
- {prefix}-{task.number} + + {task.parent_key && {task.parent_key} / } + {prefix}-{task.number} + {task.assignee && ( → {task.assignee.slug} )} diff --git a/src/components/TaskModal.tsx b/src/components/TaskModal.tsx index 0d3e89f..471ddd9 100644 --- a/src/components/TaskModal.tsx +++ b/src/components/TaskModal.tsx @@ -132,7 +132,28 @@ export default function TaskModal({ task, projectId: _projectId, projectSlug: _p > {/* Header */}
-
+
+
+ {task.parent_key && task.parent_id ? ( + + + / + + ) : null} + {task.key} +
+ +
+
{editingTitle ? ( )} - -
-
- {task.parent_key && task.parent_id ? ( - - - / - - ) : null} - {task.key}