Repository navigation
feat(ui): Needs you now slot on the home page, and the landing page design review - #35462
Conversation
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.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated 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 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 |
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
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
left a comment
There was a problem hiding this comment.
@shrabantipaul-collate post the playwright run screenshot
…ds-you-now-slot # Conflicts: # openmetadata-ui/src/main/resources/ui/src/components/MyData/HomeLandingPage/HomeLandingPage.tsx
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]>
🔄 Playwright impact map auto-refreshedThis PR touched specs or UI source that changed the source→spec routing map. I regenerated 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 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 |
❌ UI Checkstyle Failed❌ Bundle Runtime CheckA route chunk loads but one of its chunks still exports 🔍 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 0 error(s), 3 warning(s) across 3 changed file(s).
All findings
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]>
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
✅ Quality: Needs-you-now slot contract with Collate has no record in this tree
VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
…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>



Describe your changes:
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.
CustomizeMyDataPageClassBase.getNeedsYouNowSection()returnsnull, so a plainOpenMetadata home is unchanged. A deployment with a ranked inbox returns a component, and
HomeLandingPagerenders it between the announcements rail and the topic widgets, in its ownSuspenseboundary. It is the same class-base seam asgetPlatformHealthInsight, so it reachesboth the Classic and the AI-mode mount of the page.
card buttons and links
xs; 40px between the home sections. All from the design-system scale.quaternary greys for body and footer. Opening an announcement from the All announcements
dialog now closes the dialog.
filters are the small core
Select(the Audit Hub › Gaps style) instead ofFilterSelect,whose brand-coloured selected state read as an always-active filter.
test-type filter). Each row shows where its incident stands (
incidentStatus, already inlinedby 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
dataQualityReportaggregation onoriginEntityFQN, not only the rows shown.logos on a white tile.
Type of change:
High-level design:
The slot is a method on
CustomizeMyDataPageClassBase, not a prop: Classic mountsHomeLandingPagefromMyDataPagewith no props, and Collate's AI mode mounts it from its ownlanding 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/dataQualityReportwith atableterms bucket onoriginEntityFQNand a nestedstatusbucket, scoped by the sameowner / followed-by filters as the card. No backend change.
Tests:
Use cases covered
renders it between the announcements and the topics.
only on an aborted run with no incident, table headers use the aggregated counts.
Select.Unit tests
HomeLandingPage.test.tsx,AnnouncementsRail.test.tsx,FilterButton.test.tsx,DataQualityWidget.test.tsx,useDataQualitySummary.test.tsx,dataQualityFilters.test.ts.yarn jest src/components/MyData/HomeLandingPage src/components/MyData/Widgets src/hooks/useDataQualitySummary src/utils/dataQualityFilters src/utils/CustomizeMyDataPageClassBase→ 44 suites, 387 tests passed.
--fix+ Prettier on every changed file leave no diff.Backend integration tests
make java_affected: no Java tests are impacted.Playwright (UI) tests
playwright/e2e/Flow/CustomizeWidgets.spec.ts(Data Quality row test id),playwright/utils/widgetFilters.ts(filters pick throughchooseSelectOption),.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.Flow/CustomizeWidgets.spec.ts (changed)Flow/CustomizeLandingPage.spec.tsFlow/PersonaFlow.spec.tsFeatures/CuratedAssets.spec.tsFeatures/LandingPageWidgets/DomainDataProductsWidgets.spec.tsFeatures/LandingPageWidgets/DomainWidgetFilter.spec.tsFeatures/LandingPageWidgets/FollowingWidget.spec.tsFeatures/LandingPageWidgets/LandingPage.spec.tsFeatures/LandingPageWidgets/LandingPageContextCenter.spec.tsFeatures/LandingPageWidgets/LandingPageDataEstate.spec.tsFeatures/LandingPageWidgets/LandingPagePlatformHealth.spec.tsFeatures/LandingPageWidgets/LandingPageTopicWidgets.spec.tsFeatures/ActivityAPI.spec.tsFeatures/ActivityFeed.spec.tsFeatures/ActivityFeedTabBadge.spec.tsFeatures/ActivityStream.spec.tsFeatures/NavigationBlocker.spec.tsFeatures/RTL.spec.tsFeatures/SettingsNavigationPage.spec.tsPages/DataInsight.spec.tsRun 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 secondpw-database-4b9b4c7e/pw-database-schema-cb347bddleft 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
:8585with the landing-page backend, OSS and Collate UIs from these branches.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:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.🤖 Generated with Claude Code