Repository navigation
[2.1] Load React Flow styles in the pipeline task DAG and theme its nodes (backport 2.1 #37831) - #37841
Conversation
The task DAG drew status dots from LESS palette variables and left the node surface and text unset, so nodes did not follow the theme. Use the Collate styling: surface and text tokens on the node, visualization tokens for the status dot, and a Tailwind class for the 24px zoom controls. Drops both LESS files. (cherry picked from commit d01da93)
…fault node frame TasksDAGView never imported reactflow/dist/style.css, so the DAG only laid out correctly after the Lineage tab had loaded it. Import it, reset React Flow's default node wrapper (TaskNode draws its own card), and hide the attribution as Lineage does. (cherry picked from commit ad4d46d)
Drops the descendant-selector + !important override on the controls; the React Flow default size needs no caller-side styling. (cherry picked from commit 693044b)
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟡 Medium riskLoading React Flow styles and overriding DAG node wrappers changes task-graph rendering, which could obscure task status or make nodes harder to read. Backports the React Flow stylesheet import, default node frame reset, and core-token theming for the pipeline Tasks DAG view, along with keeping React Flow's default zoom controls. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
Backports #37831 to
2.1.Cherry-picks all 3 commits of #37831 (still open on
main); all applied cleanly.The pipeline Tasks → Dag view: imports React Flow's stylesheet (it only rendered correctly after the Lineage tab had loaded it), resets React Flow's default node frame, themes the nodes and status dots with core tokens for dark mode, and keeps React Flow's default zoom controls. Screenshots and details on #37831.
Type of change:
Tests:
src/components/Pipeline→ 43 tests passed.--fix) and Prettier on the changed files: no errors, no changes.Checklist:
🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no blocking issues were found.Summary
This backport fixes styling in the pipeline Tasks → Dag view and gives task cards theme-aware colors.
No actionable issues found. Tests were not run during this review.
Reviews (3) · Last reviewed commit: "fix(pipeline): keep React Flow's default..." · Reviewed by Greptile