MR check: frontend !12840: feat(workflow): enhance comment handling by adding step-specific comments
- MR frontend!12840, from
cherrypick/workflow-step-commentsintoautest, by Fatwa, updated 2026-11-04, checked at commitffbe5b28. - 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), 3 code file(s) naming report data, 1 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: 3 files that name report data (they don't change what gets stored).
Checked at ffbe5b28 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/defect/useDefectForm.tsx: Adds optional stepLabel and stepNodeId fields to the comment type. Types only; nothing is stored.src/hooks/workflow/useWorkflowCommentbyStep.ts: Adds getStepComments, which fetches each workflow step's comments (GET /comments). Read-only.src/pages/private/workflow/WorkflowsDetailPage.tsx: The workflow detail page now shows step comments grouped by step with a filter. Display only; workflow nodes are read, not changed.