Repository navigation
fix(ui): align entity header alert icon and status badge with title actions - #38436
Merged
Merged
Conversation
The badges box was pinned to the top of the header row while the title actions were centred against the 40px service logo, leaving the DQ alert icon and status badge ~4px higher than the copy/learning icons. Render badges in the same h-8 actions row instead.
Contributor
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
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 |
Rohit0301
enabled auto-merge (squash)
November 23, 2026 06:56
sweta1308
approved these changes
Nov 23, 2026
2 tasks done
Rohit0301
added a commit
that referenced
this pull request
Nov 24, 2026
* fix(ui): align entity header badges with title actions (#38436) The badges box was pinned to the top of the header row while the title actions were centred against the 40px service logo, leaving the DQ alert icon and status badge ~4px higher than the copy/learning icons. Render badges in the same h-8 actions row instead. (cherry picked from commit 7ccb672) * Fixes #36069: Keep Browse Estate tree expanded to the remaining path after removing a browse chip (#38470) * fix(ui): keep Browse Estate tree expanded to the remaining browse path after removing a chip Removing a browse chip rebuilds the explore tree from its static roots and re-keys every lazily loaded level, so the previous expansion was lost and the tree collapsed to the service-type level. The tree now expands the loaded ancestors of the active browsePath level by level, which also makes browse deep links and reloads open at the browsed node. Fixes #36069 * fix(ui): expand the category root holding the browse path on reload Category roots carry no filterField, so a browse path outside the default-expanded Databases root (e.g. a dashboard service) never had its root opened on reload or deep link. Under a browse path each root's totalCount is scoped to that path, so expand the roots with matches. * fix(ui): expand category roots only once their counts match the browse path Selecting a tree node changes browsePath before the root counts refresh, so the stale unfiltered totals opened every populated category. Track the browsePath the root counts were refreshed for and ignore root counts until they match the current path. (cherry picked from commit 6aeece9) * Fixes open-metadata/openmetadata-collate#8792: Dark-mode logo and monogram support in Platform Settings > Theme (#38435) * feat(ui): dark-mode logo and monogram in Platform Settings > Theme Add optional customLogoDarkUrlPath and customMonogramDarkUrlPath to the logo configuration. BrandImage uses the dark variant only when the dark theme is active and one is set, falling back to the light URL, then the brand default; pre-auth pages read the theme the boot script applied. The AI shell sidebar now shows an admin-set custom logo (it showed only the build's mark), so the dark variant is visible after sign-in. Rebuild the Theme view and edit form to the design: light/dark previews with captions, an add/remove dark mode version field, live invalid-URL and image-load errors that block saving, a checking state, and a best-effort "hard to see in dark mode" warning. * fix(ui): address self-review of dark-mode logos - Only logo URLs edited in this session block Save, so a saved logo that no longer loads cannot hold up an unrelated theme change. - The classic Appearance page keeps the dark-mode URLs when it saves. - The AI sidebar resolves the custom logo for the active theme and keeps the build's sidebar mark when nothing applies. - Update the Platform Settings Playwright theme flow for the new copy, the image check and the dark-logo round trip. * fix(ui): mark a logo URL loaded before the optional contrast check Save no longer waits on the CORS image request used for the hard-to-see-in-dark-mode warning; the warning arrives separately. * chore(ui): use the design's Moon icon for the dark-mode preview captions Replace the Moon01 glyph with the Moon SVG from the design. * docs: record the dark-mode logo variant contract; use Typography color prop Add ADR:2026-11-23-dark-logo-variants-fall-back-to-the-light-url for the fallback, merge-on-write and Save-blocking rules. Colour logo field messages and captions through Typography's color prop. * style(ui): organize imports in LogoUrlField * fix(ui): enlarge the AI sidebar logo; drop the app-install tick background The sidebar wordmark (built-in or custom) fills the 32px header row instead of 24px. The app-install connector line now stops either side of the tick, so the tick needs no background to mask it. * fix(ui): show the AI sidebar logo at the classic sidebar's 40px The header row and wordmark grow from 32px to 40px, matching the 40px BrandImage in the classic left sidebar. (cherry picked from commit 8b18e8f)
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:
In the data asset header, the DQ failure alert icon and the entity status badge ("In Review") sat ~4px higher than the copy / learning icons next to the title.
Root cause (
EntityPageTitle.tsx): the outer row isalign="center"and its height comes from the 40px service logo. The title block (whose actions row ish-8) is centred in that row, but thebadgesbox wash-8 self-start, so it was pinned to the top of the row instead, 4px above the actions.Fix: render
badgesinside the sameh-8actions row as the copy button and actions, so everything shares one baseline. This works both with and without a display name, because that row is already pinned to the title line.Type of change:
High-level design:
N/A — small change.
Tests:
EntityPageTitletests don't check the badges container.node_modulesisn't installed in this worktree.Screenshots
Before — the alert icon and "In Review" badge sit higher than the copy/lightbulb icons:
After — the copy button, lightbulb, alert icon and status badge all sit on the title row, in the same order as before (each centred at the same y in both cases):
These "after" screenshots render the real
EntityPageTitle(coreFeaturedIconlogo, alert icon,EntityStatusBadge) in a standalone Vite page. The local backend couldn't start because its DB migration state was out of sync.🤖 Generated with Claude Code


Confidence Score: 5/5
The PR appears safe to merge; no actionable issues were found.Summary
Moves
badgesinto the title’s existing actions row so status badges and alert icons line up with the copy button.Reviews (6) · Last reviewed commit: "fix(ui): align entity header badges with..." · Reviewed by Greptile