Repository navigation
[2.0] fix(ui): align Metrics placeholder and expose caller-owned success action layout - #38150
Closed
gh-bot-collate[bot] wants to merge 1 commit into
Closed
gh-bot-collate[bot] wants to merge 1 commit into
gh-bot-collate[bot] wants to merge 1 commit into
Conversation
gh-bot-collate
Bot
requested review from
karanh37
and removed request for
a team
November 18, 2026 15:54
Author
|
🤖 This backport will not merge itself: |
4 of 5 tasks
Contributor
|
not required in 2.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated backport of #38144 to
2.0.f559d76cc21baf3130214043ed48bcc759e2f0fdResolution notes
Backport notes for #38144 → 2.0
Source change: adds a
paddedEmptyStateescape hatch toTableV2's empty-statecell (so a caller-supplied placeholder can own its own vertical spacing) and an
actionsClassNameescape hatch toSuccessScreen's action-button row.Conflicts and resolutions
SuccessScreen.tsx— conflict was only in the import block. Onmainthis file has already been migrated from AntD to
@openmetadata/ui-core-components;2.0has not. Kept2.0's AntD imports(
Button, Card, Space, Typographyfromantd) and added the newclassNamesimport needed foractionsClassName. TheactionsClassNameprop and its use on the action-row
<div>applied cleanly.TableV2.interface.ts— onmainthis PR'spaddedEmptyStatefieldlives on a
TableV2ExtensionProps<T>interface that doesn't exist on2.0(that whole extension-props abstraction, along with
renderToolbar,fullWidthRowRender, and thearia-labeldefault, is unrelated main-onlywork from later PRs). Left this file unchanged on
2.0.Table.interface.ts(not in the original conflict list, but thenatural home for the new flag on
2.0) — addedpaddedEmptyState?: booleandirectly to
TableComponentProps<T>, which is where2.0'sTableV2Propsalready pulls all its optional props from.
TableV2.tsx— two hunks:paddedEmptyState = true. Did not pullin
renderToolbar,fullWidthRowRender, or thearia-labeldefault —those are main-only features not present on
2.0.2.0's empty-state branch is the older, simplerversion (plain text div, no
NoDataPlaceholder/icon, no loading-skeletondiv, no
relative/min-h-40). Applied the same transform the PR made —tw:py-8becomes conditional onpaddedEmptyStateviaclassNames—without introducing any of the newer main-only markup.
MetricListPage.tsx— the entire conflicted hunk was main-only code:2.0'sMetricListPagehas no table/card view switcher, noTableV2integration, no
isEmptyList/isPlaceholderState/renderTableetc. Thatwhole feature set doesn't exist on
2.0yet, so the PR's one-line addition(
paddedEmptyState={!isEmptyList}on aTableV2call insiderenderTable)has nothing to attach to. Resolved by keeping
2.0's file exactly as itwas — this file ends up with no diff against
2.0HEAD.What a reviewer should check
SuccessScreen.tsxandTableV2.tsxdiffs should look like small,surgical additions (new optional prop +
classNameswrapper), not acomponent rewrite.
MetricListPage.tsxshould show no changes at all in the final patch.TableV2.interface.tsshould also show no changes.paddedEmptyStateflag onTable.interface.tsis unused for nowon
2.0(no call site sets it tofalsethere, sinceMetricListPage'sTableV2usage wasn't backported) — that's expected; it's forward-compatplumbing for whenever the
MetricListPagecard/table refactor itself getsbackported.
Opened from openmetadata-collate, which holds the credentials needed to open a PR here. It merges itself once this branch's required checks pass — no review needed. If a check fails it stays open and the author of #38144 is asked to look.
resolver run


Confidence Score: 5/5
The PR appears safe to merge.Summary
Adds optional layout controls to
SuccessScreenandTableV2while keeping their default appearance unchanged.No actionable issues found.
Reviews (1) · Last reviewed commit: "fix(ui): align Metrics placeholder and e..." · Reviewed by Greptile