Skip to content

feat(ui): persona-driven home landing page with collapsible topic widgets - #34770

Merged
shrabantipaul-collate merged 103 commits into
mainfrom
feat/landing-page-persona-widgets
Oct 13, 2026
Merged

shrabantipaul-collate merged 103 commits into
mainfrom
feat/landing-page-persona-widgets

Conversation

@shrabantipaul-collate

@shrabantipaul-collate shrabantipaul-collate commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

What

Rebuilds the OSS home page around a persona-driven widget grid, and builds out the
"Topics to catch up on" section the design calls for.

The ten landing widgets are topic cards rendered from the persona's docStore layout:
Platform Health, Your Data Estate, Team Activity, Yours and Followed, Context Center,
Curated Assets, Data Quality, Domains, Data Products and KPIs. One home page serves
both app modes; AI-only content is injected through hooks on the layout class base so
OSS keeps no dependency on the agent APIs.

Screen.Recording.2026-10-08.at.1.46.35.PM.mov
Screen.Recording.2026-10-09.at.4.16.47.PM.mov
Screenshot 2026-10-09 at 5 00 54 PM Screenshot 2026-10-09 at 5 19 29 PM Screenshot 2026-10-09 at 5 19 33 PM Screenshot 2026-10-09 at 5 39 53 PM Screenshot 2026-10-09 at 6 00 50 PM

Section controls

The section had no heading at all. It now has one, plus:

  • Per-card collapse chevron. The whole header strip is the control, not the
    chevron alone — a 26px target on an otherwise inert card. The chevron sits inside
    that button as decoration: a sibling button would nest controls or leave a dead zone
    where the two meet.
  • Collapse all / Expand all and a grid/list view toggle.

Collapse and view state live in useTopicsView and are derived, never written back
— collapsing a card must not read as a layout edit the persona editor would then offer
to save. A test pins that the input layout is never mutated.

The grid renders at a quarter row so a collapsed card can occupy less than one
widget row. react-grid-layout cannot allocate less than one row, so a header-only card
was being given a full 133px row and leaving ~58px of empty cell under every one of
them. The subdivided row height is derived from RGL's own sizing formula
(h × (row + margin) − margin), so an expanded widget occupies exactly the pixels it
did before — a test asserts that, because getting it wrong would silently re-flow every
persona layout.

Fixes found along the way

Loading states. Only two of the ten widgets surfaced a loading flag. The other eight
destructured isError and dropped isLoading, so mid-fetch they rendered a confident
empty state — "No recent team activity", "0 followed assets changed", "No KPIs yet" —
and then replaced it. Every hook already returned the flag; nothing read it.

The widget picker was a denylist. CustomiseHomeModal fetched every KnowledgePanel
in docStore and subtracted a hardcoded array. docStore accumulates every panel ever
seeded — seeds are inserted once and never withdrawn — so anything the denylist missed
was offered to the user and then rendered as a blank cell, because the renderer resolves
an unknown key to a render-nothing component. It is now an allowlist off the widget
registry, sharing one predicate with the grid's read path so the offered set and the
renderable set cannot drift.

Description coverage read 240%. percentage_of_data_asset_with_description returns
one row per entity type, each already a percentage (table: 100, database: 0). They were
being summed. Now averaged, weighted by how many assets each type holds — total_data_assets
groups by the same dimension, so an unweighted mean would let two undocumented assets
outvote eight hundred documented ones.

Saved layouts. Read through one shared normaliser: entries naming retired or excluded
widgets are dropped rather than left as holes in the grid, and w/x saved against the
old three-column grid are re-packed. Widths collapse to a single column — the landing grid
exposes no width control (the picker adds at width 1, both grids are isResizable={false}),
so a stale w: 2 spanned the whole row with no way for a user to undo it.

Widget preview screenshots removed. Every one was taken of a widget the topic cards
replaced — activity-feed-widget.png is the old feed, not the Team Activity card now on
that key. The picker was showing a confident picture of the wrong thing. Entries can be
added back one line each when new screenshots land; ~1.5MB of now-wrong PNGs drop out of
the bundle meanwhile.

Migration

Seed docs are renamed for the widgets that replaced them — KnowledgePanel.ActivityFeed
is "Team Activity" now, KPI is "KPIs" — and five retired panels are deleted.

EntityRepository.initializeEntity is insert-only: it returns early on an existing
fullyQualifiedName and never updates or deletes. So the new seed files reach a fresh
install and nothing else — on an upgrade the renames would never land and the retired rows
would linger. The 2.1.0 postDataMigrationSQLScript closes that for both MySQL and Postgres.

Both dialects were run against real databases (a throwaway mysql:8 with a matching
doc_store, and a live Postgres), seeded with pre-2.1 values so it was a genuine upgrade,
then re-run to confirm idempotency. gridSizes is written on its own JSON path rather than
by replacing data wholesale, so the two dialects mean the same thing — a fixture carrying
an extra key under data proves it survives in both.

Testing

All green across the touched trees: src/components/MyData, src/hooks, src/utils,
src/pages/MyDataPage, src/pages/CustomizablePage — 6572 tests. Clean tsc, zero
ESLint errors, prettier --check clean.

New coverage worth calling out: useTopicsView (collapse/view maths, including that the
layout is never mutated and that subdivision preserves pixel height), the collapse chevron
and its a11y contract, the picker allowlist against a realistic docStore payload including
a panel seeded after this build, and the weighted coverage aggregation — the grouped shape
the real API returns had no test at all before.

i18n

Three new keys across all 20 locales with genuine translations. Casing is done in CSS, not
in the strings, so a locale whose script has no case is not handed a pre-uppercased value.

Shrabanti Paul and others added 30 commits September 28, 2026 19:33
Announcements all rendered the same shade, so a deprecation notice and a
critical outage looked identical wherever they appeared. This threads a type
and a colour through every surface that shows one.

## Schema

