Skip to content

[2.1] Load React Flow styles in the pipeline task DAG and theme its nodes (backport 2.1 #37831) - #37841

Merged
shah-harshit merged 3 commits into
2.1from
shah-harshit/backport-2.1-37831
Nov 16, 2026
Merged

shah-harshit merged 3 commits into
2.1from
shah-harshit/backport-2.1-37831

Conversation

@shah-harshit

@shah-harshit shah-harshit commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

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:

  • Bug fix

Tests:

  • Jest on 2.1: src/components/Pipeline → 43 tests passed.
  • organize-imports, ESLint (--fix) and Prettier on the changed files: no errors, no changes.
  • Playwright: not run locally.

Checklist:

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence 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.

  • Pipeline task diagrams load their own styles and use theme-colored nodes.

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

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)
@shah-harshit
shah-harshit requested a review from a team as a code owner November 16, 2026 06:08
@shah-harshit
shah-harshit requested review from chirag-madlani and removed request for a team November 16, 2026 06:08
@shah-harshit shah-harshit added UI UI specific issues safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check labels Nov 16, 2026
@shah-harshit shah-harshit self-assigned this Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Loading 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.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@shah-harshit
shah-harshit merged commit 1de8290 into 2.1 Nov 16, 2026
56 of 57 checks passed
@shah-harshit
shah-harshit deleted the shah-harshit/backport-2.1-37831 branch November 16, 2026 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant