MPDX-9751 Monthly summary chart view - #2020
Conversation
|
Preview branch generated at https://mpdx-9751-monthly-summary-chart-view.d3dytjb8adxkk5.amplifyapp.com |
Bundle sizes [mpdx-react]Compared against 914884c
|
kegrimes
left a comment
There was a problem hiding this comment.
Multi-Agent Code Review (agent-review, standard mode)
5 specialized agents (Architecture, Testing, Standards, Financial Reporting, UX) plus a dependency-impact pass and a targeted gap review, with a full cross-examination debate round.
Verdict: APPROVED WITH SUGGESTIONS
No blockers. Nothing survives debate above severity 6.8, and this PR touches zero auth/security/migration/GraphQL surface — every finding is display-layer. The mechanical risk score below (10/10) is a file-count artifact of touching 7 medium-risk files across two feature areas; it does not reflect actual risk here.
Top 3 things worth doing before/soon after merge:
- WCAG contrast regression —
chipGreenDark/chipRedDarkfail AA as table text (2.78:1 / 3.68:1) wheresuccess.main/error.mainpassed (5.13:1 / 4.98:1). - Toggle/content desync — clicking "Chart view" with zero rows leaves the table on screen while the toggle claims Chart is selected.
- Misplaced hook + component —
useMonthlySummaryChartDatacan only run inside one feature's context, andMonthlySummaryChartis now reached into cross-feature without living in a shared location.
All 16 existing/updated tests pass. No breaking changes found by the dependency-impact pass (all 3 real call sites of MonthlySummaryChart were updated correctly).
Inline comments below carry a machine-readable severity tag. Reply /dismiss: <reason> on any comment tagged severity < 7 if you disagree — severity ≥ 7 findings can't be dismissed (there are none in this review).
|
@wjames111 Looking for a quick glance at this PR! I couldn't get the approval (it was ranked as Critical) |
wjames111
left a comment
There was a problem hiding this comment.
Did a quick skim and tested, looks good to me! UI is looking great on Supervisor Report
e2c8577 to
7e36760
Compare
Description
In the MPD Supervisors report, we want to add a chart view alongside the table view in the monthly summary tab that users can toggle between.
Jira ticket: MPDX-9751
Testing
MPD supervisor test:
/hrTools/mpdSupervisorReportMPGA test:
/reports/mpgaIncomeExpensesChecklist:
/quality:agent-reviewcommand locally and fixed any relevant suggestions