`type` already exists on the entity (#33980) as Information / Warning / Issue,
with a stored generated column, an index and a `?type=` filter behind it. Those
values stay exactly as they are — the enum only gains `Deprecation` and
`Custom`, and the UI relabels the two whose stored name differs from the
design's vocabulary: `Information` renders as the blue **Notice** chip,
`Issue` as the red **Critical** one. Nothing to migrate, and the existing
filter keeps matching rows written before any of this.

Two new fields ride along, read only when the type is `Custom`:

| Field | Values |
|---|---|
| `color` | the 13 palette families, mapped 1:1 onto `BadgeColors` |
| `customTypeName` | the announcement's own label, max 64 chars |

Both live in the entity JSON, so there is still no migration. The form offers
five of the thirteen colours; the schema accepts all of them so an announcement
stored with another one still renders.

## Colour handling

`ANNOUNCEMENT_COLORS` pins the schema enum to `BadgeColors` at compile time —
if either list drifts, the record stops type-checking, so there is no raw hex
anywhere. `Badge` supplies the pill; `ANNOUNCEMENT_SURFACE_CLASSES` supplies
the banner's background, border, icon and title colour. Those classes are
spelled out in full because Tailwind cannot see an interpolated class name.

## Surfaces

- **Entity / domain / data-product pages** — a new `AnnouncementBanner`: a
  compact one-line strip that expands via View/Hide, with dismiss and carousel
  paging. Replaces `AnnouncementItemV3` and the 340px `AnnouncementCard`, so
  all three page types now show the same full-width strip above their tabs
  instead of a card wedged into the action-button row.
- **Drawer** — All / Active / In-Active / Scheduled tabs replacing the
  active/inactive divider split, with each card tinted and badged by type, and
  its derived status as a filled pill hung off the card's top-right corner.
  Its header carries the same bottom rule as the add/edit dialog's, and the
  spacing settles into an even 24 / 24 / 20 rhythm — which meant deleting
  `announcement.less`: the redesign orphaned every rule in it, and the one
  still biting was a `margin-top` on `.announcement-thread-body` that, being
  unlayered LESS, beat the drawer's own gap.
  The status filter is `Badge` in toggle buttons — the same shape the type chips
  use — rather than a tab list: `Badge`'s own `color`/`brand` variant is exactly
  the frame's selected pill (blue-50 fill, blue-700 label, blue-200 edge, 8px
  radius) and `modern` is the resting one, needing only a `bg-secondary`
  override since it rests on white where the frame wants #FAFAFA. The
  header reserves its close-button space with a `md:`-prefixed padding, since
  core's own `tw:md:px-6` is a media-query rule and beats an unprefixed
  `tw:pr-*` whatever the class order — which had left the close button sitting
  on top of Add Announcement.
- **Add / edit form** — type chips, plus a custom name and palette swatch row
  shown only for `Custom`. The two dialogs now share one body rather than
  keeping two copies of the field list in step. Both dates start empty rather
  than prefilled — a default window is a schedule the author never chose — and
  the submit button is gated on `formState.isValid`, so it stays disabled until
  every required field is filled. Both modals register with `mode: 'onChange'`
  so that validity tracks the fields live. A cleared date reads back as `null`,
  not `undefined`: react-hook-form treats `undefined` from `field.onChange` as
  "no change" and would keep the old value. No system-wide checkbox:
  broadcasting an announcement org-wide is its own change, so the dialog does
  not advertise a control that does nothing.

The date fields' calendar icon sits at `z-1`: the input has to be positioned so
the native picker indicator can stretch over it, and it carries an opaque
background, so at `z-index: auto` paint order is DOM order and the input covered
the icon entirely. `pointer-events-none` keeps the click falling through, so the
picker still opens from anywhere in the field.

Two tooltip fixes on the way through. The drawer's Add button suppresses its
permission tooltip with `isDisabled` rather than by blanking `title` — an empty
title still renders the bubble, which showed up as a small black dot beside the
button. And the system-wide checkbox's tooltip drops `excludeTriggerFromTabOrder`:
with a disabled child that branch renders a bare span with no `Focusable`, so the
tooltip never opened at all; the focusable wrapper also makes the reason reachable
by keyboard rather than hover only.

The author on the banner and on the drawer card is wrapped in
`UserPopOverCard`, so hovering it opens the usual profile card — `ProfilePicture`
alone is just an avatar image and carries no popover of its own, which is why
Collate's `UserChip` already wraps it the same way.

## Filtering

The drawer's tabs need a status derived from the announcement's window. The
stored `status` is only a snapshot of its last write, so a Scheduled
announcement whose start time has since arrived still reads back as Scheduled.
`getAnnouncementStatusCondition` computes it from `startTime`/`endTime`, both
indexed, and reads `announcementStatus` so the generic `status` condition other
resources share keeps meaning the column it names.

That also fixes `?active=`, which was dead: `EntityDAO`'s list and count paths
call the no-arg `getCondition()`, which passes a null table name, so the
existing `announcement_entity` guard dropped the predicate on every call. Both
announcement conditions now key off their query parameter alone — only
`AnnouncementResource` sets them, and `startTime`/`endTime` exist on no other
table.

`AnnouncementUpdater` records `color` and `customTypeName` alongside `type`;
without that a colour-only patch is silently a no-op.

## Testing

- `mvn compile` and `spotless:apply` clean on `openmetadata-spec` +
  `openmetadata-service`.
- `ListFilterTest`: 45 pass, including the window-derived status, the
  no-table-name paths, and that the announcement filter never falls through to
  the stored `status` column.
- `AnnouncementResourceIT`: new cases for the Custom colour/name round-trip,
  colour-only and name-only patches, and status filtering across all three
  windows.
- `tsc --noEmit` clean on every touched file; ESLint 0 errors; Prettier clean.
- Jest: 208 tests / 18 suites pass across the announcement components and the
  three entity pages that embed them.
- 11 new i18n keys, translated in all 20 locales; two keys the redesign makes
  unreachable removed.
