Skip to content

[2.0] Fixes #39529: Show nested column paths in lineage and draw in-model column edges on the right column rows (#39730) - #39761

Merged
chirag-madlani merged 2 commits into
2.0from
chirag-madlani/backport-2.0-pr-39730
Dec 4, 2026
Merged

chirag-madlani merged 2 commits into
2.0from
chirag-madlani/backport-2.0-pr-39730

Conversation

@chirag-madlani

Copy link
Copy Markdown
Collaborator

Backport of #39730 to 2.0. Fixes #39529.

The automated backport (run) stopped on conflicts: 2.0 still has the Ant Design edge drawer and node rows, which main rewrote between the two. This applies the fix to the 2.0 code instead of carrying the main-only refactors along.

Included

  • getChildPathFromFQN / getParentPathFromFQN (FqnUtils).
  • Edge drawer: Source Column / Target Column show the column's path inside its own model (Orders.customer_id), and the source and target nodes are looked up separately, so an edge inside one model shows its Target row.
  • Node column list: while the lineage-only filter (outside edit mode) or a search hides parent rows, nested columns show their parent path. The path truncates first; the name stays visible; the full path is in the tooltip. Built with Ant Design Tooltip / Typography.Text to match the rest of the 2.0 file.
  • A column edge inside one model loops on the node's right side between the two column rows (getColumnLineageCoordinates, getEdgePathData).

Not included (main-only)

  • The column-mapping summary row in the drawer (2.0 doesn't have it).
  • Moving the drawer helpers to EdgeInfoDrawer.utils.ts.
  • Core Typography/Tooltip for the label: 2.0's core library lacks Tooltip.excludeTriggerFromTabOrder and Typography.color.

Tests

Screenshots: see #39730. The UI was not re-checked on a 2.0 build.

🤖 Generated with Claude Code

…odel column edges on the right column rows (#39730)

Backport of #39730 to 2.0, adapted to the 2.0 lineage code:
- Drawer and node column rows keep 2.0's Ant Design components; only the
  path labels, the self-edge node lookup and the in-model column loop are
  applied.
- The column-mapping summary row, the drawer utils move and the core
  Typography/Tooltip label are main-only and not included.

(cherry picked from commit ef53974)
@chirag-madlani
chirag-madlani requested a review from a team as a code owner December 4, 2026 07:12
@chirag-madlani
chirag-madlani requested review from sweta1308 and a balanced review from Copilot and removed request for a team December 4, 2026 07:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@github-actions

github-actions Bot commented Dec 4, 2026

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.

Adding Tooltip to the antd import failed the Antd + Less deprecation guard.
The core Tooltip continues press propagation so a click still selects the row.
Copilot AI balanced review requested due to automatic review settings December 4, 2026 09:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@gitar-bot

gitar-bot Bot commented Dec 4, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Changing lineage edge routing and nested-column labels could misplace or obscure lineage relationships in the UI.

Backports the nested column path lineage fix to 2.0, showing parent paths for nested columns in the node list and routing in-model column edges between the right-side column rows. 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

@chirag-madlani
chirag-madlani merged commit 9db50f2 into 2.0 Dec 4, 2026
56 of 58 checks passed
@chirag-madlani
chirag-madlani deleted the chirag-madlani/backport-2.0-pr-39730 branch December 4, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants