diff --git a/src/app/cycles/page.tsx b/src/app/cycles/page.tsx index ac1813c..39ec8a4 100644 --- a/src/app/cycles/page.tsx +++ b/src/app/cycles/page.tsx @@ -93,6 +93,13 @@ export default function CyclesPage() { {doneCount}/{cycleIssues.length} issues + {(() => { + const total = cycleIssues.reduce((sum, i) => sum + (i.estimate ?? 0), 0); + const done = cycleIssues + .filter((i) => doneKeys.has(i.status)) + .reduce((sum, i) => sum + (i.estimate ?? 0), 0); + return total > 0 ? ` · ${done}/${total} pts` : ""; + })()} diff --git a/src/app/issues/[id]/page.tsx b/src/app/issues/[id]/page.tsx index 7a57372..b341ec3 100644 --- a/src/app/issues/[id]/page.tsx +++ b/src/app/issues/[id]/page.tsx @@ -240,6 +240,28 @@ function IssueDetail({ issueId }: { issueId: string }) { +
+ Estimación + +
+
Asignado