- Playwright: all 9 announcement specs **run green against a local stack**
  (entity-header 3, lifecycle 3, Domains 2, Data Marketplace 1). Selectors
  updated for the removed `view-all-btn`, `announcement-item-*`,
  `inActive-announcements` and the old counter. Two fixes the run surfaced:
  `announcementForm` no longer clicks and presses Enter on the date inputs —
  antd-DatePicker cruft that, now the picker indicator spans the whole native
  control, opened the picker and let Enter commit *today* over the end date
  just filled; and the carousel test names its announcements, since the list
  endpoint sorts by `name` and an omitted one is server-generated as
  `announcement-<uuid>`, making the "creation order" it asserted a random
  UUID sort.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…es-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/playwright/eslint-rules/tests/corpus.test.mjs
…ndow

Both date fields resolved to 00:00 of the picked day, so the end date was when
the announcement *stopped* rather than its last day: an end date of Friday
stopped showing as Friday began, and a one-day announcement was impossible —
start and end landed on the same millisecond and tripped the
`startTime >= endTime` guard. Picking today as the end date produced an
announcement that was already Expired by the server's window-derived filter.

`fromDateInputValue` now takes a boundary, and the end field passes `end` so it
anchors to 23:59:59.999. `toDateInputValue` round-trips that back to the same
date, so editing an existing announcement still shows the day the author chose.

Reported by gitar-bot on #34162.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…es-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/playwright/eslint-rules/tests/corpus.test.mjs
`AnnouncementDAO` overrode `listCount`/`listBefore`/`listAfter` with its own SQL
whenever `active` was set, bypassing `ListFilter.getCondition()` entirely. That
SQL bound `status`, but this branch moved the resource to set
`announcementStatus`, so on that path the status predicate was always null and

    ?active=true&status=Scheduled

returned every active announcement instead of none — a "Scheduled" query
answering with Active ones.

The overrides were redundant as well as wrong: their SQL duplicated the
entityLink, type and active-window predicates that `ListFilter` already builds,
and their `status` bind filtered on the stored `status` column — the stale
snapshot this branch set out to stop relying on. Deleting them leaves one code
path, and status is window-derived everywhere.

## Correcting the record

The earlier commit claimed `?active=` was dead on main because `EntityDAO`'s
list paths pass a null table name. That was wrong: these DAO overrides applied
`active` through their own bind, so it worked. Removing the table-name guard
from `getActiveCondition` is still required — it is what makes `active` work now
that the overrides are gone — but it was not fixing a pre-existing bug, and the
PR description has been corrected to say so.

## Testing

Verified against a local stack, before and after:

    before:  ?active=true&status=Scheduled -> 7 announcements, all Active
    after:   ?active=true&status=Scheduled -> []
             ?active=false&status=Active   -> []
             ?active=false&status=Scheduled -> the one scheduled announcement
             ?active=true&status=Active    -> the seven active ones
             each of active / status / type alone unchanged

- New `AnnouncementResourceIT` case pinning that `status` and `active` compose:
  both contradictory combinations are empty, the agreeing one narrows.
- `ListFilterTest` 46 pass; `openmetadata-service` compiles with no dangling
  references to the removed queries.

Reported by gitar-bot on #34162.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…y fields

Two points from review on #34162.

**Status disagreed with the filter.** `status` was written once in `prepare()`
and never recomputed, so a PATCH that moved the window left the old value in
place. The list filter derives status from the window, so `?status=Expired`
could return an announcement whose own `status` field still read `Active` — the
UI derived it and looked right, but anyone reading the API saw the filter and
the payload contradict each other:

    filter says Expired -> ['stale probe']
    payload says        -> Active

`deriveStatus` is now the single source, called from `prepare()` on write and
`setFields()` on read, so the stored column stops mattering for correctness.

**`color` and `customTypeName` were unvalidated.** They only mean anything on a
`Custom` announcement, and the form enforces that — but API, MCP and script
callers do not go through the form, so the server would happily store a colour
the UI never reads, or a `Custom` announcement with no label. `prepare()` now
covers create, PUT and PATCH alike: `customTypeName` is required (and trimmed)
for `Custom`, and both fields are cleared for every other type.

## Testing

Verified against a local stack:

    Custom with no name       -> 400 "customTypeName is required when the
                                     announcement type is Custom"
    Warning carrying a colour -> color and customTypeName both dropped
    Custom done properly      -> color=success, customTypeName='Release' (trimmed)
    the stale announcement    -> now reads Expired on GET (was Active)

Across the 16 announcements on that stack: no non-Custom row carries a colour or
name, and the four Custom ones keep theirs.

- Three new `AnnouncementResourceIT` cases: status-on-read tracking a patched
  window, `Custom` rejected without a name, and a non-Custom announcement having
  its colour and name dropped.
- `ListFilterTest` 46 pass.

Reported by @sonika-shah.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…hows

The stored enum said `Information` / `Issue` while every user saw "Notice" /
"Critical", with a table in `AnnouncementsUtils` translating between them. That
would have left the API and the UI speaking different languages permanently:
anyone filtering with `?type=Issue`, reading the JSON, or building on the API
from ingestion, MCP or a script would have had to know about that table.

Renaming is free right now and stops being free shortly. #33980 merged on
Sep 25, is on no release branch, and was not backported — so nothing outside
dev and sandbox holds these values. 2.1.0 is likewise untagged, so the one
migration touch, the generated `type` column's `COALESCE` default, is edited in
place rather than needing a follow-up data migration.

`announcementType` is now `Critical` / `Notice` / `Warning` / `Deprecation` /
`Custom`, default `Notice`:

- both schemas and the regenerated POJOs and TS models
- the 2.1.0 generated-column default, in MySQL and Postgres alike
- `prepare()`'s backfill
- `ANNOUNCEMENT_TYPE_CONFIG`, which now keys straight off the real values —
  the relabelling comment it carried is gone, which is the point of the change

BREAKING CHANGE: `announcementType` values `Information` and `Issue` are now
`Notice` and `Critical`. Unreleased, so no deployed caller is affected; any
dev or sandbox row holding the old values needs recreating.

