Repository navigation
TPS-1482: KPI Comparison component - #434
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (6)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughKPI charts now accept null values and distinguish null comparison values from numeric zero. Comparison sections are omitted when the main value is null. Percentage mode uses the formatted absolute difference when the comparison value is zero. ChangesKPI comparison handling
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~12 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to The nullable comparison behavior is consistent with the supplied tests and release note; no identified issue blocks merging after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|



Why is this pull-request needed?
here are some inconsistencies with the values of the KPI Comparison Component, also behaving the same way when the previous period has a null value and it has a 0 (intentional) value.
Main changes
Changes to the KPI Comparison component.
Test Evidence
Component before changes:
Component after changes:
Summary by CodeRabbit