Repository navigation
[2.1] fix(ui): align Metrics placeholder and expose caller-owned success action layout - #38149
Merged
Merged
Conversation
Code Review ✅ Approved 🟡 Medium riskThe Metrics empty-state padding and optional success-action layout change are localized UI behavior changes that could alter spacing on affected screens. Aligns the Metrics list empty placeholder with grid view by removing the duplicate 32px table wrapper padding for that empty state, and exposes an optional 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 |
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.
Describe your changes:
Backport of #38144 to
2.1(cherry-picked merged commitf559d76cc21baf3130214043ed48bcc759e2f0fd).Align the Metrics list empty placeholder with grid view by omitting the table wrapper's duplicate 32px padding only for that empty state. Expose optional
SuccessScreen.actionsClassNamefor the automation caller; shared default layout and core button styling stay unchanged.Applied without conflicts. Stable patch ID matches the merged source exactly:
591da81cf60f0eb0d5d15c35eb38ff2c161ad35b. No release-specific behavior changes or submodule changes.Type of change:
High-level design:
N/A — direct backport. Merge this PR before the paired Collate 2.1 backport https://github.com/open-metadata/openmetadata-collate/pull/8695, whose automation page consumes
actionsClassName.Tests:
REVIEW.md: reviewed backport commit4f79f382045againstorigin/2.1, including unchanged table padding defaults, Metrics pending/error states, optional action classes and the paired caller. No outstanding logic findings.TableV2.tsx/MetricListPage.tsx→ spacing browser check;TableV2.interface.ts→ typed option consumed by the renderer;SuccessScreen.tsx→ real-core action-row browser check. No Jest coverage percentage measured.git diff origin/2.1...HEAD --check: passed.make java_affected ARGS="--base origin/2.1 --scope focused": no Java tests impacted.UI screen recording:
N/A — standalone layout-fix backport. Source PR previews below are retained as visual references; the focused checks were rerun against the 2.1 files, and these images are not full-app screenshots.
Before:
After:
Checklist:


Confidence Score: 5/5
The reviewed changes appear safe to merge.Summary
This backport removes extra spacing around the Metrics empty placeholder and lets callers set the success screen’s action layout without changing shared defaults.
Reviews (1) · Last reviewed commit: "fix(ui): align Metrics placeholder and e..." · Reviewed by Greptile