## Testing

- `ListFilterTest` 46 pass; `openmetadata-service` and the integration tests
  compile; `AnnouncementResourceIT` renamed alongside.
- Jest 158 tests / 16 suites; `tsc --noEmit` clean; ESLint 0 errors.
- Grepped the tree: no `AnnouncementType.Information` or `.Issue` left in
  service, integration-test or UI sources, and no `Information` left in the
  schema or either dialect's 2.1.0 migration.

Not re-verified against a running server: the local Collate build is blocked on
an unrelated `PluginType.Hubspot` codegen failure from recent Collate main. The
behavioural changes in the previous commit — status on read, Custom-field
validation — were verified live before this rename.

Requested by @sonika-shah on #34162.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…he new enum

The rename commit claimed there was nothing to migrate because 2.1.0 is
untagged. That is wrong for any database that has already run the 2.1.0
migration — nightly and sandbox both have. Two things are stale there:

- rows written since #33980 hold `"type":"Information"` or `"Issue"` in their
  JSON, which the renamed enum cannot deserialize;
- rows written *before* #33980 have no `$.type` at all and read back through
  the generated column's `COALESCE(..., 'Information')` default, so
  `?type=Notice` would never match them.

Editing the existing `ADD COLUMN` statement in place does not reach them.
A version is reprocessed statement-by-statement against
SERVER_MIGRATION_SQL_LOGS (`MigrationFile.parseSQLFiles` skips any statement
whose checksum is already logged), and that statement is both unchanged — so
it never re-runs — and guarded on the column already existing, so it would be
a no-op if it did. The fix has to be new statement text, which is what this is.

Both dialects rewrite the two stored values, then redefine the column's
default: MySQL with `MODIFY COLUMN`, Postgres by dropping and rebuilding the
column (it cannot redefine a generation expression in place) and re-creating
`idx_announcement_type`, which the drop takes with it. Both are guarded on the
live generation expression still mentioning `Information`, so they are inert
on a fresh install and on a second pass.

## Testing

Ran both against real engines, seeding a table in the already-migrated shape
(old `COALESCE(..., 'Information')` default) with one row per case —
`Information`, `Issue`, `Warning`, and one with no `$.type` key:

```
             before                  after
  Information / Information  ->  Notice   / Notice
  Issue       / Issue        ->  Critical / Critical
  Warning     / Warning      ->  Warning  / Warning     (untouched)
  (none)      / Information  ->  (none)   / Notice      (default moved)
```

MySQL 8 via the local dev container, Postgres 15 via a throwaway container.
Verified afterwards that the generation expression reads `'Notice'` and that
`idx_announcement_type` is present on both, and re-ran each script to confirm
it is idempotent (`UPDATE 0`, guard false, no DDL).

Reported by gitar-bot on #34162.
`handleStep` stepped from `currentIndex` while the render clamps it with
`Math.min(currentIndex, total - 1)`. Dismissing an announcement shrinks
`visible` without moving `currentIndex`, so the two diverge and the arrow
absorbs a click.

With three announcements showing, paging to the last one and dismissing it
leaves `currentIndex` at 2 while `total` drops to 2. The render clamps to 1 and
shows the middle announcement; Previous is enabled because `index !== 0`. The
first Previous click steps 2 -> 1, which is the announcement already on screen,
so the arrow looks live and does nothing. The second click works.

Stepping from the clamped `index` keeps the stored index from outliving the
list. Dismiss is the only path that shrinks `visible` without a reset, but
fixing it in `handleStep` covers any future one too.

## Testing

Added a regression test that pages to the last announcement, dismisses it, and
asserts a *single* Previous click reaches the first one. Verified it fails on
the old code (1 failed / 11 passed) and passes on the new (12 passed), so it
pins the behaviour rather than the implementation.

Announcement suites: 98 pass / 13 suites. ESLint + Prettier clean.

Reported by gitar-bot on #34162.
…es-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/playwright/eslint-rules/tests/corpus.test.mjs
Deriving status in `setFields` covered single-entity reads only. The list path
goes `listAfter` -> `setFieldsInBulk` -> `fetchAndSetFields`, which runs the
registered field fetchers and never calls the per-entity `setFields`, so list
responses kept returning the stored write-time snapshot.

That put the filter and the payload in direct contradiction for exactly the
rows the filter exists to find. Against a local stack, `?status=Expired`
returned four announcements whose own `status` read `Active`, `Active`,
`Expired`, `Scheduled` — the filter had correctly matched `endTime < now` on
all four, and three of them then reported something else. The same row read
`Expired` on `GET /announcements/{id}` and `Scheduled` in the list.

Overriding the two-arg `setFieldsInBulk` covers both overloads, since the
three-arg one delegates to it.

## Testing

Extended `testStatusOnReadTracksTheWindowNotTheStoredValue` to assert the list
path as well. It previously asserted only the GET, which is precisely how this
escaped — the test passed while the list it shares a filter with disagreed.

Verified live on the local stack after the fix:

```
?status=Active      n=12  statuses={'Active': 12}
?status=Scheduled   n=1   statuses={'Scheduled': 1}
?status=Expired     n=4   statuses={'Expired': 4}     <- was mixed
```

and cross-checked every one of the 17 announcements in the database
GET-vs-LIST: 0 mismatches. `ListFilterTest` 46 pass.
`EntityLink.split` returns [] for an empty or unparseable link, so
`getEntityType` / `getEntityFqn` indexed past the end and returned `undefined`
while their signatures promise a `string`. Callers are entitled to trust the
declared type, and the announcement widgets do:

    const fqn = getEntityFQN(announcement.entityLink ?? '');
    entityName: fqn.split('::').pop() || '',   // TypeError

That runs in a `useMemo` during render, so React unwinds to the error boundary
and the whole MyData page becomes "Something went wrong" rather than one broken
card. The home widget calls `getActiveAnnouncements()` with no entityLink, so a
single such announcement anywhere takes the page down for every user.

