Repository navigation
Fixes 36242: Use the shared AI page layout on Platform Lineage - #36253
Conversation
In AI mode the lineage page rendered through the classic PageLayoutV1, so its header gutter, the gap under the header and the canvas inset differed from the other AI pages, and the canvas's fixed height overflowed the page by 16px. Render it through core PageLayout with the standard 16px content offset, and let the canvas fill the content region.
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
Code Review ✅ Approved🟡 Medium risk · Moving AI-mode lineage into the shared page layout changes canvas sizing, which could mis-size the canvas or cause clipping and overflow. Switches the 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 |
|
…age-release-fixes #36253 moved the Lineage page onto the shared AI page layout. The tab title this branch fixes is now its pageTitle, which the AI layout's DocumentTitle reads too, so the AI-mode test expects the entity's name. The Playwright impact map is regenerated.



Describe your changes:
Fixes #36242
In AI mode,
/lineagerendered through the classicPageLayoutV1, so its page frame didn't match the other AI pages (Metrics, Alerts, Data Quality, AI Automations):calc(100vh - @om-navbar-height - 98px)based on the classic navbar and header, so in AI mode it overflowed the page by 16px and the bottom edge scrolled.In AI mode the page now renders the standard AI structure: core
PageLayout→PageLayout.PageHeader(gradient) →PageLayout.Content className="tw:pt-4", the same asMetricListPage. The canvas fills the content region through a.platform-lineage-container-fillmodifier (height: 100%). Classic mode is unchanged:PageLayoutV1+ header card + the fixed-height canvas.The page title and
LineageConfigModalare hoisted so both branches share them. The AI branch sets the title with the app's store-basedDocumentTitle, the same as the ContextCenter pages andTaskDetailsPage.Type of change:
High-level design:
N/A — small change (3 files, one page).
Tests:
Use cases covered
/lineageheader, the gap under the header and the canvas insets match the other AI pages, and the canvas fills the page with no overflow.PageLayout.Content, and the browser tab title is set.Unit tests
src/pages/PlatformLineage/PlatformLineage.test.tsx:PageLayoutandPageLayout.Content.PageLayoutV1isn't used, and the document title islabel.entity-lineage.npx jest src/pages/PlatformLineage: 40 passed, 0 failed.PlatformLineage.tsx: 96.9% lines, 96.77% branches.Backend integration tests
Ingestion integration tests
Playwright (UI) tests
127.0.0.1:3021with/apiproxied to a local:8585server.Local Playwright run: FAILED
90572d3e4cfd(baseorigin/main)playwright/e2e/Features/ClassificationImportExport.spec.tsplaywright/e2e/Features/Dashboards.spec.tsplaywright/e2e/Features/ImpactAnalysis.spec.tsplaywright/e2e/Features/LineageExportPNGSnapshot.spec.tsplaywright/e2e/Features/SampleDataTableOperations.spec.tsplaywright/e2e/Flow/LineageSettings.spec.tsplaywright/e2e/Flow/Navbar.spec.tsplaywright/e2e/Pages/DataMarketplace.spec.tsplaywright/e2e/Pages/Lineage/DataAssetLineage.spec.tsplaywright/e2e/Pages/Lineage/LineageControls.spec.tsplaywright/e2e/Pages/Lineage/LineageFilters.spec.tsplaywright/e2e/Pages/Lineage/LineageInteraction.spec.tsplaywright/e2e/Pages/Lineage/LineageLargeResponse.spec.tsplaywright/e2e/Pages/Lineage/LineageNodePagination.spec.tsplaywright/e2e/Pages/Lineage/LineageRightPanel.spec.tsplaywright/e2e/Pages/Lineage/PlatformLineage.spec.tsplaywright/e2e/Pages/Policies.spec.tsplaywright/e2e/Pages/Users.spec.tsplaywright/e2e/auth.setup.tsplaywright/e2e/entity-data.setup.tsplaywright/e2e/entity-data.teardown.tsCommand
Manual testing performed
:8585server and logged in as admin./lineage. The header and canvas match the Metrics page frame (measured in the DOM): header 8px from the layout edge, content 16px below the header, canvas inset 8px on the sides and bottom,scrollHeight - clientHeight = 0on the content region (was 16px before)./metricsin AI mode as the reference and compared the same measurements.UI screen recording:
Not applicable — standalone styling/layout fix, not a feature.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.REVIEW.md(thepr-checklistskill runs it) and fixed every 🔴 finding, or answered it on the line below.2a89b399e42: no 🔴. Fixed both 🟡 in90572d3e4cf: the test now covers the AI-mode document title, and a comment that restated the code is gone.PageLayout+tw:pt-4content offset).

Confidence Score: 5/5
The PR appears safe to merge; no actionable defects were found.Summary
Platform Lineage now uses the shared
PageLayoutin AI mode.No actionable defects were found. Browser layout and tests were not run during this review.
Acknowledgment:
chirag-madlaniintentionally omitted a new Playwright spec because this is a styling fix, citing existing lineage coverage and manual measurements.Reviews (1) · Last reviewed commit: "Platform lineage: cover the AI-mode page..." · Reviewed by Greptile