Repository navigation
Fixes 36092: Lineage UI design and testing feedback - #36093
Conversation
- AI-mode gradient header on platform lineage (classic unchanged), new subtitle; drop full screen from platform lineage - Dark mode: node cards on bg-raised, single base-node fill, readable column names, edge drawer and summary drawer on core surfaces - Edge drawer header aligned to the card, 18px title; Add Upstream drawer title/close alignment and core cards - Column edit picks its counterpart among canvas nodes - Impact table: rounded frame, 2-line description with View more; TableV2 header matches core table head - Team avatars draw the themed icon instead of an <img>; 12px no-description - Node delete confirmation uses the delete modal pattern - Core dots button centres its glyph and uses fg-tertiary - Column rows: constraint before the menu; time filter uses core icons - Equal 24px inset for lineage canvas corner controls - Back to root action on an empty drilled-in lineage map
- Persian translations for the new subtitle and back-to-root label - Tests for the team avatar icon and the disabled cancel while deleting - Rename the empty-state component apart from its state type; trim comments - Playwright helper notes the canvas precondition for column edits - Map lineage node, impact table and platform lineage sources to the lineage specs
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
…e-ui-enhancement # Conflicts: # .github/playwright/impact-map.json # openmetadata-ui/src/main/resources/ui/src/components/Entity/EntityLineage/custom-node.less # openmetadata-ui/src/main/resources/ui/src/components/Lineage/AddLineagePopover/AddLineagePopover.tsx # openmetadata-ui/src/main/resources/ui/src/components/Lineage/LineageMap/LineageMap.component.tsx
…sual baseline for the core table header
| @@ -531,7 +528,7 @@ const EdgeInfoDrawer = ({ | |||
| <div | |||
There was a problem hiding this comment.
Can we use card here?
There was a problem hiding this comment.
Done in 7adf889: the drawer body is now a core Card, with an inner scroll container (the Card root clips overflow).
| <ButtonUtility | ||
| aria-label={t('label.close')} | ||
| className="tw:mr-2 tw:size-9 tw:rounded-lg tw:p-0 tw:text-primary tw:hover:bg-transparent tw:hover:text-primary" | ||
| className="tw:size-9 tw:rounded-lg tw:p-0 tw:text-primary tw:hover:bg-transparent tw:hover:text-primary" |
There was a problem hiding this comment.
Do we need so many classes?
There was a problem hiding this comment.
No: dropped them in 7adf889. The close button is now a plain ButtonUtility (color="tertiary" size="lg"), and the header padding is set so the × still lines up with the card edge.
| .custom-node-label-container { | ||
| .entity-footer { | ||
| background-color: var(--tw-background-color-secondary); | ||
| background-color: var(--lineage-node-inset-bg, var(--tw-background-color-secondary)); |
There was a problem hiding this comment.
Let's remove the usage from .less file if possible
There was a problem hiding this comment.
Done in 7adf889: the column panel and expanded-footer fills are no longer in LESS (and the CSS variable is gone). NodeChildren and LineageNodeLabelV1 apply NODE_INSET_FILL_CLASS (tw:bg-secondary tw:dark:bg-raised) from the new CustomNode.constants.ts.
| .lineage-node.lineage-base-node { | ||
| --lineage-node-border: var(--tw-border-color-brand); | ||
| background-color: var(--tw-background-color-brand-primary); | ||
| background: linear-gradient( |
There was a problem hiding this comment.
Same here and check for all the other places
There was a problem hiding this comment.
Done for the base node in 7adf889: its fill is BASE_NODE_FILL_CLASS (tw:bg-raised tw:bg-linear-to-b tw:from-bg-brand-primary tw:to-bg-brand-primary), on the node and its badge. That is the same translucent tint over an opaque fill, without the gradient in LESS. I checked the other LESS lines this PR touches; these stay, with reasons:
- The react-flow handle and default-node rules (
surface→raised) only change values on existing!importantrules for elements react-flow renders. - The corner insets in
entity-lineage.style.lessoverride react-flow's panel positioning. Moving them to classes would need!important, which the styling rules disallow. - The inner-transparent rules for the base node were already on main.
| theme="light" | ||
| /> | ||
| <Typography id={titleId} size="text-md" weight="semibold"> | ||
| {t('label.delete')} "{nodeName}" |
There was a problem hiding this comment.
Should we add a label for delete entity?
There was a problem hiding this comment.
Yes, done in 7adf889: the title is t('label.delete-entity', { entity: nodeName }).
|
|
||
| return ( | ||
| <div className="tw:max-w-120 tw:whitespace-normal"> | ||
| <span |
There was a problem hiding this comment.
Can we use typography?
There was a problem hiding this comment.
Done in 7adf889: the description renders through Typography (as="span" size="text-sm"). The clamp ref is forwarded to it.
- Edge drawer body is a core Card; close button uses ButtonUtility's own sizing - Base node fill and the column panel fill move from LESS to Tailwind classes (CustomNode.constants) - Node delete dialog title uses label.delete-entity - Impact description renders through Typography
…t node wrapper - Base node title uses text-primary; the gray link colour washed out on the brand fill - Node header top padding 12px for all nodes; base node drops its extra 10px offset - React Flow node wrapper is transparent so its square corners don't show behind the rounded node
|
| Count | Rule |
|---|---|
| 20 | react-hooks/exhaustive-deps |
| 4 | openmetadata-ui-patterns/no-non-adaptive-palette |
| 1 | openmetadata-imports/no-lower-layer-page-imports |
All findings
| Location | Rule | Message | |
|---|---|---|---|
| 🟡 | src/components/Entity/EntityInfoDrawer/EdgeInfoDrawer.component.tsx:316:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'onEdgeDetailsUpdate'. Either include it or remove the dependency array. If 'onEdgeDetailsUpdate' changes too o |
| 🟡 | src/components/Entity/EntityInfoDrawer/EdgeInfoDrawer.component.tsx:362:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'onEdgeDetailsUpdate'. Either include it or remove the dependency array. If 'onEdgeDetailsUpdate' changes too o |
| 🟡 | src/components/Entity/EntityInfoDrawer/EdgeInfoDrawer.component.tsx:427:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array. |
| 🟡 | src/components/Entity/EntityInfoDrawer/EdgeInfoDrawer.component.tsx:480:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'onEdgeDetailsUpdate'. Either include it or remove the dependency array. If 'onEdgeDetailsUpdate' changes too o |
| 🟡 | src/components/Entity/EntityInfoDrawer/EdgeInfoDrawer.component.tsx:487:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'getEdgeInfo'. Either include it or remove the dependency array. |
| 🟡 | src/components/Entity/EntityLineage/CustomNodeV1.component.tsx:393:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has an unnecessary dependency: 'onSceneNodeSelect'. Either exclude it or remove the dependency array. |
| 🟡 | src/components/Entity/EntityLineage/LineageTimeFilter.component.tsx:229:44 |
openmetadata-ui-patterns/no-non-adaptive-palette |
Raw palette class "tw:text-brand-600" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-brand-600) or a sema |
| 🟡 | src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.component.tsx:34: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/Explore/EntitySummaryPanel/EntitySummaryPanel.component.tsx:514:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'entityDetails.details'. Either include it or remove the dependency array. If 'setEntityData' needs the current |
| 🟡 | src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.component.tsx:721:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has an unnecessary dependency: 't'. Either exclude it or remove the dependency array. |
| 🟡 | src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.component.tsx:807:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has an unnecessary dependency: 't'. Either exclude it or remove the dependency array. |
| 🟡 | src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.component.tsx:831:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has an unnecessary dependency: 'entityData'. Either exclude it or remove the dependency array. |
| 🟡 | src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.component.tsx:987:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has missing dependencies: 'NAV_OPTIONS.explore', 'NAV_OPTIONS.lineage', 'handleClosePanel', 'highlights', 'panelPath', and 't'. Either includ |
| 🟡 | src/components/Explore/EntitySummaryPanel/EntitySummaryPanel.component.tsx:1004:5 |
react-hooks/exhaustive-deps |
React Hook useMemo has an unnecessary dependency: 'getEntityLinkFromType'. Either exclude it or remove the dependency array. Outer scope values like 'getEntityL |
| 🟡 | src/components/Lineage/EntityLineageCanvas/EntityLineageCanvas.tsx:132:6 |
react-hooks/exhaustive-deps |
React Hook useEffect has a missing dependency: 'updateEntityData'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/EntityTitleSection/EntityTitleSection.tsx:160:13 |
openmetadata-ui-patterns/no-non-adaptive-palette |
Raw palette class "tw:bg-gray-blue-50" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:bg-utility-gray-blue-50) or a se |
| 🟡 | src/components/common/EntityTitleSection/EntityTitleSection.tsx:162:25 |
openmetadata-ui-patterns/no-non-adaptive-palette |
Raw palette class "tw:text-blue-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-blue-700) or a semant |
| 🟡 | src/components/common/EntityTitleSection/EntityTitleSection.tsx:171:25 |
openmetadata-ui-patterns/no-non-adaptive-palette |
Raw palette class "tw:text-blue-700" is static — it does not flip in dark mode. Use the theme-adapting "utility-" variant (tw:text-utility-blue-700) or a semant |
| 🟡 | src/components/common/Table/TableV2.tsx:1072:6 |
react-hooks/exhaustive-deps |
React Hook useMemo has a missing dependency: 'scroll'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/Table/TableV2.tsx:1270:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'rest'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/Table/TableV2.tsx:1298:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'rest'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/Table/TableV2.tsx:1328:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'rest'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/Table/TableV2.tsx:1377:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'setPreference'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/Table/TableV2.tsx:1399:6 |
react-hooks/exhaustive-deps |
React Hook useCallback has a missing dependency: 'setPreference'. Either include it or remove the dependency array. |
| 🟡 | src/components/common/Table/TableV2.tsx:1615:5 |
react-hooks/exhaustive-deps |
React Hook useCallback has missing dependencies: 'filteredDataSource.length' and 'rest'. Either include them or remove the dependency array. |
Fix locally (fast - only checks files changed in this branch):
make ui-checkstyle-changed…DQ states - Typography text colours use the color prop instead of text classes - Base node and badge gradient fill only when no selected/failed-quality state supplies its own fill
…ement' into chirag-madlani/lineage-ui-enhancement
Only the selected states set their own background; an unselected failed-quality base node changes just its border, so it keeps the base fill.
EntityTitleSection gains a plain option that drops its tinted title box; the lineage side drawer uses it, matching the edge drawer header.
Code Review ✅ Approved 2 closed / 2 findings🟡 Medium risk · Column-level lineage edits now target only canvas assets, which could block intended lineage links when the counterpart is not present. Lineage UI feedback fixes: the base-node title now uses a core link-primary Button colour instead of a className override, and unselected DQ-failed base nodes keep their fill instead of rendering transparent. No open issues found. ✅ 2 closed✅ Quality: Base-node title overrides core Button text colour via className
✅ Bug: Unselected DQ-failed base node loses all fill and renders transparent
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 |
|
…age-release-fixes PlatformLineage keeps #36093's AI-mode header. Its export button becomes LineageExportButton, and the page header and tab title keep this branch's lens and entity-name fixes.
#36093 moved the Lineage page's export button into the AI-mode page header, which renders outside <Lineage>, where the lineage handlers context only has its no-op default. LineageExportButton now builds the PNG export itself from the graph the map publishes to the lineage store, and takes the header's button size. The PNG options (frame, edge overlay, capture hooks) move into getLineagePngExportOptions, shared with the asset Lineage tab. Nothing on the Lineage page calls onExportClick any more, so it drops its platform branch.
…#35438) * feat(ui): Implemented New Persona setting ui * fixedall the UI issues and added unit and playwright test * feat(ui): finish persona settings migration and drop antd from home customize - Render persona fullscreen customize views in normal flow (no z-index overrides) - Guard persona customize exits with the unsaved-changes prompt - Wait for the customize store page type before mounting entity customize pages - Migrate Curated Assets modal, header theme, search bar and carousel off antd - Save persona home header colour; restore Members/Bots profile nav ids - Move CustomizeStore and page-type utils out of pages/ - Add unit tests for persona settings and Playwright save coverage * lint fix * chore(playwright): auto-refresh impact-map.generated.json * removed antd refs * fix(playwright): replace antd modal waits with role-based dialog waits in CustomizeDetailPage spec The Add Tab modal was migrated from antd Modal to SimpleModal, so .ant-modal never renders. Drop the dead .ant-modal.waitFor and waitForAntdModalToSettle calls; the existing getByRole('dialog') check already gates the dialog, leaving only expect(addButton).toBeEnabled() before the click. Co-Authored-By: Claude Sonnet 4.6 <[email protected]> * lint fix * Persona settings review fixes: filled eye and save icons, header action alignment, tailwind tokens for home widgets, revert import-only churn, stabilize curated assets e2e * Remove accidentally committed local playwright report * Update NavigationBlocker and CustomizeLandingPage specs for the core UnsavedChangesModal * Sort imports * Restore Members nav item and ProfileNavId re-export lost in merge * Fix Sonar warnings in persona settings: void floating promises, Select value/onChange, useState naming * lint fix * Address review: persist home reset, sync doc-store cache, guard dirty in-modal editors, scroll-only dialog dividers, move usePersonaUsersField to hooks * Keep the unsaved-changes prompt open when save-before-exit fails * Label test-only buttons for jsx-a11y * lint fix * Fix hook dependency and async lint warnings without disabling rules * Fix remaining lint warnings: hook deps in AddWidgetModal/CustomiseSearchBar, isolated admin fixture in persona specs * chore(playwright): auto-refresh impact-map.generated.json * Fix hook deps in CustomiseHomeModal/EmptyWidgetPlaceholder and move CustomizeLandingPage to the isolated admin fixture * chore(playwright): auto-refresh impact-map.generated.json * feat(ui): migrate antd icons to core UI icon library Add 11 new icons to @openmetadata/ui-core-components and replace every named @ant-design/icons import across OMD with a core-UI equivalent. Icons added (SVG + generated TSX): CheckCircleFilled, CloseCircleFilled, ExclamationCircleFilled, EyeInvisibleFilled, Drag, Mail, Paperclip, Send, SortAscending, SortDescending. EyeFilled already existed. Call-site migration: all 29 distinct named antd icons are gone (CloseOutlined->XClose, PlusOutlined->Plus, CheckOutlined->Check, InfoCircleOutlined->InfoCircle, and 25 more). The package itself stays for now: 104 files still use the default <Icon component={Svg} />, which core-UI's Icon (iconValue: string) cannot accept. Naming: drop the "Outlined" suffix (MailOutlined->Mail, SaveOutlined->Save); "Filled" is kept as a real variant marker. Deduplicate X/XClose: same glyph, differing only in inset. XClose has 68 imports on main vs 11 for X, so X is removed and its users converted. LoadingOutlined (an animated antd Spin indicator) becomes the in-house spinner idiom used by tree/tree-select/button: RefreshCw01 + tw:animate-spin. CheckCircleTwoTone keeps its green via color=. Fix generate-icons.mjs: SVGO's convertColors rewrites `white` to `#fff` before replaceHardcodedColors runs, so the guard matching only the literal "white" let the knockout on filled icons be themed into currentColor - making the tick/cross/bang invisible against the disc. Match the hex forms too. This also corrects SecurityService's clipPath. Tests: 5 suites asserted antd implementation details (incomplete icon mocks, getByRole('img'), and an accessible name of "left label.browse-app-plural" from LeftOutlined's aria-label). Core-UI icons are aria-hidden, so assertions move to data-testid. Co-Authored-By: Claude Opus 5 <[email protected]> * refactor(ui): render SVG assets directly instead of antd's Icon wrapper Replace every `<Icon component={Svg} />` with the SVG component itself, and drop the direct @ant-design/icons dependency. No named antd icon imports and no uses of its default Icon component remain; antd keeps the package as its own transitive dependency, so the yarn.lock entry stays until antd goes. antd's Icon rendered `<span role="img" class="anticon">` around an `<svg>` it sized at `1em`. Rendering the asset directly removes that wrapper, which four kinds of styling quietly depended on: - `.anticon { font-size }` sized the icon. Each call site now carries the size the CSS asked for (the left sidebar was the worst case at 28px, and had been rendering at 14px), and the dead font-size declarations are removed. - `.anticon svg { fill }` and `.class svg { width/height }` targeted a descendant. The icon *is* the svg now, so those rules match the element itself; the sidebar's `fill: transparent` and the onboarding icon's 24px were both being dropped. - `.ant-btn > .anticon + span { margin-left: 8px }` gave antd buttons their icon/label gap. Icons inside an antd `<Button icon=…>` with a label get `tw:mr-2`. - `.anticon` was `inline-flex` and would not shrink. A bare `<svg>` in a flex row can be squashed by a long sibling, so converted icons get `tw:shrink-0`. Sizes are preserved rather than standardised: `1em` resolved against antd's `body { font-size: 14px }`, so sites with no explicit size become `tw:size-3.5` and sites with `style={{ fontSize }}` keep their own value. `alt` is carried to `aria-label` + `role="img"`. antd put it on the wrapper span, where it meant nothing. `getColumnDataTypeIcon` returned null for an unknown dataType, which antd's `component={null}` tolerated; it now guards instead of crashing the lineage node. Tests that asserted antd internals (`.anticon`, `role="img"`, an accessible name of "left …" from LeftOutlined's aria-label, and svg mocks that dropped className) assert the rendered element instead. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(ui): size the settings card icon at 90px, not the inherited 14px `.setting-card-item .setting-card-icon svg { font-size: var(--om-font-size-90) }` sized this icon while it was wrapped in antd's `.anticon`. font-size cannot size an `<svg>`, so once the asset rendered directly the rule stopped applying and the icon fell back to the 14px default every other converted icon takes — a 6x shrink on every card in Settings. The size moves onto the icon's class and the dead declaration is removed. Co-Authored-By: Claude Opus 5 <[email protected]> * minor fix * fix(ui): size the converted icons and restore the antd button icon gap Two things the icon conversion left behind, both found in review. Icons from `@openmetadata/ui-core-components/icons` default to `size = 24` and write that to the svg's width/height, where the antd icons they replaced were `1em` — about 14px against antd's `body { font-size: 14px }`. 67 call sites rendered the icon bare, so they all grew to 24px: overflowing 18px and 24px icon-only buttons, and dwarfing the `text-xs` labels they sit beside. Each one now carries the size it used to render at, keeping any explicit `fontSize` the old call site set (so KPILatestResultsV1 stays 20px and 14px). `.ant-btn > .anticon + span` and `span + .anticon` gave antd buttons their 8px icon/label gap, and neither matches a bare svg. 11 buttons with the icon before the label get `tw:mr-2`; 2 with it after get `tw:ml-2`. Also: WhatsNewAlert's close icon was invisible. `padding: 16px` used to apply to antd's wrapper span; on the svg itself, under the global border-box reset, 32px of padding against a 14px box leaves a 0x0 content area — measured in Chrome as `box 32x32, content 0x0`. It is the only element carrying the dismiss handler. `box-sizing: content-box` restores it to `box 46x46, content 14x14`. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(ui): size the icons written as bare tags, and drop the dead fontSize The previous pass keyed off an existing `className` on the icon, so the call sites written as a bare `<XClose />` or `<Check />` were skipped and kept rendering at the core-ui default of 24px. 13 of them, in buttons sized for a 14px glyph: BotDetails and RolesCard's `size="small"` save/cancel pair, ObservabilityFormFiltersItem and TriggerItem, Execution, TermBoost's Select suffix, CustomizeAppModeSidebarPage and ProfilerConfigurationPage. Two take their size from the button's own CSS rather than the 14px default: `.include-columns-add-button` is 18x18px with an 8px glyph, so both of ProfilerSettingsModal's Plus icons are `tw:size-2`. Also removed 7 `style={{ fontSize }}` declarations left on converted icons. font-size cannot size an `<svg>`, and each site's size class already matched the value it was asking for. IncidentList's ShieldTick is left unsized: it belongs to main, not this branch, and is deliberately large in an empty-state placeholder. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(ui): merge the duplicate className on SearchInputIcon The icon-sizing pass appended a second `className` instead of merging into the one already there. JSX keeps the last, so the `className` the caller passes in was silently dropped and only the size class survived. Merge both through `classNames`, which the file already imports. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(ui): restore the button icon gap on 11 more sites, prune stale suppressions The gap sweep matched `icon={<X ... />}` literally, so it missed icons wrapped in an expression — EmailConfigSettingsPage renders its Edit icon behind an `!isUndefined(...) && ...` guard, and its label sat flush against the icon. Widening the scan to the whole `icon=` prop value found 11 labelled antd buttons still missing the 8px gap `.ant-btn > .anticon + span` used to supply. `yarn lint:src:suppressions` drops 36 `no-antd-import` suppressions for files this branch moved off antd. Verified none of the 36 still imports antd, so no real violation is being hidden. Without this, `make ui-checkstyle-changed` fails with "There are suppressions left that do not occur anymore". The five `LeftOutlined` prev-buttons in the DataContract tabs keep their current spacing: they are pre-existing SVGR assets with explicit width/height that this branch never converted. Co-Authored-By: Claude Opus 5 <[email protected]> * test(ui): lower the antd suppression ratchet to 559 `openmetadata-antd.test.mjs` pins the exact number of suppressed antd symbols so re-running `--suppress-rule` cannot quietly absorb new usage, and its comment says to lower the figure when a PR removes antd imports and prunes the baseline. This branch removes 164, so the count is 723 -> 559. Co-Authored-By: Claude Opus 5 <[email protected]> * refactor(ui): size core-ui icons with the size prop instead of a class The icons from `@openmetadata/ui-core-components/icons` take a `size` prop, so 73 call sites pass it directly rather than carrying a `tw:size-*` class. Each keeps the size it already rendered at, including the odd ones: `size={8}` for the 18px include-columns button, `size={18}`, `size={20}`. The 61 SVGR assets imported from `assets/` keep their class. Those components spread props straight onto the `<svg>` and have no `size` handling, so `size` would land as a meaningless `size="14"` attribute and leave the icon unsized. One consequence worth knowing: `size` writes width/height attributes, which CSS outranks, where a class does not. Checked every class still attached to a converted icon for a CSS width/height rule — the only matches are generic utilities (`d-flex`, `cursor-pointer`) and a `drawer-close` prefix match on `drawer-close-icon`, which belongs to a ButtonUtility this branch never touched. Co-Authored-By: Claude Opus 5 <[email protected]> * refactor(ui): move the last 12 core-ui icons onto the size prop A re-audit of all 160 changed .tsx files, with a brace- and quote-aware scanner that also reads multi-line tags and dynamic classNames, found 12 core-ui icons still sized by a `tw:size-*` class. They were added after the earlier conversion, in the pass that gave bare tags an explicit size. The 76 SVGR assets keep their class: they have no `size` prop, so `size` would land as a meaningless `size="14"` attribute. Six were traced back to their `assets/*.svg` import to confirm the classification, including `Calendar`, whose name also exists in the core-ui icon set. Co-Authored-By: Claude Opus 5 <[email protected]> * refactor(ui): drop the redundant white style and the vestigial anticon class The seven `style={{ color: 'white' }}` on Plus icons sit inside antd `<Button type="primary">`, which already sets `color: #fff`, so the icon inherits white through `currentColor` without them. The four `anticon` classNames were antd's wrapper hook. Nothing styles them now that the icon is the svg itself — the one rule that could have matched, `.alert-icon .anticon`, is scoped to a container none of these sit in. The other 17 style props stay. They are not redundant: core-ui icons hardcode `stroke="currentColor"` on the path, which overrides the root's `stroke={color}`, so the glyph follows the inherited CSS color. Verified in Chrome — dropping `style={{ color }}` renders the path black rather than the intended colour. Those set greys (GRAYED_OUT_COLOR, #37352F4D) or spacing and all came across from the antd icons they replaced. Co-Authored-By: Claude Opus 5 <[email protected]> * refactor(ui): move icon classes onto Tailwind tokens, dark-mode aware 63 icon sites carried legacy utility classes. Each is mapped to its Tailwind equivalent after resolving the actual CSS value, so nothing shifts: m-r-xss is 4px so `tw:mr-1`, m-l-xs is 8px so `tw:ml-2`, m-l-sm is 12px so `tw:ml-3`. The colours matter most. `text-grey-muted` is a hardcoded #757575 with no dark variant; `tw:text-quaternary` resolves through `--color-gray-500`, which `.dark-mode` redefines. Measured in Chrome: legacy light rgb(117,117,117) dark rgb(117,117,117) unchanged token light rgb(117,117,117) dark rgb(123,127,134) adapts Also `text-grey-600` -> `tw:text-tertiary`, `text-base-color` -> `tw:text-secondary`, `text-primary` -> `tw:text-brand-secondary` (what DataAssetsHeader.utils and ServiceFlowStepper already use for brand text). 26 classes stay: `sla-icon`, `status-icon`, `inherit-icon`, `configure-arrow`, `primary-key-section-line` and the like are component classes carrying their own colours and transforms, not utilities — replacing them means deleting their stylesheets. `TagsUtils` had `className="d-block'"`, a stray apostrophe that made the class match nothing. Now `tw:block`. NavbarUtils asserts the literal className, so its expectation moves with the component. No other test asserts on a converted class. Co-Authored-By: Claude Opus 5 <[email protected]> * refactor(ui): drop the sizing classes that do nothing on an icon An `<svg>` with an explicit size ignores font-size, so `tw:text-md`, `tw:text-xs` and `tw:font-medium` on 15 already-sized icons were dead. Measured in Chrome: the same icon renders 14x14 with and without them. Only sites that already carry a size prop, a size class or width/height attributes are touched — an unsized icon still inherits font-size through `1em`, and none of those exist here. ArrayFieldTemplate's delete icon carried `tw:w-7 tw:h-0` alongside `tw:size-3.5`, which is a real conflict: whichever Tailwind emits last wins and `h-0` would collapse it. The original had `w-7 h-0` on antd's wrapper span, where it was harmless and, as it turns out, already dead — neither class is defined in the LESS. Co-Authored-By: Claude Opus 5 <[email protected]> * refactor(ui): drop the icon styles and classes that carry nothing Style props on icons go from 17 to 5. The six `marginRight` become `tw:mr-2` / `tw:mr-2.5`, the six `color: GRAYED_OUT_COLOR` become `tw:text-quaternary` (#959595 hardcoded, so it never adapted to dark mode), and one `transform: rotate(90deg)` becomes `tw:rotate-90`. Four GRAYED_OUT_COLOR imports are no longer used. ProfileCard carried `className="tw:mr-1"` and `style={{ marginRight: '10px' }}` on the same icon. The inline style won, so the class was dead and the markup said 4px while rendering 10px. One `tw:mr-2.5` now. `close-btn` and `ant-icon` are defined in no stylesheet, antd's included. Both came across from the antd icons they replaced, where they did nothing either. Five style props stay because nothing else expresses them: a dynamic `theme.primaryColor`, an intentional `currentColor`, and three specific values (TEXT_BODY_COLOR, #546E7A, #37352F4D) with no exact token — #546E7A is close to `tw:text-tertiary` (#535862) but not equal, and swapping it would change the colour rather than tidy it. The 23 remaining classes were each checked against the stylesheets and do carry CSS, `ant-form-item-tooltip` included: antd defines it with a colour and `cursor: help`. Co-Authored-By: Claude Opus 5 <[email protected]> * style(ui): convert remaining legacy icon classes and fix dead sidebar CSS Follow-up review pass on the antd icon migration. - Convert the legacy utility classes still sitting on migrated icons to their Tailwind equivalents: m-r-xss/m-t-xss (4px) -> tw:mr-1/tw:mt-1, m-r-xs (8px) -> tw:mr-2, m-x-sm (12px) -> tw:mx-3, align-middle and self-center -> tw:align-middle / tw:self-center. - GlobalSearchBar: text-primary (!important ant var) -> tw:text-brand-secondary, and drop 'text-color', which no stylesheet defines. - Replace two hardcoded colours with dark-mode-aware tokens: LimitBanner's #546E7A -> tw:text-quaternary, and AddAttributeModal's #37352F4D -> tw:text-placeholder. The latter was a real dark-mode bug: at 30% alpha the glyph flattens to #c3c2c0 on light but #191c22 on dark, i.e. it got darker against a dark background. - left-sidebar.less: antd's Menu clones the `icon` node and appends `ant-menu-item-icon` to its className -- it never wraps it in `.anticon`. Verified against the rendered DOM (0 `.anticon`, 3 `.ant-menu-item-icon`). Every `.anticon` rule in the file was therefore dead once the icons became bare <svg>, including the hover colour at `.ant-menu-item-active`. Point them at `.ant-menu-item-icon`, collapse the four-selector `fill: transparent` block into one rule, and drop the `font-size` rules (a sized <svg> ignores font-size) along with the now-unused @left-sidebar-icon-size, whose 28px the `tw:size-7` class already carries. Co-Authored-By: Claude Opus 5 <[email protected]> * lint fix * style(ui): drop the inline styles this branch introduced on icons Addresses the review comments on #35205. - TaskFeedCardFromTask: the footer Box already supports `gap`, so use gap={2} (tw:gap-2, 8px — what tw:mr-2 was) instead of margins on the icon and the replies-count button. - The seven `<Plus size={14} style={{ color: 'white', fontSize: '12px' }} />` icons inside `<Button color="primary">` become `iconLeading={Plus}`, the component form used at 235 other call sites. All three properties were dead: Button's primary root carries tw:text-white (inherited through currentColor) and sizes its icon with `tw:*:data-icon:size-*`, a class that outranks the size attribute; fontSize never sized a sized <svg>. - TreeSelectWidget: TEXT_BODY_COLOR (#37352F, no dark variant) -> the tw:text-secondary token, and drop the now-unused import. - executionUtils: color: 'transparent' -> tw:text-transparent, twice. - AddAttributeModal: a second #37352F4D Search prefix the main merge brought in -> tw:text-placeholder, matching the one already converted. - ExploreV1: drop `fontSize: '14px'` from the two sort icons — font-size cannot size an <svg>, and the enclosing core Button sizes them anyway. Left inline deliberately: `theme.primaryColor` (EntityLineageSidebar) and `currentColor` (AppearanceConfigSettingsPage) are user-configurable brand colours from Appearance settings, so no static Tailwind class can track them. Verified: tsc 573 vs origin/main's 626 baseline; jest 872/872 across the 64 affected suites; eslint 0 errors. Co-Authored-By: Claude Opus 5 <[email protected]> * style(ui): replace the last inline styles and hardcoded status colours - EntityLineageSidebar: both inline styles go. `cursor: 'grab'` becomes a conditional `tw:cursor-grab`, and `theme.primaryColor` becomes `tw:text-fg-brand-primary`. I previously argued this one had to stay inline because the colour is user-configurable; that was wrong. The theme provider publishes primaryColor into --tw-color-fg-brand-primary at runtime (theme-provider.utils.ts), so the class tracks the configured colour and the component no longer needs useApplicationStore at all. - SSOConfigurationForm: the status disc was a hardcoded @green-7/@Red-7 with no dark variant and a raw tw:text-white glyph. Both sides move to semantic tokens — tw:bg-success-solid / tw:bg-error-solid, which globals.css redefines under the dark block, with tw:text-fg-white on the glyph. The two now-unused LESS rules are deleted. - app.less: drop `.pagination-prev-icon`, whose `margin-top: calc(-1 * var(--om-space-3))` and `transform: rotate(180deg)` become `tw:-mt-[3px] tw:rotate-180` at the call site (--om-space-3 is 3px, off Tailwind's 4px scale, hence the arbitrary value). `.pagination-next-icon` was referenced but never defined, so that class is dropped too. Its three tests asserted the old implementation — inline `cursor: grab` and `useApplicationStore` being called — so they now assert the class and the rendered handle. The global svg.mock drops props, so the brand tint is not assertable in jsdom; the test says so rather than pretending to check it. Verified: tsc 573 vs origin/main's 626 baseline; jest 450/450 across the 29 affected suites; eslint 0 errors. Co-Authored-By: Claude Opus 5 <[email protected]> * lint fix * chore(playwright): auto-refresh impact-map.generated.json * fix(ui): restore the icon sizes and line box the visual baselines expect The visual-regression suite failed on applications, settings and glossary. Both causes are this branch's, and both come from replacing an antd <Icon> with a bare <svg>. 1. Badge icons were sized 14 when the antd icon they replaced rendered at 1em of the badge's own font-size: ApplicationCard .text-xss -> 10px (was 14) EntityHeaderTitle .text-xs -> 12px (was 14) TeamsHeadingLabel .text-xs -> 12px (was 14) AppDetails .text-xs -> 12px (was 14) On the marketplace the 4px of extra width pushed "Cache Warmup" onto a second line, which cascaded ~12px down the grid and reordered the cards. My earlier size audits only looked for icons with no size at all, so a size that was present but wrong went unnoticed. 2. setting-item-card: dropping `font-size: 90px` from the icon's <svg> also dropped the inline line box the `.anticon` wrapper used to contribute, and that box is part of the card's height. Measured in Chrome: the antd markup gives a 109px row, the bare svg 93px inline / 90px block, and putting the font-size back on `.setting-card-icon` returns it to 109px exactly. The svg keeps its tw:size-[90px]; the font-size is only there for the line box. Verified: tsc 573 vs origin/main's 626 baseline; jest 63/63 across the 10 affected suites. The screenshots themselves can only be re-checked by CI, which runs them in the pinned Playwright container. Co-Authored-By: Claude Opus 5 <[email protected]> * refactor(ui): express the settings-card line box as a Tailwind class Replaces the `font-size: var(--om-font-size-90)` I had put back into setting-item-card.style.less with `tw:text-[90px]` on the container, so the LESS carries no om token and its only change remains the removal of the old rule. Measured in Chrome, both give the card the same 109px row the antd `.anticon` wrapper produced; the bare svg alone gives 93px inline / 90px block. Verified: tsc 574 vs origin/main's 626 baseline; jest 4/4; eslint 0 errors. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(ui): size the settings-card icon the way the legacy markup did My previous two attempts here were based on a wrong reconstruction of the old DOM. The real markup is `<svg width="1em" height="1em">` inside a plain `.anticon` span that carries no font-size of its own — the 90px came from the LESS rule `.setting-card-icon svg { font-size: 90px }` applying to the svg, where font-size resolves `1em`. So it sized the glyph; it was never a line box. Measured against that real markup in Chrome: legacy gives a 90x93 icon box, a 93px row and the beta badge at (9, 82) from the box corner. A bare inline <svg> sized by `tw:size-[90px]`, with no height pin and no font-size, gives exactly the same three numbers. The `tw:h-[109px]` I added before was 16px too tall and made every settings card taller than the baseline instead of matching. The diff is now just: drop the antd wrapper, move the 90px from the LESS onto the icon as a Tailwind class. Verified: jest 4/4; eslint 0 errors. Co-Authored-By: Claude Opus 5 <[email protected]> * lint fix * feat(ui): unify edit icon on Edit01 and drop icon-button wrappers - ButtonUtility forwards refs, defaults to tertiary, and keeps the tooltip and focus on a disabled button that has a tooltip (aria-disabled). - Every edit action uses core Edit01; Edit02/03/05, Pencil01, EditSkills and the app's edit-new*, action-icons/edit and ic-edit-circle svgs are deleted. edit01.svg now matches the shipped 20-grid glyph so regeneration keeps it. - EditIconButton family, WidgetActionButton, LineageNodeRemoveButton and Modals/CloseIcon are replaced by ButtonUtility at each call site, with icons passed as components and sizes per the Figma placement spec. ADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon * feat(ui): make every icon-only action a tertiary ButtonUtility Icon-only core Buttons, raw icon <button>s, icons with onClick and icon-only span/div handlers become ButtonUtility, sized by placement (xs chip/expander, sm inline edit, md row/card actions, lg collapse/close/canvas, xl page header) with icons passed as components. Existing secondary/primary ButtonUtility usages become tertiary. ButtonUtility types onPress and, when disabled with a tooltip, stops press events before a parent MenuTrigger/DialogTrigger can open. * feat(ui): pass button icons as components so buttons size them Labeled Buttons pass iconLeading/iconTrailing as component references instead of pre-sized elements, icons sitting in children move to the icon props, and SVGs that cannot take the button's size or currentColor (no viewBox, hard-coded fill) are replaced by their core equivalents. Blue icons use utility-brand-600. * fix(ui): one delete icon, lg header actions, quaternary menu icons - Trash01 is the only delete icon: ic-delete, ic-trash, delete-colored, action-icons/trash, ic-delete-token and core Trash02 are replaced and removed, along with unused delete svg variants. - Icon-only header actions use ButtonUtility lg instead of xl (ManageMenu and CopyLinkButton default to lg). - Menu and popover item icons are 20px text-quaternary with the standard stroke; dark hard-coded menu svgs are swapped for core icons or switched to currentColor. - Dropdown.DotsButton renders a tertiary ButtonUtility; remaining raw icon triggers (agent overflow, table header filter, feed reply/comment) move to ButtonUtility. * fix(ui): align icon colours and sizes with the icon spec - Owner edit trigger wrappers are inline-flex so the button sits on the label row; button wrapper divs in Bot, ColumnDetail and ExpandableCard headers are flex for the same reason. - Core icons outside buttons drop pixel sizes for the spec frames (16-20px -> 20 frame, 14-15 -> 18, <=13 -> 16) and lose stroke overrides. - Blue icons use utility-brand-600 (theme-driven) instead of fg-brand-primary / brand-600; raw gray palette icons use utility-gray. * fix(ui): one plus and copy icon, numeric button labels, spec icon sizes - Plus and Copy01 are the only add and copy icons: plus/copy svg variants and core PlusCircle and Copy07 are replaced and removed; text '+' labels become iconLeading={Plus}. - Button treats a numeric 0 child as a label, so vote counts keep their padding and the button is not styled icon-only. - Remove per-call icon size overrides on buttons (bulk Edit, feed footer, ontology actions, query builder) so icons use the spec frame. * fix(ui): drop remaining button icon size overrides, widen vote count gap - Tree-select and filter-select borderless triggers no longer shrink the chevron below the button's frame; the notification bell and copy-link check use the spec frame instead of pixel sizes. - Query vote buttons get a 4px icon-count gap. * fix(ui): use core icons where wrapper removal moved raw svg imports Inlining the icon-button wrappers moved their raw assets/svg imports into each call site, which the tw-deprecation guard reads as new imports. - Add core ExpandRight (the panel toggle, 16px glyph on the 20 grid) and use it for every tab-expand-button. - list-conversation / request-update / ic-card-expand-collapse become core MessageChatSquare / MessagePlusSquare / ChevronUp. * fix(ui-core): designer panel-toggle and plus/minus icons - Expand / Collapse replace ExpandRight for the right-panel toggle; the 25 tab-expand buttons switch icon by state instead of rotating one glyph. - Plus, Minus, PlusCircle and MinusCircle take the designer's artwork with a 1.8 stroke (1.3 read too light at these shapes); PlusCircle is restored. * fix(core-ui): restore the 16 icons the last merge regenerated Valid review comment on Edit01. Resolving the icon conflicts in the previous merge, I re-ran `yarn icons:generate` to rebuild Paperclip/X — but that rewrites every icon, and main's checked-in output does not match what main's own generator produces. 450 of main's icons carry `stroke={color}` on the path, while the generator emits `stroke="currentColor"`, which overrides the root's `stroke={color}` and makes the `color` prop inert. Edit01 was the clearest casualty: main keeps a hand-maintained three-path pencil-with-baseline whose edit01.svg source is the stock single-path UntitledUI pencil, so regenerating collapsed 3 paths into 1 and changed the glyph at every call site (IntakeFormsTable, RelationshipTypeTable, DomainDetails, BotDetailPanel, the access-control pages, EntityBulkEditUtils). Restore all 16 pre-existing icons to main's version. The 11 this PR genuinely adds (CheckCircleFilled, CloseCircleFilled, Drag, ExclamationCircleFilled, EyeInvisibleFilled, Mail, Paperclip, Save, Send, SortAscending, SortDescending) are untouched, and index.ts still exports them plus main's X. Not fixing the source/output drift here: it predates this branch, spans ~450 icons, and belongs in its own PR rather than one whose goal is no visual change. Verified: Edit01.tsx byte-identical to main (3 paths, stroke={color}); tsc 564 vs origin/main's 568 baseline; core-components rebuilds clean. Co-Authored-By: Claude Opus 5 <[email protected]> * style(ui): organise the icon imports the merge left out of order ui-checkstyle failed its "ESLint + Prettier + Organise Imports (src)" gate on seven files. That step runs organize-imports-cli, eslint --fix and prettier over the changed files and fails if any of them rewrites something. All seven are files where the last merge needed a core-icon import added back (main's side of the conflict had dropped it). I appended each import at the end of the block instead of in sorted position, so organize-imports-cli moved it and the gate tripped. No code change — only the import lines move. Verified by running the three CI commands in order over the same file list: the tree is clean afterwards, so the gate's `git status --porcelain` check now passes. Co-Authored-By: Claude Opus 5 <[email protected]> * lint fix * chore(playwright): auto-refresh impact-map.generated.json * lint fix * chore(playwright): auto-refresh impact-map.generated.json * fix(ui): keep the settings card icon's baseline offset The `settings matches baseline` visual-regression test was failing on this branch and only on this branch — PR #35520 carries main's sidebar rewrite and passes, so the stale-baseline theory I had been working from was wrong. Measuring the card top-borders in CI's own PNGs shows the cards drift: the first is identical at y=157, then 218->219, 240->241, 276->278, 297->299, growing down the page. That is this branch's SettingItemCard change. antd's <Icon> wraps the svg in a `.anticon` span, and antd injects `.anticon { display: inline-flex; line-height: 0; vertical-align: -0.125em }` at runtime from @ant-design/icons/lib/utils.js. Replacing the wrapper with a bare <svg> dropped that offset: a baseline-aligned inline svg reserves room for the descender, making the icon box 2px taller. Measured in Chrome against the real antd CSS: legacy 90x93, bare svg 90x95 (the 2px), and 90x93 again with `vertical-align: -0.125em` restored. `display: block` overshoots at 90x90, which is why the earlier attempts at this missed. `tw:align-[-0.125em]` is already used in EntitySummaryDetails on this branch, so the utility compiles. Verified: eslint 0 errors; jest 4/4; the ui-checkstyle pipeline leaves the file clean. Co-Authored-By: Claude Opus 5 <[email protected]> * fix(ui): size icon-only actions by role and keep the PR to button icons - ButtonUtility sizes follow the icon's role: standalone table, card and list-row actions and sole header actions are lg (16 icon / 20 frame), actions tied to a label or section are sm (14 / 18), and arrows, expanders and chip removes are xs (12 / 16). md is no longer used. - Core: link-color Button icons use brand-600, chip remove buttons are a 20 box with a 16 frame in gray-500, and the borderless filter trigger caret uses the 16 frame. - Icons rendered outside buttons (breadcrumbs, metadata rows, tree and list-row icons, status and tile icons) are restored to their base sizes and colours; this PR only changes icons inside action buttons. * fix(ui): centre header stat icons, widen link button gap, match search icons - StatItem: make the button's text span flex so the vote/version icon and count centre with the manage menu instead of sitting on the text baseline. - Unboxed link buttons drop the label padding, so their icon-to-label gap is one 2px step wider to match boxed buttons. - Leading search icons in fields use the 20 frame everywhere: TreeSelect and the Connections, data asset picker, Marketplace and Explore search inputs. - WhatsNewAlert close button uses size md. * fix(ui): close buttons use XClose at lg; record role-based action sizes - WhatsNewAlert and WelcomeScreen close buttons use the core XClose instead of the edge-to-edge close.svg, which rendered oversized in the button's icon frame; WhatsNewAlert's close is lg like other closes. - Re-centre PlusCircle and MinusCircle at (10, 10). - Amend ADR:2026-10-14-icon-only-actions-are-tertiary-button-utility-with-one-edit-icon: ButtonUtility size follows the icon's role (lg standalone, sm with a label, xs arrows); md is not assigned. - Amend ADR:2026-10-13-core-icons-and-buttons-follow-the-figma-icon-spec: 1.8 stroke for Plus/Minus glyphs and the wider link button gap. * test(playwright): locate the selected-policy check by testid, not .anticon-check Roles.spec asserted the selected policy with `.locator('.anticon-check')`. That class came from antd's <CheckOutlined>; this branch renders core <Check>, which emits no `.anticon-*` class, so the locator could never match. Give the icon `data-testid="selected-check-icon"` and locate by that, which is how the rest of that assertion already finds its elements and does not depend on a library's internal class names. Verified in jsdom that the core icon spreads `data-testid` through to the <svg>. Also swaps the icon's legacy `text-primary` (an antd-variable class with `!important` and no dark-mode variant) for `tw:text-brand-secondary`, matching the conversion done elsewhere on this branch. Left alone: the two `.anticon` locators in playwright/utils/user.ts. They sit in `editTeams` and `editDescription`, which have no callers, and the first is already stale on main — TeamsSelectableNew renders core TreeSelect, not antd Select. Neither is a regression from this PR. Verified: eslint 0 errors; jest 16/16 across src/pages/RolesPage; the ui-checkstyle pipeline leaves both files clean. Co-Authored-By: Claude Opus 5 <[email protected]> * test(playwright): follow ButtonUtility markup in failing specs - Restore the csv-jobs-tray-dismiss and inherit-icon test hooks on the ButtonUtility that replaced their elements, and add a selected-check test id to the Add Policy row tick (core Check replaced antd's icon). - Version history drawer close is a ButtonUtility: click it by role and name; scope the bulk import modal's Close to its own dialog. - Context Center memories: scope Edit/Delete checks to the memory dialog. - Data contract semantic edit uses its edit-semantic test id. - Metrics actions menu is named by its trigger's "Actions" label. * chore(playwright): auto-refresh impact-map.generated.json * test(ui): follow DotsButton and Expand/Collapse toggle in unit tests - AgentOverflowMenu now renders Dropdown.DotsButton; add it to the core mock. - The tab toggle swaps Expand/Collapse icons instead of rotating one glyph; assert its expand/collapse label. * lint fix * test(playwright): refresh visual baselines for role-based button sizes The icon-only actions now use the role-based ButtonUtility sizes (lg 32px for standalone header, table-row and card actions), the 1.8-stroke Plus / Minus glyphs and the wider link-button gap, which moves these screens by a few pixels. Baselines are the screenshots the visual-regression workflow rendered in its Playwright container (run 38790090497), so they match CI rendering: table details, metric list (narrow), glossary, settings, database services, data quality, teams and users. * test(playwright): wait for the next page before asserting the test library URL The pagination-reset test read page.url() once right after clicking next, racing the asynchronous URL update. Wait for the page-2 testDefinitions response and use retrying toHaveURL assertions. * fix(ui-core): a soft-disabled ButtonUtility no longer submits its form A disabled ButtonUtility with a tooltip stays natively enabled so it keeps focus and its tooltip; its click only stopped propagation, so a type="submit" button (TeamsInfo save-edit-email while saving) still submitted the form. Cancel the click's default action too, which also covers Enter and Space. Pointer and mouse down are left alone so focus still works. * test(ui): assert the announcement pager's soft-disabled state The pager is a ButtonUtility with a tooltip, which stays focusable and marks itself aria-disabled instead of setting the native disabled attribute. * test(playwright): refresh the AI explore visual baseline The explore filter-bar carets now use the 16px frame and link buttons the wider icon gap; main's explore font-size normalisation also moves the page. Baseline is the screenshot the visual-regression workflow rendered in its Playwright container (run 38883230027). * fix(ui-core): keep ButtonUtility focus when it toggles soft-disabled The press-blocking wrapper was mounted only while a tooltip button was soft-disabled, so toggling isDisabled (an agent refresh) remounted the button and dropped keyboard focus. Keep the wrapper for every tooltip button and only attach its capture handlers while soft-disabled. * chore(playwright): auto-refresh impact-map.generated.json * chore(playwright): auto-refresh impact-map.generated.json * fix(ui): keep the icon spec to button icons and address review - Restore main's colours on text, links and non-button icons (audit log, tabs, menus, empty states, status and badge icons) and main's sizes on menu, list-row and status icons; core Dropdown.Item icons back to main. - Keep primary icon actions primary; the Documents add-folder action stays secondary. - ButtonUtility takes isLoading, so save actions keep their spinner. - Dropdown.DotsButton defaults to lg; drop md trigger sizes and the unused ManageMenu triggerSize prop. - Size icons with the size prop; badge icons accept size. - Restore the 24px core icons a merge regenerated at 20px. - Edit actions in the contract forms get an accessible name; the custom property edit stays visible on keyboard focus. - Playwright: find the CSV jobs tray close button by test id. - Decision record v3: primary stays primary, menus and text are out of scope, isLoading. * fix(ui-core): use the designer's Plus and Minus glyphs * fix(ui): replace the removed Edit05 merged in from main with Edit01 Also drop the redundant tertiary colour on the formatting toggle, and assert the ontology library close button's soft-disabled state through aria-disabled. * style(ui): format CriticalAnnouncements test * chore(playwright): auto-refresh impact-map.generated.json * test(playwright): refresh the landing page visual baselines * fix(ui): let Escape leave knowledge graph fullscreen from the exit button * fix(ui): keep main's compact and feed-row button sizes lost in the merge - Table-cell hover actions main made compact (20px) are xs: display name and description edit, entity task request, field conversation. - Feed footer reply/comment buttons and the add-reaction button keep main's 24px row at sm. - The Settings custom property edit keeps main's xs; only its glyph moves to Edit01. * fix(ui): restore main's AI-mode lineage action size and reaction pill lost in the merge PlatformLineage's export and settings buttons are xl in AI mode again, matching the search box beside them (#36093); the add-reaction pill keeps the size and icon colour of the reaction chips beside it (#36162). * chore(playwright): auto-refresh impact-map.generated.json * fix(ui): use core icons for cell task and conversation actions; record compact sizes - The entity task request and field conversation actions use the core MessagePlusSquare and MessageChatSquare icons, as TagsContainerV2 does, instead of raw assets/svg imports the deprecation guard rejects. - Decision record v4: hover-cell table actions are xs, activity-feed footer actions are sm, and the activity comment stays a boxed link-gray Button. * fix(ui): apply the icon spec to code merged in from main Drop the redundant color="tertiary" on ButtonUtility, pass the clear and author-filter icons as components (the clear actions at xs), and assert the ontology close button's enabled state through aria-disabled: as a tooltip ButtonUtility it is never natively disabled, so toBeEnabled always passed. * fix(ui-core): disable ButtonUtility natively and theme the EyeFilled pupil - A disabled ButtonUtility passes isDisabled to react-aria instead of the custom aria-disabled soft-disable and its capture span. Tooltip already wraps a disabled trigger in one focusable span, so the tooltip that explains why still opens. Tests assert native disabled again. - EyeFilled's pupil ring takes tw:stroke-bg-primary, so it matches the surface in dark mode instead of drawing white. - Decision record v5: disabled is native. * fix(ui): align the page-header learning bulb and prune stale lint suppressions - The learning bulb beside a 16px page-header title uses ButtonUtility xs, so its 12px glyph matches the title's cap height instead of standing above it. LearningIcon takes an optional size; entity headers keep sm. - Prune eslint-suppressions.json entries this PR's changes made stale; ESLint exits 2 on unused suppressions, which failed ui-checkstyle. * fix(ui): drop the text strut so the page-header learning bulb centres on the title * docs(adr): record the xs page-header learning bulb as a v6 amendment * chore(playwright): auto-refresh impact-map.generated.json * test(ui): refresh glossary, data-quality and metric-list-narrow visual baselines for the icon spec * fix(ui): drop the default tertiary colour from the ExecutionSource copy button --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <[email protected]>
…sting (#35892) * Fixes #35891: Fix hierarchical lineage issues found in 2.1 release testing Lineage page (/lineage): - The header names the lens the map is drawn through (lineageLens), not the legacy platformView parameter, which the map no longer reads. - The browser tab title names the focused entity; "Entity Lineage" had no placeholder. - PNG export goes through the shared onExportClick, which reads the graph the map now publishes to the lineage store: its laid-out nodes and its edges. Lineage no longer mirrors its empty classic graph over them on this page. PNG export (both lineage views): - The capture fits its frame after beforeCapture mounts the off-screen nodes, at the size it renders (ExportData.getViewport), and hands that frame to the edge overlay. A frame fitted when the modal opened shrank any graph with nodes out of view into a corner of the image. Lineage settings: - The classic page and the AI-mode form send back the fields they do not edit. The settings PUT replaces the whole value, so every save dropped graphPerformanceConfig. Scene API: - GET /v1/lineage/scene answers a malformed query_filter with 400, not 500. Nightly scale benchmark (LineageScenePerformanceScaleIT): - Take the server handle before seeding, which starts the admin-token refresher, and call through server.sdk(). The seed outlasted the login token, and the nightly failed with 401 Expired token. - LineageMapPage follows the map markup #34551 changed: the root crumb is clicked through the breadcrumb trail, fit to screen is a button, and the map renders lineage-map-canvas again, on a wrapper because React Flow overwrites its own root's data-testid. Zoom-in wheels over the benchmark's own service, because the zoom buttons never drill while several services are in view. * chore(playwright): auto-refresh impact-map.generated.json * Keep ExportData.viewport for exports framed up front Collate's ER diagram export still passes a viewport fitted with getViewportForLineageExport(nodes, selector), so both keep their signatures from main. The lineage export fits its frame with the new getExportViewportForNodes through getViewport, which takes precedence over a preset viewport. * Use the core download icon on the lineage export button A new import from assets/svg fails the UI deprecation guard; take Download01 from @openmetadata/ui-core-components/icons instead. * Do not offer saving lineage settings that failed to load The settings PUT replaces the whole value, so saving a form whose load failed would wipe what it does not edit, graphPerformanceConfig included. Both lineage settings forms show the error state with Reload until it loads. * Export the lineage map from the store so the AI-mode header button works #36093 moved the Lineage page's export button into the AI-mode page header, which renders outside <Lineage>, where the lineage handlers context only has its no-op default. LineageExportButton now builds the PNG export itself from the graph the map publishes to the lineage store, and takes the header's button size. The PNG options (frame, edge overlay, capture hooks) move into getLineagePngExportOptions, shared with the asset Lineage tab. Nothing on the Lineage page calls onExportClick any more, so it drops its platform branch. * Describe the map's settled 35% zoom drill in the benchmark docs #36370 drills in once a card fills 35% of the viewport and the zoom has settled for 250ms, and lets button zoom drill the drillable node nearest the canvas centre. LineageMapPage still wheels over its own node, which targets it either way; its Javadoc and the scale doc now say so. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>



Describe your changes:
Fixes #36092
I addressed the design-review and testing feedback on the new lineage UI (edit mode, hierarchical lineage map, impact analysis) because several screens were inconsistent with the rest of the app, unreadable in dark mode, or left the user stuck.
Type of change:
High-level design:
UI-only. Each item fixes the component that owns it, and shared components are changed where the defect lives there:
PlatformLineage.tsx): in AI mode (useIsAiMode) the page uses the corePageLayout.PageHeadergradient header, with search, export and settings in its actions. Classic mode keeps the old card header and canvas toolbar. Full screen is removed from the platform page;Lineage.tsxignores?fullscreenthere so stale links can't trap the user. Asset lineage keeps full screen.bg-raised, which is white in light mode, so light mode is unchanged.text-primary.TableV2header matches the core table head (12px semibold, quaternary).Dropdown.DotsButtoncentres its icon and usesfg-tertiary.ProfilePicturedraws the themed team icon. Before, the static teams-icon URL was rendered as an<img>, which can't followcurrentColor, so every team avatar was black in dark mode.AddLineagePopover): a column-level Edit Upstream/Downstream now picks its counterpart among the table/data-model nodes on the canvas (getCanvasColumnAssets), then a column. This replaces the catalog-wide search and matches the old drag-between-columns behaviour. The node-level menu still searches the whole catalog.LineageTableDescriptionclamps descriptions to two lines and links to the asset page only when clamped. The table frame is rounded.getDrilledRootBreadcrumbreads "drilled" from the scene's focus and band, because the backend returns only the root breadcrumb for an empty scene.Follow-up tracked on the design page, not in this PR: lower the zoom threshold that triggers a drill.
Tests:
Use cases covered
?fullscreen=trueis ignored there. Asset lineage still goes full screen.Unit tests
LineageTableDescription.test.tsxAddLineagePopover.utils.test.tsAddLineagePopover.test.tsx(canvas column flow)PlatformLineage.test.tsx(AI vs classic header, no full-screen toggle)Lineage.test.tsx(full screen asset vs platform)LineageMap.utils.test.ts(getDrilledRootBreadcrumb)ProfilePicture.test.tsx(team icon)LineageNodeDeleteModal.test.tsx(cancel disabled)yarn testover Lineage, LineageTable, Entity/EntityLineage, Entity/EntityInfoDrawer, PopOverCard, ProfilePicture, common/Table, Explore/EntitySummaryPanel, PlatformLineage and user-profile. Result: 61 suites, 886 passed, 0 failed at7718162; 737 passed on the narrower set after2fe6a4d. Core:vitest run src/components/base/dropdownpassed (5).Backend integration tests
Ingestion integration tests
Playwright (UI) tests
playwright/utils/lineage.ts:addLineageViaMenupicks the canvas node for column edits.LineageInteraction.spec.ts: "adds a column-level edge from the column menu" now creates the table-level edge first.components/Entity/EntityLineage/**,components/LineageTable/**andpages/PlatformLineage/**now map to the lineage specs.e3b8b70, served with/apiproxied to a local backend, after thesetupandentity-data-setupprojects. Result: 208 passed, 0 failed, 0 flaky.Pages/Lineage/DataAssetLineage.spec.tsPages/Lineage/LineageInteraction.spec.tsFeatures/ImpactAnalysis.spec.tsPages/Lineage/LineageFilters.spec.tsPages/Lineage/LineageRightPanel.spec.tsPages/Lineage/LineageControls.spec.tsPages/Lineage/PlatformLineage.spec.tsPages/Lineage/LineageNodePagination.spec.tsFeatures/LineagePipelineAnnotator.spec.tsFeatures/DomainIsolation/DomainLineageIsolation.spec.tsFlow/LineageSettings.spec.tsFeatures/LineageExportPNGSnapshot.spec.tsPages/Lineage/LineageLargeResponse.spec.tsNot run: the non-lineage specs the impact map also selects (through the shared
TableV2andDotsButtonchanges); the merge queue runs the full suite.Manual testing performed
npx vitedev server against the local stack, signed in as admin. Dark mode was previewed by adding.dark-modeto<html>, since AI mode needs the Collate plugin./table/sample_data.ecommerce_db.shopify.dim_customer/lineage:/table/sample_data.ecommerce_db.shopify.fact_orders: hovered the Accounting team owner. The team icon is light in dark mode./lineage:/lineage?lineageLens=service&lineageBand=ASSET&lineageFocus=ai_governance_mcp&lineageEntityType=mcpService: empty state shows "Back to All Services", which returns to the service layer.UI screen recording:
Not applicable: these are fixes and styling for feedback on an existing feature, not a new feature. Screenshots from the local run:
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.
For JSON Schema changes: not applicable, no schema changes.
For a UI feature or feature task: not applicable, feedback fixes and styling (screenshots above).
I have added tests (unit / integration / Playwright as applicable) and listed them above.
Self-review: I reviewed the final diff against
REVIEW.md(thepr-checklistskill runs it) and fixed every 🔴 finding, or answered it on the line below.7718162: no 🔴. Fixed in2fe6a4d:TableV2header andDotsButtonchanges are intentionally app-wide. Design feedback asked for the core table header style, and the styling rules require fixing core components rather than overriding them at call sites.LineageMaphas no component test harness. The new logic lives in the unit-testedgetDrilledRootBreadcrumb, and the wiring was verified manually (step 5).Decision check: no durable cross-component decision. Canvas-only column edits and dropping full screen on the platform page are scoped UI behaviour stated in code.
I have added tests around the new logic.
🤖 Generated with Claude Code
The existing header layout requirement must be satisfied before merging.
Findings
Summary
Updates lineage headers, dark-mode colors, column editing, empty-state navigation, and impact-table descriptions.
Reviews (11) · Last reviewed commit: "Lineage node drawer: title sits on the d..." · Reviewed by Greptile