From 1ab5911742f470b6f78c2751d20527852fd48edf Mon Sep 17 00:00:00 2001 From: OpenClaw Bot Date: Thu, 19 Feb 2026 18:47:51 -0600 Subject: [PATCH] Show all sprint tasks regardless of project in Kanban --- src/app/page.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 98b157d..e25f04f 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -89,18 +89,17 @@ export default function Home() { const selectedTask = tasks.find((t) => t.id === selectedTaskId) const projectTasks = selectedProjectId ? getTasksByProject(selectedProjectId) : [] - // Get current active sprint for the selected project + // Get current active sprint (across all projects) const now = new Date() const currentSprint = sprints.find((s) => - s.projectId === selectedProjectId && s.status === 'active' && new Date(s.startDate) <= now && new Date(s.endDate) >= now ) - // Filter tasks to only show current sprint tasks in Kanban + // Filter tasks to only show current sprint tasks in Kanban (from ALL projects) const sprintTasks = currentSprint - ? projectTasks.filter((t) => t.sprintId === currentSprint.id) + ? tasks.filter((t) => t.sprintId === currentSprint.id) : [] const handleAddProject = () => {