Skip to content

[2.1] Backport #38470, #38436, #38435 - #38502

Merged
Rohit0301 merged 3 commits into
2.1from
backport/38470-38436-38435-2.1
Nov 24, 2026
Merged

Rohit0301 merged 3 commits into
2.1from
backport/38470-38436-38435-2.1

Conversation

@Rohit0301

@Rohit0301 Rohit0301 commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Fixes #36069

This backports three PRs to 2.1 in one PR. Each commit is cherry-picked with -x from its squash-merge commit on main, and all three applied onto origin/2.1 without conflicts:

Type of change:

  • Bug fix
  • Improvement

Tests:

I ran every Jest spec these commits touch on this branch, with core-components built from the branch: 8 suites, 138 tests, all passing. The Java POJOs for the schema change are generated during the build, so this PR's CI covers them.

Companion Collate 2.1 backport: open-metadata/openmetadata-collate#8892

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Backports three UI fixes to 2.1:

  • Platform Settings can show separate logos for light and dark themes.
  • Browse Estate keeps the remaining path open when browse filters change.
  • Entity badges line up beside the title actions.
  • The app-install check sits between two dashed connector segments.

No actionable issues were found. Review was based on source inspection; tests and browser checks were not run.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Settings[Theme settings] --> Saved[Saved light and dark URLs]
  Saved --> Theme{Resolved theme}
  Theme -->|Dark URL set in dark mode| Dark[Use dark URL]
  Theme -->|Otherwise| Light[Use light URL]
  Light -->|No light URL| Default[Use build logo]
  Dark --> Brand[BrandImage]
  Light --> Brand
  Default --> Brand
Loading

Reviews (1) · Last reviewed commit: "Fixes open-metadata/openmetadata-collate..." · Reviewed by Greptile

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)
…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)
…ogram 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)
@Rohit0301
Rohit0301 requested a review from a team as a code owner November 23, 2026 14:22
@Rohit0301
Rohit0301 requested review from karthicksharan and removed request for a team November 23, 2026 14:22
@github-actions

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.

@gitar-bot

gitar-bot Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟡 Medium risk

Adding optional dark-mode logo settings and theme-dependent rendering changes shared configuration behavior; incorrect values could display unintended branding across the UI.

Backports three fixes to the 2.1 branch: Browse Estate tree now stays expanded to the remaining path after removing a browse chip (#36069), entity header alert icon and status badge align with title actions, and Platform Settings > Theme gains dark-mode logo and monogram support with a new logoConfiguration schema. 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

@Rohit0301
Rohit0301 merged commit 740bc05 into 2.1 Nov 24, 2026
53 of 57 checks passed
@Rohit0301
Rohit0301 deleted the backport/38470-38436-38435-2.1 branch November 24, 2026 04:24
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.

2 participants