@@ -346,9 +348,30 @@ function TimelineView({ tasks, goals }: { tasks: TaskRecord[]; goals: GoalRecord
+ {goalProjects.length > 0 && (
+
+ {goalProjects.map((p) => {
+ const projectTasks = linked.filter((t) => t.projectId === p.id);
+ const projectDone = projectTasks.filter((t) => t.status === TASK_STATUS.DONE).length;
+ return (
+
+ {truncate(p.name, 24)} {projectDone}/{projectTasks.length}
+
+ );
+ })}
+
+ )}