Commit 53ae32a
fix: filter completedEpics to exclude on-demand epics (progress >100% fix)
Addresses Copilot review feedback: completedEpics was counting ALL epics
(including on-demand) while totalEpics excluded on-demand. This could cause
progress to be inaccurate or exceed 100% when an on-demand epic completes.
Fix: use Object.entries() + filter by !EPIC_CONFIG[num]?.onDemand in both
_calculateProgressFromState() and getProgressPercentage().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b0e168c commit 53ae32a
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1357 | 1357 | | |
1358 | 1358 | | |
1359 | 1359 | | |
1360 | | - | |
1361 | | - | |
| 1360 | + | |
| 1361 | + | |
1362 | 1362 | | |
1363 | 1363 | | |
1364 | 1364 | | |
| |||
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | | - | |
1418 | | - | |
| 1417 | + | |
| 1418 | + | |
1419 | 1419 | | |
1420 | 1420 | | |
1421 | 1421 | | |
| |||
0 commit comments