docs(release): seal and deliver task agreement 1.25 with retained production state
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
export function summarize(tasks) {
|
||||
const done = tasks.filter(task => task.status === 'done').length;
|
||||
return { total: tasks.length, counts: { done }, completedPercent: tasks.length ? 100 : 0,
|
||||
remainingMinutes: tasks.reduce((sum, task) => sum + task.minutes, 0) };
|
||||
}
|
||||
Reference in New Issue
Block a user