MR check: frontend !12657: feat(ctc): add workflow tab
- MR frontend!12657, from
feat/ctc-newintoautest, by Reza, updated 2026-11-12, checked at commit0a245e6e. - Verdict: Safe. Of 50 certified dashboards: Broken 0, Affected 0, Needs review 0, Safe 50.
- Post the comment? Not needed (Safe). Post only if the team wants a comment on every MR.
- Changed: 0 migration(s), 0 model file(s), 10 code file(s) naming report data, 20 other file(s).
Drafted comment (not posted)
The comment a developer would see, between the two lines. Nothing is posted by the tool; whether comments are ever posted, and by whom, is not decided.
Report impact check: Safe. No certified Superset dashboard is affected by this MR (50 checked).
Read and cleared: 10 files that name report data (they don't change what gets stored).
Checked at 0a245e6e against the 50 published and certified Superset dashboards (map built 2026-11-16) by the Report Impact Checker AI Tool (read-only). Questions: Lucas (BI).
Details for Lucas
Reviewed: Safe
src/hooks/budget/useCTCCellAttributes.tsx: New hook that loads a CTC snapshot's cell edits (GET only). Nothing is written; full_name is the editor's name shown on screen.src/hooks/budget/useCTCReportComments.tsx: Loads and saves per-row comments on a CTC snapshot (ctc-report comments). These comments are not read by any certified dashboard; no budget or comment-service data that reports read is written.src/pages/private/budget/components/Form/ContingencyModal.tsx: Re-checked after the 13 Nov blind review: the CTC revision and contingency popups post to the snapshot cell-attributes endpoint; budget-services stores CTC cell attributes and, for a live row, a BudgetCell (table budget_cells, @Table({ tableName: 'budget_cells' })). Certified dashboards read only budget_services budgets and budget_versions, so no report data changes. (Was Note.)src/pages/private/budget/components/ModalTakeSnapshotCTC.tsx: Taking a CTC snapshot now also uploads the raw source JSON and stores its path on the CTC report. CTC snapshots are not read by certified dashboards; the 'version' key is the snapshot file's own _meta, not budget_versions.data.src/pages/private/budget/ctc/cost-head-detail/CostHeadDetail.tsx: Re-checked after the 13 Nov blind review: the CTC revision and contingency popups post to the snapshot cell-attributes endpoint; budget-services stores CTC cell attributes and, for a live row, a BudgetCell (table budget_cells, @Table({ tableName: 'budget_cells' })). Certified dashboards read only budget_services budgets and budget_versions, so no report data changes. (Was Note.)src/pages/private/budget/ctc/ctc-report/CTCReport.tsx: Adds a comment column to the CTC report table (saved as CTC snapshot row comments). No report data is written.src/pages/private/budget/ctc/forecast-cost/ForecastCostSummary.tsx: Adds a comment column to the forecast cost summary (saved as CTC snapshot row comments). No report data is written.src/pages/private/budget/ctc/workflow/ApprovalWorkflow.tsx: New approval tab for a CTC snapshot's workflow (ref type CTC_REPORT): shows steps, lets assignees approve, reject or skip with a signature, and add step comments, using the existing workflow calls. Dashboards read workflow items only through AP invoice uuids, so CTC workflows don't reach them; smp.signature and the other matches are incidental.src/pages/private/budget/ctc/CTCRowCommentCell.tsx: Comment cell component for CTC snapshot rows (saves on blur through the CTC comments hook). No report data is written.src/pages/private/budget/ctc/applyCTCCellOverrides.ts: Recalculates a CTC snapshot's figures in the browser from its saved cell edits, for display. Writes nothing; the JSON key matches are field names of the in-memory budget rows.