`getEntityColumnFqn` was the quieter half: an empty link interpolated to the
literal string "undefined" — truthy, and rendered and compared as though it
were a real FQN. Returning '' keeps a missing link falsy so existing guards
catch it.

Not reachable from the UI. The only UI path that creates an announcement is the
entity-page drawer, and `AddAnnouncementModal` always sets
`entityLink: getEntityFeedLink(entityType, entityFQN)` from required props. I
also checked the parser is not the way in: quoted segments, spaces, colons,
angle brackets and unicode in an FQN all parse fine — only an empty link yields
[]. So the trigger is a row written through the API, SDK, MCP or a script,
which the schema allows (`required` is description/startTime/endTime only), and
which is how it was hit locally. It also stops being theoretical if the
deferred `systemWide` announcements land, since those are entity-less by
definition.

Folded in here rather than kept as its own PR (#34192) because it is not
UI-reachable and does not warrant a separate review round.

## Testing

Audited the blast radius: `EntityLink` is shared, so every caller now sees ''
instead of `undefined`. 30 non-test files import it and none compare these
results to `undefined`, so no call site changes behaviour.

Added cases for '' and 'not-an-entity-link' covering all three accessors, that
`getEntityFqn('').split('::')` no longer throws, and that no literal
"undefined" leaks out. Verified the bug first by running main's own
`EntityLink.ts` against an empty link: `getEntityFqn` returned `undefined`,
`.split` threw, and `getEntityColumnFqn` returned "undefined".
…es-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/playwright/eslint-rules/tests/corpus.test.mjs
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ar-sa.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/gl-es.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/mr-in.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-pt.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/sv-se.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/th-th.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/tr-tr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-tw.json
`getEntityFQN` / `getEntityType` now answer '' for a missing or unparseable
link rather than `undefined`, and `??` does not treat '' as absent. An
activity event's `about` is optional, so for an event without one the card
stopped falling through to `activity.entity` and rendered with an empty
entity type and FQN: the header link pointed at `//`, the entity name was
blank, the icon was missing and the popover had nothing to resolve.

Switched both reads to `||`. The empty string and `undefined` are equally
"no link here", which is exactly what `||` means and `??` does not.

The other `??` call sites that touch these accessors are unaffected:
`NavBar` and `ActivityThreadPanelBody` put the accessor on the left of a
`?? ''`, where '' and `undefined` collapse to the same result, and
`NotificationBox` puts it on the right of the fallback, so it is only
reached when there is no entityRef and both values are falsy downstream.

## Testing

Regression test renders an activity event with no `about` and asserts the
header link resolves to the entity's own FQN. Verified it fails on the
unfixed code (`href="//"`) and passes on the fix — 8 passed. ESLint 0
errors, Prettier clean, `tsc --noEmit` clean on both files.

Reported by gitar-bot on #34162.
The type icons are already ringed glyphs — an info circle, a warning
triangle in a circle — so wrapping each one in a hairline circle read as a
frame around a frame. Removed the `rounded-full` / `border` / `bg-primary`
chrome and the fixed 28px/40px box; the icon carries the type colour on its
own, as it already did.

The icon keeps the size it had inside the circle, 16px beside the badge and
20px on the landing banner. Losing the frame is not a reason to grow the
glyph: it sits next to 12px label text, and anything larger outweighs the
title it annotates.

`AnnouncementTypeChip` is the single component all three announcement
surfaces share — entity-page banner, drawer card and AI Home widget — so
this lands on each of them at once. `surface.border` now has no consumer, so
the prop type narrows to `{ icon: string }`. The 13 `border:` entries stay in
ANNOUNCEMENT_SURFACE_CLASSES: it is a symmetric palette table, and pruning
one of four slots per family is churn for no gain.

The remaining span is layout-only. It holds `shrink-0` so the icon keeps its
width in the flex rows all three surfaces put it in, and carries the test id.

## Testing

`AnnouncementBanner.test.tsx` selected the chip with
`querySelector('span.tw\\:rounded-full')` — coupled to a utility class it had
no business reading, and the class this removes. Now queries the
`announcement-type-icon` test id.

41 tests across all six announcement suites pass, plus Collate's AI Home
widget suite (10) against a refreshed mirror. `tsc --noEmit` clean, ESLint 0
errors, Prettier clean.
…es-ui

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ar-sa.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/de-de.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/en-us.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/es-es.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/fr-fr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/gl-es.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/he-he.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ja-jp.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ko-kr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/mr-in.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/nl-nl.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/pr-pr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-br.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/pt-pt.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/ru-ru.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/sv-se.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/th-th.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/tr-tr.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-cn.json
#	openmetadata-ui/src/main/resources/ui/src/locale/languages/zh-tw.json
… every path

Two gaps where the form enforced something the server did not, both reachable
by any API, MCP or script caller.

**Colour was required in the form but not on the server.** AnnouncementForm
marks it required for Custom; prepare() only checked the name. A Custom
announcement created over the API with no colour was stored and then rendered
in getAnnouncementTypeConfig's pink fallback — a colour its author never chose,
and one that looks deliberate. prepare() now rejects it.

**The 64-character limit on customTypeName was bypassable with PATCH.**
maxLength rides on `@Valid CreateAnnouncement`, so it runs on create and PUT
only; JsonUtils.applyPatch binds the patched JSON straight to the POJO with
OBJECT_MAPPER.readValue and no bean validation. Checking the length in
prepare() covers create, PUT and PATCH at once. It is measured after trim(),
which is the value actually stored — the schema measures the value as sent, so
the two disagree only on names that are over the limit by whitespace alone, and
the stricter of the two wins.

Reproduced both against a running server before changing anything:

    POST Custom, no color        -> 201, stored color: null
    POST 200-char customTypeName -> 400 "size must be between 1 and 64"
    PATCH the same value         -> 200, stored and read back at 200 chars

## Testing

AnnouncementResourceIT: 219 run, 0 failures on PostgreSQL.

testCustomAnnouncementRequiresItsName asserted `Exception.class`, which a 500
would also satisfy. Now asserts InvalidRequestException — the SDK's 400 and
only its 400, since any other status falls to ApiException in
OpenMetadataHttpClient.handleErrorResponse.

Three new cases: the missing-colour rejection, the PATCH length rejection
(which also asserts the stored value is untouched), and a 64-character name
accepted, so the boundary is pinned from both sides. The PATCH case asserts on
the cause rather than the thrown type: unlike create, EntityServiceBase.update
wraps every failure in a bare OpenMetadataException, so the typed 400 only
survives underneath it.

Reported by @sonika-shah on #34162.
Resolves the icon migration (#34141, 1033 files), which removed
@untitledui/icons as a dependency and moved every icon to
@openmetadata/ui-core-components/icons.

Three conflicts, all mechanical:

- AnnouncementItemV3.component.tsx / .test.tsx — modify/delete. This branch
  deletes both (AnnouncementBanner replaces them); main only swapped their
  import line. Kept the deletions.
- AnnouncementsWidgetV3Body.component.tsx — the import block. Kept this
  branch's two-symbol import and took main's module path; main's side also
  pulls in Button, Typography and Announcement02, which serve the version of
  the body this branch rewrote.

Beyond the conflicts, six files this branch owns still imported the removed
package, and git flags none of them because main never touched them — a clean
merge that would not build. Swapped all six to
@openmetadata/ui-core-components/icons; every icon name exists there
unchanged, so no renames were needed.

## Testing

tsc reports no icon or announcement errors (the repo-wide remainder is
pre-existing and unrelated). Announcement Jest suites: 78 passed across 10
suites. Prettier clean on the six swapped files.
…sona-widgets

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/playwright/eslint-rules/tests/corpus.test.mjs
@github-actions

Copy link
Copy Markdown
Contributor

🚦 Removed from the merge queue — failed_checks (2026-10-13T07:02:48Z)

Blocked the queue: playwright-summary

Failed Playwright tests:

  • Features/AIMode/PersonaSettings.spec.ts › Home page: a configured Curated Assets widget is saved
  • Flow/ExploreDiscovery.spec.ts › Should not display soft deleted assets in search suggestions

Shrabanti Paul and others added 3 commits October 13, 2026 13:00
…bar search popover

Two merge-queue failures came from the new home page meeting main's
persona-settings specs (#34916).

PersonaSettings "a configured Curated Assets widget is saved": in AI mode
the persona customize view hides the routed page instead of unmounting it
(AppShell's tw:hidden!), so the live home page stays in the DOM under the
editor. Its cells carry the same KnowledgePanel.* keys, and every key
lookup matched two elements; isVisible() threw a strict-mode violation
that the helper swallowed as "not visible", and the poll ran out its
minute. Landing helpers now resolve widgets through getLandingPageWidget,
which keeps only what is on screen, and the poll aborts at once with a
named error if two visible widgets still share a key. Adding a Curated
Assets card, which the default layout already holds, goes through one
shared addCuratedAssetsWidget that removes the default copy first.

ExploreDiscovery "soft deleted assets in search suggestions": the spec
waited for customise-search-popover, the old home-page search bar's
popover. The new home has only the navbar search, so its popover now
carries global-search-popover — present even with no suggestions, which
is this test's case — and the spec waits for that.
@github-actions

Copy link
Copy Markdown
Contributor

🔄 Playwright impact map auto-refreshed

This PR touched specs or UI source that changed the source→spec routing map. I regenerated .github/playwright/impact-map.generated.json and pushed the diff to this branch.

- source entries: 928 → 929
- 1 added, 0 removed, 1 changed spec-list

New source→spec entries:
  openmetadata-ui/src/main/resources/ui/src/components/DataQuality/AddDataQualityTest/components/TestCaseFormDrawer.tsx

Entries whose spec list changed:
  openmetadata-ui/src/main/resources/ui/src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.component.tsx

What is this file? It is the auto-generated half of Playwright's PR planner. It routes "if source X changes, run specs Y" by walking spec imports and cross-referencing getByTestId strings. Hand-authored routing in impact-map.json always wins on conflict.

What if I want to regenerate locally instead? Run this before pushing your next change to skip the bot commit:

python3 .github/scripts/generate_playwright_impact_map.py
git add .github/playwright/impact-map.generated.json
git commit --amend --no-edit  # or a separate commit

@gitar-bot

gitar-bot Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Code Review ⚠️ Changes requested 4 closed / 5 findings

🔴 High risk · The 2.1.0 MySQL/Postgres migration rewrites and deletes persisted KnowledgePanel records, so a mismatched update could damage existing persona layouts.

Rebuilds the home page around a persona-driven widget grid with collapsible topic cards, fixes loading states, and corrects description coverage aggregation. Changes requested: one failed per-service pipeline lookup in the Platform Health card currently errors the whole card and hides counts the server already returned. Use Promise.allSettled or catch inside toFailingService so a single rejected lookup falls back to the summary without a culprit. Several previously open issues were resolved, including the first-1000 pipeline miscount, the ended KPI reading as missed, the fake outage banner, and the grid-cell testid.

⚠️ Edge Case: One failed per-service pipeline lookup errors the whole Health card

📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/PlatformHealthWidget/useIngestionPipelineStats.ts:200-207 📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/PlatformHealthWidget/useIngestionPipelineStats.ts:262-264

fetchPipelineStats runs up to 10 getIngestionPipelines calls through Promise.all, and those calls only add detail to the failing rows (the reason text and the last-run time). The estate-wide counts already arrived in the overview response. If any one lookup rejects (a transient 5xx, a timeout, or a service whose pipelines the viewer can't list), the query fails. The card then shows 'something went wrong' and hides the failed/healthy/pending chips, even though the server sent them. Use Promise.allSettled and fall back to a row with no culprit for any lookup that rejects. Or catch inside toFailingService and return the summary with no culprit, so the row shows the translated fallback reason.

Catch per-row lookups so an enrichment failure degrades to the fallback reason
const pipelines = await getIngestionPipelines({
  arrQueryFields: ['pipelineStatuses'],
  limit: PIPELINES_PER_SERVICE,
  serviceFilter: fqn,
  serviceType: summary.entityType,
})
  .then(({ data }) => data ?? [])
  // The row still has its health from the overview; only the detail is lost.
  .catch(() => [] as IngestionPipeline[]);
✅ 4 closed
✅ Edge Case: Pipeline stats read only the first 1000 pipelines and miscount the rest

📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/PlatformHealthWidget/useIngestionPipelineStats.ts:270-277 📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/PlatformHealthWidget/useIngestionPipelineStats.ts:295-309
fetchPipelineStats calls getIngestionPipelines({ limit: 1000 }) once and never follows paging.after. On an install with more than 1000 ingestion pipelines, services whose pipelines fall past the first page have nothing in pipelinesByServiceId. They land in the "not run yet" bucket even if they are failing or healthy, so the Platform Health counts and failing list are wrong exactly on the large deployments where admins rely on them most. Follow the paging cursor until after is empty, or use a server-side aggregate.

✅ Bug: Ended KPI with one data point shows 'missed' even when target is met

📄 openmetadata-ui/src/main/resources/ui/src/hooks/useKpiProgress.ts:79-81 📄 openmetadata-ui/src/main/resources/ui/src/hooks/useKpiProgress.ts:94-97 📄 openmetadata-ui/src/main/resources/ui/src/hooks/useKpiProgress.ts:193 📄 openmetadata-ui/src/main/resources/ui/src/hooks/useKpiProgress.ts:207
projectValue returns null when the series has fewer than two points. When a KPI's end date has passed (daysLeft <= 0), resolveStatus returns 'missed' whenever projected is null. So a finished KPI with a single result that already meets or beats its target is reported as missed and counted in atRiskCount. Once the window has closed, the projection doesn't matter: compare the last observed value (current) to the target instead.

✅ Bug: Home page shows a fake Critical outage banner and fake tasks to everyone

📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/HomeLandingPage/HomeLandingPage.tsx:46-51 📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/HomeLandingPage/HomeLandingPage.tsx:162-176 📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/HomeLandingPage/HomeLandingPage.tsx:210 📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/HomeLandingPage/NeedsYouNow/needsYouNowPlaceholderData.ts:31-45
HomeLandingPage always renders SystemAlertBanner with PLACEHOLDER_SYSTEM_ALERT, a hardcoded alert saying "Ingestion outage on Snowflake and Redshift … rotate a compromised service credential". It also always renders NeedsYouNowSection with PLACEHOLDER_NEEDS_YOU_NOW, a list of invented tasks ("Approve access to raw_orders for harsha", "15 of 25 services stopped ingesting", …). This is the home route for every OSS user, so each one sees a made-up security incident and approval queue as if they were real. On top of that, the greeting header and the Customize button are only shown once the banner is dismissed. Dismissal lives in component state and isn't saved, so the fake alert and the missing Customize entry point come back on every visit. Until these sections have real data behind them, hide them (or put them behind a feature flag), and render the page header with Customize regardless of whether the alert is showing.

✅ Bug: Grid-cell testid uses suffixed key; customize grid has no testid

📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/HomeLandingPage/HomeLandingPage.tsx:130-133 📄 openmetadata-ui/src/main/resources/ui/playwright/utils/customizeLandingPage.ts:21-35
The restored test handle uses data-testid={widget.i}, which is the grid instance key. For any widget added through the picker, that key carries a lodash uniqueId suffix (KnowledgePanel.Domains-211, from getAddWidgetHandler in CustomizableLandingPagePureUtils). The Playwright helpers still look widgets up by the exact, unsuffixed key (page.getByTestId(widgetKey) in waitForLandingPageWidget, isLandingPageWidgetVisible and removeAndCheckWidget), and the helper's own comment says the widget 'always renders the un-suffixed key'. So addAndVerifyWidget's home-page read-back now waits out its 60s poll and fails.

The handle was also added only to HomeLandingPage. CustomizeMyData renders its cells with id={widget.i} and no testid, and no topic widget carries one any more. On the customize page, removeAndCheckWidget and the edit-view waitForLandingPageWidget call inside addAndVerifyWidget therefore find nothing. That breaks CustomizeWidgets, CustomizeLandingPage, CuratedAssets, NavigationBlocker and the Domain widget specs.

One more side effect: the cell is now visible before DeferredWidget mounts the widget, so the visibility poll passes straight away and no longer proves the widget rendered.

Fix: put the base (unsuffixed) widget key on the widget's own root, inside the deferred slot, e.g. in TopicCard. If you keep it on the cell instead, use the base key and add it to the CustomizeMyData cell as well.

🤖 Prompt for agents
Code Review: Rebuilds the home page around a persona-driven widget grid with collapsible topic cards, fixes loading states, and corrects description coverage aggregation. Changes requested: one failed per-service pipeline lookup in the Platform Health card currently errors the whole card and hides counts the server already returned. Use `Promise.allSettled` or catch inside `toFailingService` so a single rejected lookup falls back to the summary without a culprit. Several previously open issues were resolved, including the first-1000 pipeline miscount, the ended KPI reading as missed, the fake outage banner, and the grid-cell testid.

1. ⚠️ Edge Case: One failed per-service pipeline lookup errors the whole Health card
   Files: openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/PlatformHealthWidget/useIngestionPipelineStats.ts:200-207, openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/PlatformHealthWidget/useIngestionPipelineStats.ts:262-264

   `fetchPipelineStats` runs up to 10 `getIngestionPipelines` calls through `Promise.all`, and those calls only add detail to the failing rows (the reason text and the last-run time). The estate-wide counts already arrived in the overview response. If any one lookup rejects (a transient 5xx, a timeout, or a service whose pipelines the viewer can't list), the query fails. The card then shows 'something went wrong' and hides the failed/healthy/pending chips, even though the server sent them. Use `Promise.allSettled` and fall back to a row with no culprit for any lookup that rejects. Or catch inside `toFailingService` and return the summary with no culprit, so the row shows the translated fallback reason.

   Fix (Catch per-row lookups so an enrichment failure degrades to the fallback reason):
   const pipelines = await getIngestionPipelines({
     arrQueryFields: ['pipelineStatuses'],
     limit: PIPELINES_PER_SERVICE,
     serviceFilter: fqn,
     serviceType: summary.entityType,
   })
     .then(({ data }) => data ?? [])
     // The row still has its health from the overview; only the detail is lost.
     .catch(() => [] as IngestionPipeline[]);

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

Options

Display: compact → Counting what did not apply, without listing it.

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

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ UI Checkstyle passed — lint findings in changed files

🔍 ESLint findings in this PR's files — 0 error(s), 32 warning(s)

Errors block the build. Warnings do not yet — they are rules whose backlog is still
being worked down, listed so this PR does not add to it. See docs/ui-code-quality-gate.md.

0 error(s), 32 warning(s) across 18 changed file(s).

Count Rule
16 openmetadata-imports/no-lower-layer-page-imports
15 react-hooks/exhaustive-deps
1 openmetadata-imports/no-impure-pure-utils
All findings
Location Rule Message
🟡 src/components/GlobalSearchBar/GlobalSearchBar.tsx:129:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 'updateSearchCriteria'. Either include it or remove the dependency array.
🟡 src/components/GlobalSearchBar/GlobalSearchBar.tsx:141:6 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array.
🟡 src/components/GlobalSearchBar/GlobalSearchBar.tsx:150:28 react-hooks/exhaustive-deps React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead.
🟡 src/components/GlobalSearchBar/GlobalSearchBar.tsx:211:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'initNLP'. Either include it or remove the dependency array.
🟡 src/components/MyData/CustomizableComponents/CustomizeMyData/CustomizeMyData.tsx:31:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/MyData/CustomizableComponents/CustomizeMyData/CustomizeMyData.tsx:32:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/MyData/CustomizableComponents/CustomizeMyData/CustomizeMyData.tsx:33:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/MyData/CustomizableComponents/CustomizeMyData/CustomizeMyData.tsx:236:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 'personaDetails'. Either include it or remove the dependency array.
🟡 src/components/MyData/CustomizableComponents/CustomizeMyData/CustomizeMyData.tsx:246:9 react-hooks/exhaustive-deps The 'handleBackgroundColorUpdate' function makes the dependencies of useCallback Hook (at line 263) change on every render. Move it inside the useCallback callb
🟡 src/components/MyData/CustomizableComponents/WidgetCard/WidgetCard.test.tsx:16:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/MyData/CustomizableComponents/WidgetCard/WidgetCard.tsx:20:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/MyData/HomeLandingPage/HomeLandingPage.tsx:168:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 'widgetHeight'. Either include it or remove the dependency array.
🟡 src/components/NavBar/NavBar.tsx:213:5 react-hooks/exhaustive-deps React Hook useCallback has missing dependencies: 'activeTab' and 'hasMentionNotification'. Either include them or remove the dependency array.
🟡 src/components/NavBar/NavBar.tsx:368:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'location.pathname'. Either include it or remove the dependency array.
🟡 src/components/NavBar/NavBar.tsx:458:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'showBrowserNotification'. Either include it or remove the dependency array.
🟡 src/components/NavBar/NavBar.tsx:462:6 react-hooks/exhaustive-deps React Hook useEffect has a missing dependency: 'fetchOMVersion'. Either include it or remove the dependency array.
🟡 src/components/NavBar/NavBar.tsx:477:5 react-hooks/exhaustive-deps React Hook useCallback has missing dependencies: 'navigate' and 'updateActiveDomain'. Either include them or remove the dependency array.
🟡 src/components/NavBar/NavBar.tsx:482:5 react-hooks/exhaustive-deps React Hook useMemo has an unnecessary dependency: 't'. Either exclude it or remove the dependency array.
🟡 src/components/Settings/Persona/CustomizeUI/CustomizeUI.tsx:55:5 react-hooks/exhaustive-deps React Hook useCallback has a missing dependency: 'navigate'. Either include it or remove the dependency array. Outer scope values like 'history' aren't valid de
🟡 src/components/observability/Alerts/AlertDetailsPage.tsx:46:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/components/observability/Alerts/AlertsPage.tsx:28:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/constants/CustomizeMyDataPage.constants.ts:15:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/mocks/MyDataPage.mock.tsx:19:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/pages/MyDataPage/MyDataPage.component.tsx:73:6 react-hooks/exhaustive-deps React Hook useEffect has missing dependencies: 'isWelcomeVisible', 'updateWelcomeScreen', and 'usernameExistsInCookie'. Either include them or remove the depend
🟡 src/utils/CustomizableLandingPagePureUtils.test.ts:13:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/utils/CustomizableLandingPagePureUtils.ts:23:1 openmetadata-imports/no-impure-pure-utils Pure utilities must not depend on React, UI, state, hooks, pages, or REST clients. Move orchestration/rendering out or move shared types to a lower layer.
🟡 src/utils/CustomizableLandingPagePureUtils.ts:23:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/utils/CustomizeMyDataPageClassBase.ts:33:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/utils/CustomizeMyDataPageWidgetUtils.test.ts:18:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/utils/CustomizeMyDataPageWidgetUtils.tsx:19:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/utils/RouterUtils.ts:49:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.
🟡 src/utils/RouterUtils.ts:50:1 openmetadata-imports/no-lower-layer-page-imports Pages are route-level composition modules. Move the shared implementation/type to a lower layer instead of importing a page from here.

Fix locally (fast - only checks files changed in this branch):

make ui-checkstyle-changed

@sonarqubecloud

Copy link
Copy Markdown

@sonarqubecloud

Copy link
Copy Markdown

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 UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants