Skip to content

feat(ui): Needs you now slot on the home page, and the landing page design review - #35462

Merged
shrabantipaul-collate merged 18 commits into
mainfrom
feat/landing-page-needs-you-now-slot
Oct 15, 2026
Merged

shrabantipaul-collate merged 18 commits into
mainfrom
feat/landing-page-needs-you-now-slot

Conversation

@shrabantipaul-collate

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

Copy link
Copy Markdown
Contributor

Describe your changes:

oss-impacted-passed-p5 oss-impacted-passed-p1 oss-impacted-passed-p2 oss-impacted-passed-p3 oss-impacted-passed-p4 oss-customizewidgets-rerun
Screen.Recording.2026-10-14.at.6.18.17.PM.mov

No OpenMetadata issue, as with #34770: the work is tracked in the Collate epic
(open-metadata/openmetadata-collate#6790).

Adds a Needs you now slot to the home landing page and applies the landing page design review
to the announcements and topic widgets. Pairs with open-metadata/openmetadata-collate#7488,
which fills the slot — merge this PR first.

  • Slot. CustomizeMyDataPageClassBase.getNeedsYouNowSection() returns null, so a plain
    OpenMetadata home is unchanged. A deployment with a ranked inbox returns a component, and
    HomeLandingPage renders it between the announcements rail and the topic widgets, in its own
    Suspense boundary. It is the same class-base seam as getPlatformHealthInsight, so it reaches
    both the Classic and the AI-mode mount of the page.
  • Sizing. Card titles 14px medium; body text, rows and footers 12px; section headings 14px;
    card buttons and links xs; 40px between the home sections. All from the design-system scale.
  • Announcements. The type is named in its own colour instead of a badge, with tertiary and
    quaternary greys for body and footer. Opening an announcement from the All announcements
    dialog now closes the dialog.
  • Topic cards. The status badge sits on the right beside a darker collapse chevron. Card
    filters are the small core Select (the Audit Hub › Gaps style) instead of FilterSelect,
    whose brand-coloured selected state read as an always-active filter.
  • Data Quality widget. Groups its latest results by table or by test case (replacing the
    test-type filter). Each row shows where its incident stands (incidentStatus, already inlined
    by the test search), and an aborted run with no incident offers Raise incident, which opens
    the test's Issues tab. Table headers count every result on that table in the card's scope, from
    one dataQualityReport aggregation on originEntityFQN, not only the rows shown.
  • Curated Assets. White rule chips on a blue-gray rule box, persona note on the right, asset
    logos on a white tile.

Type of change:

  • New feature

High-level design:

The slot is a method on CustomizeMyDataPageClassBase, not a prop: Classic mounts
HomeLandingPage from MyDataPage with no props, and Collate's AI mode mounts it from its own
landing page, so only the class-base seam reaches both. OpenMetadata keeps no dependency on the
Collate API behind the section. The Collate side records this in
ADR:2026-10-14-needs-you-now-renders-through-an-oss-home-slot-in-ai-mode-only (Collate repo).

The per-table counts reuse the existing GET /dataQuality/testSuites/dataQualityReport with a
table terms bucket on originEntityFQN and a nested status bucket, scoped by the same
owner / followed-by filters as the card. No backend change.

Tests:

Use cases covered

  • A plain OpenMetadata home renders no Needs you now section; a class base that returns one
    renders it between the announcements and the topics.
  • Data Quality: grouping by table and by test case, incident line per status, Raise incident
    only on an aborted run with no incident, table headers use the aggregated counts.
  • Opening an announcement from the dialog closes it.
  • Topic card filters choose through the core Select.

Unit tests

  • I added unit tests for the new/changed logic.
  • Files added/updated: HomeLandingPage.test.tsx, AnnouncementsRail.test.tsx,
    FilterButton.test.tsx, DataQualityWidget.test.tsx, useDataQualitySummary.test.tsx,
    dataQualityFilters.test.ts.
  • Run: yarn jest src/components/MyData/HomeLandingPage src/components/MyData/Widgets src/hooks/useDataQualitySummary src/utils/dataQualityFilters src/utils/CustomizeMyDataPageClassBase
    → 44 suites, 387 tests passed.
  • Checkstyle: ESLint --fix + Prettier on every changed file leave no diff.

Backend integration tests

  • Not applicable (no backend API changes). make java_affected: no Java tests are impacted.

Playwright (UI) tests

  • Files updated: playwright/e2e/Flow/CustomizeWidgets.spec.ts (Data Quality row test id),
    playwright/utils/widgetFilters.ts (filters pick through chooseSelectOption),
    .github/playwright/impact-map.json (maps the Data Quality summary sources to the landing specs).

The changed spec plus the 18 impact-mapped specs (plan_local_playwright.py; canary and smoke sets not run), UI from this branch against a Collate server on :8585, --workers=2, 1 retry.

Spec Tests Result
Flow/CustomizeWidgets.spec.ts (changed) 6 ✅ all passed
Flow/CustomizeLandingPage.spec.ts 4 ✅ all passed
Flow/PersonaFlow.spec.ts 11 ✅ all passed
Features/CuratedAssets.spec.ts 23 ✅ see note
Features/LandingPageWidgets/DomainDataProductsWidgets.spec.ts 6 ✅ all passed
Features/LandingPageWidgets/DomainWidgetFilter.spec.ts 2 ✅ all passed
Features/LandingPageWidgets/FollowingWidget.spec.ts 11 ✅ all passed
Features/LandingPageWidgets/LandingPage.spec.ts 5 ✅ all passed
Features/LandingPageWidgets/LandingPageContextCenter.spec.ts 5 ✅ all passed
Features/LandingPageWidgets/LandingPageDataEstate.spec.ts 4 ✅ all passed
Features/LandingPageWidgets/LandingPagePlatformHealth.spec.ts 9 ✅ all passed
Features/LandingPageWidgets/LandingPageTopicWidgets.spec.ts 4 ✅ all passed
Features/ActivityAPI.spec.ts 7 ✅ all passed
Features/ActivityFeed.spec.ts 9 ✅ all passed
Features/ActivityFeedTabBadge.spec.ts 4 ✅ all passed
Features/ActivityStream.spec.ts 6 ✅ all passed
Features/NavigationBlocker.spec.ts 5 ✅ all passed
Features/RTL.spec.ts 2 ✅ all passed
Features/SettingsNavigationPage.spec.ts 8 ✅ all passed
Pages/DataInsight.spec.ts 10 ✅ all passed

Run 1: 142 passed, 2 failed, 1 flaky (145 incl. setup / teardown), 31 min. All three non-passes were CuratedAssets … with display name filter (Databases, Database Schemas; API Collections flaky), each a strict-mode violation: two rows with the same name. The search index held a second pw-database-4b9b4c7e / pw-database-schema-cb347bdd left by an interrupted earlier run against the same server. This PR's Curated Assets change is styling only (row tint, logo tile, text size). After removing that run's leftover services:

Re-run CuratedAssets.spec.ts: 26/26 passed (23 specs + setup / teardown), 15.4 min.

Manual testing performed

  1. Collate server on :8585 with the landing-page backend, OSS and Collate UIs from these branches.
  2. Classic and AI mode as admin: home renders, card sizes and filters match the design, Data
    Quality groups by table / test case, incident lines and Raise incident navigate to the
    test's Issues tab, and All announcements closes on opening one.

UI screen recording:

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests (unit / integration / Playwright as applicable) and listed them above.
  • Decision check: the slot's shape is recorded in the Collate companion PR.

🤖 Generated with Claude Code

Shrabanti Paul added 8 commits October 14, 2026 12:20
CustomizeMyDataPageClassBase.getNeedsYouNowSection() returns null in
OpenMetadata, so the page is unchanged. A deployment that has a ranked
inbox returns a component, and HomeLandingPage renders it between the
announcements rail and the topic widgets, in its own Suspense boundary.
Card titles drop to 14px medium, card body text, rows and footers to
12px, section headings to 14px, and card buttons and links to the xs
variant, all from the design-system scale. The gap between the home
sections narrows to 40px. Activity links take text-xs, overriding the
legacy 14px prose link rule.
…e design

Announcement cards name their type in the type's colour rather than a
badge, set the body and footer in the tertiary and quaternary greys, and
pad 16px across. Opening an announcement from the All announcements
dialog now closes the dialog. The rail pager uses ButtonUtility's own xs
size. Topic card summaries move to the quaternary grey and status badges
to medium weight.

FilterSelect gains buttonSize for its bordered button trigger (md by
default, so existing callers are unchanged); the landing page's filters
use xs.
Topic cards carry their status badge on the right beside a heavier,
darker collapse chevron. Data Quality groups its latest results by table
or test case instead of filtering by test type, shows each result's
status icon and badge whatever the status, and colours the legend text
like its dot. Curated Assets sets its rule chips white on a blue-gray
rule box, moves the persona note to the right, and puts each asset's
logo on a white tile.
…y widget

Each row now says where its incident stands (New, Ack, Assigned,
Resolved), read from the incidentStatus the test search already inlines.
An aborted run with no incident offers Raise incident, which opens the
test's Issues tab. Table headers count every result on that table in
the card's scope, from one dataQualityReport aggregation by
originEntityFQN, instead of only the rows shown.
FilterButton now renders the small core Select, as the Audit Hub's
filters do: a neutral trigger showing the current choice and a check on
the selected option. Every card filter is single-choice and always holds
a value, so FilterSelect's brand-coloured selected state read as a
permanently active filter. The Playwright helper picks options through
chooseSelectOption.
The topic card filters moved to the core Select, so the bordered
button trigger's size option has no user left.
@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.

@github-actions github-actions Bot added the UI UI specific issues label Oct 14, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@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 → 928
- 1 added, 1 removed, 0 changed spec-list

New source→spec entries:
  openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/DataQualityWidget/DataQualityTestRows.tsx

Removed source→spec entries:
  openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/DataQualityWidget/DataQualityWidget.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

@github-actions

Copy link
Copy Markdown
Contributor

Hi there 👋 Thanks for your contribution!

The OpenMetadata team will review the PR shortly! Once it has been labeled as safe to test, the CI workflows
will start executing and we'll be able to make sure everything is working as expected.

Let us know if you need any help!

@shrabantipaul-collate shrabantipaul-collate added the safe to test Add this label to run secure Github workflows on PRs label Oct 14, 2026
originEntityFQN has a lowercase normalizer, so the report returns its
table buckets lowercased; a table with uppercase letters never found its
counts and the header fell back to the rows shown. Key and look up the
counts by the lowercased FQN.

Records the Needs you now slot contract and its merge order with Collate.

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

@karanh37 karanh37 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shrabantipaul-collate post the playwright run screenshot

@github-actions

github-actions Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 77%
77.78% (126654/162836) 64.43% (80127/124350) 65.66% (26733/40712)

…ds-you-now-slot

# Conflicts:
#	openmetadata-ui/src/main/resources/ui/src/components/MyData/HomeLandingPage/HomeLandingPage.tsx
Shrabanti Paul and others added 2 commits October 15, 2026 15:00
A fixed w-36 cut "Last 7 days" to "Last 7 d..." once the calendar icon
took its share. The trigger now fits its label, keeping w-36 as its floor.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@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: 932 → 933
- 1 added, 0 removed, 13 changed spec-list

New source→spec entries:
  openmetadata-ui/src/main/resources/ui/src/components/observability/data-quality/ThresholdPreview/ThresholdPreview.tsx

Entries whose spec list changed:
  openmetadata-ui/src/main/resources/ui/playwright/constant/config.ts
  openmetadata-ui/src/main/resources/ui/playwright/e2e/Utils/appMode.ts
  openmetadata-ui/src/main/resources/ui/playwright/e2e/fixtures/pages.ts
  openmetadata-ui/src/main/resources/ui/playwright/support/entity/TableClass.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/codeEditor.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/common.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/dataQuality.ts
  openmetadata-ui/src/main/resources/ui/playwright/utils/testCases.ts
  openmetadata-ui/src/main/resources/ui/src/components/DataQuality/AddDataQualityTest/components/TestCaseFormBody.tsx
  openmetadata-ui/src/main/resources/ui/src/components/DataQuality/IncidentManager/RunDetailsCard/RunDetailsCard.tsx
  … and 3 more

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

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

❌ UI Checkstyle Failed

❌ Bundle Runtime Check

A route chunk loads but one of its chunks still exports undefined: a chunking change broke module initialisation. Run yarn build && yarn bundle:runtime locally.

🔍 ESLint findings in this PR's files — 0 error(s), 3 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), 3 warning(s) across 3 changed file(s).

Count Rule
2 openmetadata-imports/no-lower-layer-page-imports
1 react-hooks/exhaustive-deps
All findings
Location Rule Message
🟡 src/components/MyData/HomeLandingPage/HomeLandingPage.tsx:173:5 react-hooks/exhaustive-deps React Hook useMemo has a missing dependency: 'widgetHeight'. Either include it or remove the dependency array.
🟡 src/mocks/MyDataPage.mock.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/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.

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

make ui-checkstyle-changed

Take the CI renders of the design review: 14px card titles, 12px body
text, the topic card filters on the core Select. The navbar search also
renders as main now draws it; the old landing baselines predated that.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@gitar-bot

gitar-bot Bot commented Oct 15, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 2 closed / 2 findings

🟡 Medium risk · Adding recent-result lists and table-wide aggregates to the Data Quality widget could display misleading counts or incident guidance if query scopes diverge.

Adds a Needs you now slot to the home landing page, rendered between announcements and topic widgets via a class-base seam, plus landing page design refinements to announcements, topic cards, Data Quality, and Curated Assets. Per-table counts now match uppercase FQNs, and the Collate slot contract is recorded. No open issues found.

✅ 2 closed
✅ Bug: Per-table counts never match tables with uppercase letters in the FQN

📄 openmetadata-ui/src/main/resources/ui/src/utils/dataQualityFilters.ts:134-146 📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/Widgets/DataQualityWidget/DataQualityTestRows.tsx:236-246 📄 openmetadata-ui/src/main/resources/ui/src/hooks/useDataQualitySummary.ts:187-193
originEntityFQN is mapped as a keyword with lowercase_normalizer in test_case_index_mapping.json, so the table terms bucket in dataQualityReport returns lowercased keys. toTableStatusCounts stores counts under that lowercased key. DataQualityTestRows then looks them up with tableCounts?.[group.tableFqn], where group.tableFqn comes from getEntityFQN(entityLink) and keeps its original case. Any table with an uppercase character, which covers most Snowflake and Oracle names, misses the lookup. The header then quietly falls back to counting only the rows shown, which is exactly what this change set out to replace. To fix it, normalise the key on both sides, for example by lowercasing in toTableStatusCounts and at the lookup.

✅ Quality: Needs-you-now slot contract with Collate has no record in this tree

📄 openmetadata-ui/src/main/resources/ui/src/utils/CustomizeMyDataPageClassBase.ts:154-164 📄 openmetadata-ui/src/main/resources/ui/src/components/MyData/HomeLandingPage/HomeLandingPage.tsx:173-187
CustomizeMyDataPageClassBase.getNeedsYouNowSection() is a contract that the Collate repo has to implement. It fixes a no-props ComponentType, a placement between the announcements rail and the topics, its own Suspense boundary, and use in both app modes. The PR also requires a merge order ('Pairs with open-metadata/openmetadata-collate#7488 … merge this PR first'). The only record named is in the Collate repo, and nothing under docs/decisions/ here states the rule. The repo squash-merges, so the merge order and the slot shape stay only in the PR body, which goes against ADR 2026-10-08-a-decision-is-recorded-in-the-tree-not-in-the-pr-body. The record would say: "Collate fills the home 'Needs you now' slot by overriding CustomizeMyDataPageClassBase.getNeedsYouNowSection() to return a prop-less component, which HomeLandingPage renders between the announcements rail and the topic widgets inside its own Suspense boundary. OSS returns null, and the OSS PR merges before Collate #7488." The existing alert-widgets merge-order record is a model for its form.

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

@sonarqubecloud

Copy link
Copy Markdown

@shrabantipaul-collate
shrabantipaul-collate added this pull request to the merge queue Oct 15, 2026
Merged via the queue into main with commit 961b0eb Oct 15, 2026
77 of 78 checks passed
@shrabantipaul-collate
shrabantipaul-collate deleted the feat/landing-page-needs-you-now-slot branch October 15, 2026 19:17
shah-harshit added a commit that referenced this pull request Oct 16, 2026
…s landing redesign

Captured from visual run 38852373478 on 1db2e56: main's new landing
page (#35462) with this PR's sidebar and search bar.
github-actions Bot added a commit to aokimoon/OpenMetadata that referenced this pull request Oct 17, 2026
…the navbar search bar (open-metadata#35509)

* refactor(ui): delete the dead antd form-field factory and its antd-only types

getField/generateFormFields, FilterPattern, SanitizedInput,
UserTeamSelectableListSearchInput, AsyncSelect and SchedularUtils had no
callers left in OSS. Also replace antd Rule/RuleObject/DefaultOptionType/Gutter
types with local ones or drop the dead code that used them.

* refactor(ui): move the remaining antd date pickers to core

Audit log export, table queries, pipeline executions, lineage time filter and
the KPI form now use the core DateRangePicker/DatePicker (range filters through
the existing DqDateRangeFilter adapter), with a core clear button where antd
offered allowClear. Deletes the antd generatePicker wrapper and its luxon-only
helpers, and drives the pickers through their roles in Playwright.

* refactor(ui): move the CSV grid's antd selects to core

Enum, tier and entity-type cells use a core Select that opens with the cell;
custom-property enums and metric related-metrics/data-products use core
Autocomplete (the latter in free-text mode, replacing antd mode="tags").
Drops the antd select styles and the grid's .ant-select key-handling checks.

* refactor(ui): build the classic notification alert form on react-hook-form

AddNotificationPage was the last antd Form. It now reuses the observability
alert form (useAlertFormData picks the notification fetch, save, breadcrumb and
details path by alert type) and hides the trigger section notifications do
not have. Removes the antd-only NAME_FIELD_RULES and VALIDATION_MESSAGES.

* refactor(ui): serve notification alerts from the observability alert page

Rather than a second page importing another page's form, the notification
add/edit routes render AddObservabilityPage with alertType=Notification, which
hides triggers and keeps the system-alert guard. Deletes AddNotificationPage.

* refactor(ui): drop the antd popup-container ConfigProviders

No antd popup is left inside the drawers or the memory modal, so
DrawerPopupContainerProvider and CreateMemoryModal's ConfigProvider no longer
do anything. AntDConfigProvider stays: it still feeds the custom theme into
antd's CSS variables, which the LESS and Collate's last antd form read.

* chore(ui): lock Form, Select, Input and DatePicker out of antd

All four reached zero, so they join MIGRATED_ANTD_COMPONENTS. Prunes the
suppression baselines (antd symbols 148 -> 113, positional locators
560 -> 559) and swaps a test's stale antd Option mock for the core items the
helper returns.

* style(ui): organize imports in the migrated date-filter callers

* test(ui): guard the metric enum editor before rendering it

* fix(ui): draw the navbar search as one field again

Moving the global search off antd (open-metadata#35280) swapped its borderless antd
Input and Select for core ones that draw their own surface and outline, so
the bar showed three boxes inside its container. Core Input and Select gain
a borderless option (Select keeps its keyboard focus outline) and the search
bar uses it.

* chore(playwright): auto-refresh impact-map.generated.json

* refactor(ui): replace AntDConfigProvider with a theme CSS-variable hook

The provider's only live job was writing the custom theme into the --ant-*
CSS variables our LESS reads. useThemeCssVariables now writes the configured
primary and status colours (only when set, as ConfigProvider.config did) next
to the existing palette, so OSS has no antd import left. ConfigProvider joins
MIGRATED_ANTD_COMPONENTS; antd symbol suppressions 113 -> 112, all
@ant-design/icons. RetentionPeriod's alert drops its antd-tint overrides for the
core brand style.

* chore(ui): drop antd and its rc-* stack from the bootstrap allow-list

With AntDConfigProvider gone, antd, @ant-design/icons and their rc-*,
async-validator and dom-align dependencies no longer load on first view.
The bundle budget fails until they leave the allow-list, so they cannot
creep back into the bootstrap unnoticed.

* fix(ui): drop theme CSS variables a saved theme clears

The hook only wrote configured colours, so clearing a status colour in the
theme settings left the old inline --ant-* variable on <html> until reload;
antd's ConfigProvider rebuilt its whole style tag instead. Remove the variable
when the colour is empty, and sort the hook's imports for organize-imports.

* refactor(ui): share the date-range filter and picker helpers; tighten grid cells

- Move DqDateRangeFilter to components/common/DateRangeFilter; table queries,
  pipeline executions and lineage no longer import a DQ-dashboard internal. An
  onClear prop replaces the clear button each caller composed.
- calendarDate.utils owns the core-picker DateValue cast (core resolves its own
  @internationalized/date) and the end-of-day conversion; the filter, lineage
  time filter, audit-log export and KPI form use them, which also clears the
  filter's two type errors.
- Grid enum cells keep an empty cell when the selection is cleared instead of
  writing "null"; multi-select and free-text cells no longer add duplicates.
- Fix the invalid tw-max-w-md class on the system-alert placeholder.

* fix(ui): restore sidebar label size and row spacing on core NavItem

Render left sidebar items at core's sm size (14px labels) so labels no
longer read oversized or wrap, space rows to a 40px pitch, give the
Settings/Logout footer the same row spacing, and make NavItemBase's
collapsible-child indent size-aware so sm children line up with the
parent label.

* chore(playwright): auto-refresh impact-map.generated.json

* chore(playwright): auto-refresh impact-map.generated.json

* test(playwright): wait for the Following card to mount, not its grid cell

The landing-page grid cell is laid out below the fold, so isVisible() passed
without scrolling and DeferredWidget never mounted the card. The skeleton check
then passed vacuously and followed-asset rows never appeared (RTL, Entity and
FollowingWidget specs in the AUT nightly).

* build(ui): raise the emitted-chunk ceiling for the antd removal

Dropping antd empties the pinned vendor-antd group; its icons, rc-* and
babel-runtime leftovers split into ~15 tiny chunks (1403 vs 1400). Pinning
them instead drags the group onto every page.

* fix(ui): match the classic sidebar to the pre-migration look

Add an lg size and a solid variant to core NavItemBase (28px icons, 56px
rows, brand-filled current item and open-group header, child icons at lg)
and use them in the classic LeftSidebar with the old 16px inset, 8px row
gap and bordered open-group panel. Logout renders as a nav item so it
matches Settings.

* fix(ui): let the classic sidebar sit on the page background

Drop the white bg-surface the core migration added to the classic aside
and keep solid-variant NavItemBase rest items transparent, so the rail
shows the #f8f9fc page background like the pre-migration sidebar.

* fix(ui): match classic sidebar rest icon and label colour

The solid NavItemBase variant now renders resting icons and labels in
one mid-gray (fg-tertiary/text-tertiary), as the pre-migration classic
sidebar did, instead of core's lighter gray-400 icons and darker
gray-700 labels.

* fix(ui): commit the CSV entity type on pick and end enum edits on close

The entity-type cell wrapped the full-width core Select in InlineEdit, which
pushed its Save button past the cell edge where the next grid cell covered
it. Commit on pick like the other enum cells, and end the edit when the
list closes so re-picking the current value no longer leaves the cell open.

* fix(ui): render href-less sidebar items such as Logout as a button

Logout opens a confirmation dialog rather than navigating, so it should be
announced as a button, not a link.

* test(ui): refresh classic-sidebar visual baselines

Captured from visual-regression run 38743999049 on d44af08: the classic
sidebar's restored lg/solid look and the single-field navbar search.

* test(ui): refresh table-details schema visual baseline

The baseline predated open-metadata#31268 and sat near its 0.03 diff-ratio allowance; the
navbar and sidebar changes here pushed it over. Captured from visual run
38747924746 on 47db1d2.

* fix(ui): match the dark login panel to Collate's

The OSS dark sign-in panel used bg-primary (#0c0e12) while Collate's uses
#202a3c; use the same colour so both products' dark login pages match.

* test(ui-core): cover Button onFocus/onBlur forwarding

Core Button passes onFocus/onBlur through to react-aria's Button/Link;
lock that in so a regression to silently dropping them is caught.

* fix(ui): address Sonar and lint findings on the antd tail

- Select: value/onChange instead of the deprecated selectedKey/onSelectionChange.
- Drop fragments left with a single child after removing the popup providers.
- Set over lodash uniq; lodash toString for unknown grid cell values.
- Mark the fire-and-forget query refetch with void; return Promise.resolve
  from sync onUpdate handlers instead of async without await.
- Number.NaN; merge the duplicate react import.
- DateRangeFilter: hoist the range builder so the force-close effect lists
  its real dependencies.
- Dark login panel uses the gray-modern-800 palette token, not a hex.

* test(ui): refresh landing-page-sidebar-collapsed baseline after main's landing redesign

Captured from visual run 38852373478 on 1db2e56: main's new landing
page (open-metadata#35462) with this PR's sidebar and search bar.

* fix(ui): commit date picks on Apply, keep borderless focus, swap single enums

- KPI and audit-export date pickers staged nothing: every pick went straight
  to the form, so Cancel kept it. useStagedPickerValue holds picks until
  Apply and drops them on Cancel or close.
- A borderless Input dropped its focus outline outright; like a borderless
  Select it now keeps it for keyboard focus.
- Single-value custom-property enums used a chip Autocomplete, which refuses
  a second pick; a Select replaces the value.

* fix(ui): keep enum popovers inside the custom-property editor; let a single enum clear

The editor cancels on any mousedown outside it or the
bulk-edit-custom-property-select-dropdown class; the core Select and
Autocomplete popovers portal to the body without that class, so a press in
them could close the editor. A single-value enum also lost its own clear
when it moved to Select; a clear button restores it.

* chore(playwright): auto-refresh impact-map.generated.json

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.

2 participants