Skip to content

fix(ui): consistent square service-logo tile across connection and entity pages - #37775

Merged
Rohit0301 merged 1 commit into
open-metadata:mainfrom
Rohit0301:Rohit0301/entity-icons-background-consistent
Nov 13, 2026
Merged

Rohit0301 merged 1 commit into
open-metadata:mainfrom
Rohit0301:Rohit0301/entity-icons-background-consistent

Conversation

@Rohit0301

Copy link
Copy Markdown
Contributor

Describe your changes:

Service logo tiles rendered three different ways across the connection and entity pages:

  • Connection card: square FeaturedIcon (modern theme, follows the page theme)
  • Service details header: forced white gradient tile
  • Data asset header (database, schema, table, …): round surface tile
  • Connections list view: hand-rolled div with bg-tertiary

All four now render the connection card's tile: <FeaturedIcon color="gray" theme="modern" shape="square" radius="lg" />. In dark mode that's a black square; in light mode it's white. DataAssetsHeader is shared by every data asset page, so tables, topics, dashboards and the rest also get the square tile.

Before

Connection card
Service details
Database

After — dark (AI mode)

Connections grid
Connections list
Service details
Database
Database schema
Table

After — light

Connections grid
Connections list
Service details
Database
Database schema
Table

Type of change:

  • Improvement

Tests

  • Added a FeaturedIcon stub to the ConnectionsListView.test.tsx core-components mock.
  • ConnectionsListView.test.tsx, ConnectionServiceDetailsPage.test.tsx and DataAssetsHeader.test.tsx pass locally (175 tests). ESLint and Prettier pass on the changed files.

Checklist:

🤖 Generated with Claude Code

…ry entity header

The service details header forced a white gradient tile and the data-asset
header (database, schema, table, ...) used a round surface tile, while the
connection card and list view used a square modern tile. All of them now
render the same square FeaturedIcon, which follows the theme in dark mode.
@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.

@Rohit0301 Rohit0301 added the safe to test Add this label to run secure Github workflows on PRs label Nov 13, 2026
@gitar-bot

gitar-bot Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved 🟢 Low risk

The changes only standardize logo-tile styling across connection and entity pages, with no data, permission, or workflow behavior changes.

Unifies service logo tiles across connection and entity pages by switching the service details header, data asset header, and connections list view to the connection card's square FeaturedIcon tile. 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 enabled auto-merge (squash) November 13, 2026 13:54
@Rohit0301
Rohit0301 merged commit 5935952 into open-metadata:main Nov 13, 2026
44 of 45 checks passed
Rohit0301 added a commit that referenced this pull request Nov 16, 2026
* Make the whole application card open the app (#37758)

The Applications settings panel only opened an app from its Configure
link. The card now opens it on click too; the Configure button remains
the keyboard target so the card never nests one button inside another.

(cherry picked from commit cb55c98)

* Fixes 8546: Link Context Center articles from entity pages (#37769)

* feat(ui): link Context Center articles from entity pages

The entity-page Context Center widget only listed articles and hid itself
when none were linked, so linking meant opening each article. Editors now
get a +/edit action that opens a staged search popover (core TreeSelect)
and links/unlinks via the page usage endpoints.

Also: name the widget Context Center on the customize page, align the
WidgetCard title with its chevron, unwrap the Data Assets form actions,
and tighten the related-articles page spacing and breadcrumb.

* fix(ui): only offer article linking where the server allows it

Hide the picker on domain and data-product pages (the usage endpoints
drop those references) and require EditAll on articles as well as the
entity, matching the server's check. Hide the widget when the article
list fails to load, and drop the duplicate Topic customize entry.

* fix(ui): address review on Context Center article linking

- Customize-page widget titles come from the page's widget list, so no
  per-widget special case is needed for the Context Center name.
- Refresh the widget in place after linking instead of showing the loader.
- Build the link/unlink requests with reduce.
- Replace the filter-page LESS override with a TitleBreadcrumb singleLine
  prop that applies tw: classes.

* chore(playwright): map TitleBreadcrumb and TopicClassBase in the impact map

* fix(ui): move Context Center view-all into the widget header actions

The text link sat beside the title and edit icon, wrapping onto two lines
and truncating the title. Use the right-aligned ArrowUpRight action the
Custom Properties widget already uses.

* refactor(ui): use the core Breadcrumbs on the related-articles page

Replace TitleBreadcrumb with the ui-core-components Breadcrumbs, whose
autoCollapse keeps the trail on one line, and drop the singleLine prop
this PR had added to TitleBreadcrumb.

(cherry picked from commit 05eab6b)

* fix(ui): use the connection-card square tile for service logos on every entity header (#37775)

The service details header forced a white gradient tile and the data-asset
header (database, schema, table, ...) used a round surface tile, while the
connection card and list view used a square modern tile. All of them now
render the same square FeaturedIcon, which follows the theme in dark mode.

(cherry picked from commit 5935952)

* Let connector tiles grow to fit long names on the add-service page (#37844)

Tiles on /connections/add-service/all had a fixed 100px height, so a
long name such as "Salesforce Data 360 Pipeline" wrapped to two lines
beside the Beta badge and overflowed the card. Use a minimum height
instead (the grid stretches tiles in a row to equal height), centre the
wrapped name, and keep the badge from shrinking.

(cherry picked from commit 68f9b15)

* fix(ui): browser Back returns to the previous persona view in settings (#37630)

* fix(ui): let browser Back return to the previous persona view in settings

The settings modal wrote every view change with `replace`, so opening a
persona never added a history entry and Back left the modal entirely.
`setHash` now takes `{ push: true }`; the Personas panel uses it for views
the user opens, and keeps `replace` for returning to the list after a
delete, create or cancel. The modal also reopens when Back leaves the
full-page customizer for a view it shows.

* test(playwright): wait for the customize guard before going Back

* fix(ui): close settings back to the page entry after in-modal pushes

Opening settings from the user menu now pushes, so the page's own entry
never carries a settings hash. A setHash push records the hash it left in
the history state, so the closing hook counts it and closing goes back past
every view the modal pushed. Back to an entry without a settings hash
closes the open modal. Records the push/replace rule as a decision record.

* chore(playwright): refresh the impact map for the persona Back tests

(cherry picked from commit cd6d6f3)

* Fix flaky Playwright tests: settings Back history, cross-worker toasts, query and search collisions (#37838)

- Run useSettingsHashSync in the eager AppShell instead of the lazy
  PersonalSpaceModal. A Settings click that landed before the modal chunk
  loaded was not counted, so Close replaced the entry instead of going back
  and left settings entries behind the page for browser Back.
- PasswordFieldClear: click Next/Save via clickIgnoringToasts; async-delete
  toasts from parallel workers (same admin user) covered the form footer.
- BulkImport: wait only for its own toast instead of a bare alert-bar.
- TableQueriesTabPermissions: regenerate the query text in beforeAll; a
  rerun reused it and the checksum-named query 409'd.
- AdvancedSearch: ignore column policyTags (parent table tags, not searched)
  in substring checks so another test's table tags cannot leak in.

(cherry picked from commit 6464041)

* Regenerate the Playwright impact map for the 2.1 backport

---------

Co-authored-by: Harsh Vador <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants