Repository navigation
fix(gui): the phase indicator says not scored, and maturity averages only scored phases (#20658) - #20666
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
Code review on PR #20666 (head 9e65b40): approve. Read against the diff; no tests were run. Both #20658 criteria hold:
Low, not blocking: Not checked: |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
Auto-sync: merging
|
| side | commit | subject | issue refs |
|---|---|---|---|
| main | ba1111df9 |
Merge #20496 @ fe1d9af into the merge train | #20496 |
| main | 62b874223 |
fix(company-os): a company can require board approval to raise a budget limit (#8214) | #8214 |
| this branch | 9e65b40d4 |
fix(gui): unscored phase reads as not scored, not 0%, and is left out of maturity (#20658) | #20658 |
Closes #20658
Thinking Path
?? 0turned "no figure" into a measured 0%, and the average then counted it. Keepingnullthrough the component makes the difference visible everywhere it's read.What Changed
PhaseProgressionIndicator.vue: an unscored phase reads "Not scored", and its progress bar has noaria-valuenowand no fill. Maturity averages only scored phases, and shows "No phases scored" when there are none. A report'soverall_maturityis also no longer defaulted to 0.phaseScoring.ts:deriveStatusmaps a missing figure tonot_scored, andaverageScoredskips missing ones. An unscored card doesn't get the incomplete class.workflow.phaseProgression.noneScored. Size ceiling lowered from 634 to 618.Verification
PhaseProgressionIndicator.unscored.test.ts, covering unscored, measured 0%, mixed, all unscored and all scored: 5 passed, withreka-uistubbed.repo_tests/i18n_untranslated_ratchet_test.py: 13 passed. ESLint on the touched files printed nothing; commit hooks passed.vue-tsc, the component's stories, other vitest files, and any browser check.Model Used
Claude Opus 5.5