Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 1 addition & 22 deletions .github/playwright/impact-map.generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -5965,14 +5965,6 @@
"playwright/e2e/Pages/AuditLogs.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/components/BlockEditor/Extensions/CodeBlock/CodeBlockComponent.tsx"
],
"specs": [
"playwright/e2e/Flow/ServiceDocPanel.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/components/BlockEditor/Extensions/File/FileNodeView.tsx"
Expand Down Expand Up @@ -7170,8 +7162,7 @@
],
"specs": [
"playwright/e2e/Features/Permission.spec.ts",
"playwright/e2e/Features/QueryEntity.spec.ts",
"playwright/e2e/Features/Table.spec.ts"
"playwright/e2e/Features/QueryEntity.spec.ts"
]
},
{
Expand Down Expand Up @@ -10465,14 +10456,6 @@
"playwright/e2e/Pages/Entity.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/components/common/TestConnection/ConnectionStepCard/ConnectionStepCard.tsx"
],
"specs": [
"playwright/e2e/Features/Table.spec.ts"
]
},
{
"sources": [
"openmetadata-ui/src/main/resources/ui/src/components/common/TestConnection/TestConnection.tsx"
Expand Down Expand Up @@ -11029,8 +11012,6 @@
],
"specs": [
"playwright/e2e/Features/AccessControlSettings.spec.ts",
"playwright/e2e/Features/ContextCenterDocument.spec.ts",
"playwright/e2e/Features/ContextCenterMemories.spec.ts",
"playwright/e2e/Pages/AIProfile/ProfileMembers.spec.ts",
"playwright/e2e/Pages/Policies.spec.ts"
]
Expand All @@ -11041,8 +11022,6 @@
],
"specs": [
"playwright/e2e/Features/AccessControlSettings.spec.ts",
"playwright/e2e/Features/ContextCenterDocument.spec.ts",
"playwright/e2e/Features/ContextCenterMemories.spec.ts",
"playwright/e2e/Pages/AIProfile/ProfileMembers.spec.ts"
]
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Icon-only actions are a tertiary ButtonUtility, and editing has one icon

- **Status:** Accepted
- **Revisions:** v1 2026-10-14 (initial) · v2 2026-10-15 (sizes follow the icon's role; row and card actions are `lg`, `md` is not assigned) · v3 2026-10-19 (primary actions stay primary; menu icons and text keep their colours; `isLoading`) · v4 2026-10-29 (compact table-cell actions are `xs`; activity-feed footer actions are `sm`) · v5 2026-11-02 (a disabled `ButtonUtility` is natively disabled; `Tooltip` wraps it) · v6 2026-11-02 (the page-header learning bulb is `xs`) · v7 2026-11-05 (tree-row hover actions are `xs`) · v8 2026-11-12 (bordered icon-only actions are a `secondary` `ButtonUtility`) · v9 2026-11-12 (what stays outside `ButtonUtility`)
- **Revisions:** v1 2026-10-14 (initial) · v2 2026-10-15 (sizes follow the icon's role; row and card actions are `lg`, `md` is not assigned) · v3 2026-10-19 (primary actions stay primary; menu icons and text keep their colours; `isLoading`) · v4 2026-10-29 (compact table-cell actions are `xs`; activity-feed footer actions are `sm`) · v5 2026-11-02 (a disabled `ButtonUtility` is natively disabled; `Tooltip` wraps it) · v6 2026-11-02 (the page-header learning bulb is `xs`) · v7 2026-11-05 (tree-row hover actions are `xs`) · v8 2026-11-12 (bordered icon-only actions are a `secondary` `ButtonUtility`) · v9 2026-11-12 (what stays outside `ButtonUtility`) · v10 2026-11-17 (the learning action is `lg`, matching `CopyButton`)
- **Deciders:** Rohit Jain
- **Guard:** `openmetadata-ui-core-components/.../components/base/buttons/button.test.tsx` (tertiary default, ref, disabled tooltip); `reviewer`
- **Related:** ADR:2026-10-13-core-icons-and-buttons-follow-the-figma-icon-spec, open-metadata/OpenMetadata#35348
Expand Down Expand Up @@ -119,3 +119,8 @@ These icon-only controls stay as they are. They are listed so a search for child
to a pointer drag, not a press. They are not buttons.

Any other icon-only control follows the rules above.

## Amendment: learning action matches CopyButton (v10, 2026-11-17)
This replaces the v6 clause. `LearningIcon` is an `lg` `ButtonUtility` (32px box, 20px glyph) at every
placement, including beside the PageHeader heading, so it matches the `CopyButton` it usually sits
beside. Callers may still pass a smaller `size`. The PageHeader wrapper keeps `line-height: 0`.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
/*
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import type { SVGProps, FC } from 'react';
interface Props extends SVGProps<SVGSVGElement> {
color?: string;
size?: number;
}

export const AdvancedSearch: FC<Props> = ({
size = 20,
color = 'currentColor',
...props
}) => (
<svg
aria-hidden="true"
color={color}
fill="none"
height={size}
strokeLinecap="round"
strokeLinejoin="round"
viewBox="0 0 20 20"
width={size}
{...props}>
<path
d="M14.333 13.443 18 17.11m-3.667-3.667a6.16 6.16 0 0 1-4.372 1.812 6.16 6.16 0 0 1-2.936-.74m7.308-1.072a6.184 6.184 0 1 0-9.095-8.365m.393 2.692h-2.74m5.737 3.878H5.816m4.228-3.878h-.716M2 11.648h.129"
stroke="currentColor"
strokeWidth={1.3}
/>
<path
d="M7.005 6.648c.26 0 .391 0 .494.043a.56.56 0 0 1 .304.303c.042.103.042.234.042.495v.56c0 .261 0 .392-.042.495a.56.56 0 0 1-.304.303c-.103.043-.233.043-.494.043s-.392 0-.495-.043a.56.56 0 0 1-.303-.303c-.043-.103-.043-.234-.043-.495v-.56c0-.261 0-.392.043-.495a.56.56 0 0 1 .303-.303c.103-.043.234-.043.495-.043M4.514 10.43c.284 0 .426 0 .538.046a.6.6 0 0 1 .33.33c.046.112.046.254.046.538v.609c0 .284 0 .426-.047.538a.6.6 0 0 1-.33.33c-.111.046-.253.046-.537.046s-.426 0-.538-.046a.6.6 0 0 1-.33-.33c-.046-.112-.046-.254-.046-.538v-.61c0-.283 0-.425.046-.537a.6.6 0 0 1 .33-.33c.112-.046.254-.046.538-.046"
stroke="currentColor"
strokeWidth={1.3}
/>
</svg>
);
AdvancedSearch.displayName = 'AdvancedSearch';
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/*
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import type { SVGProps, FC } from 'react';
interface Props extends SVGProps<SVGSVGElement> {
color?: string;
size?: number;
}

export const ImageBrush: FC<Props> = ({
size = 20,
color = 'currentColor',
...props
}) => (
<svg
aria-hidden="true"
color={color}
fill="none"
height={size}
strokeLinecap="round"
strokeLinejoin="round"
viewBox="0 0 20 20"
width={size}
{...props}>
<path
d="M6.056 14.28H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 12.76 2 12.2 2 11.08V6.817c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874c.428-.218.988-.218 2.108-.218h5.275c.98 0 1.47 0 1.853.168a2 2 0 0 1 1.03 1.03c.168.384.168.873.168 1.853"
stroke="currentColor"
strokeWidth={1.3}
/>
<circle
cx={5.312}
cy={7.304}
r={1.117}
stroke="currentColor"
strokeWidth={1.3}
/>
<path
d="m4.037 11.418 1.106-.939c.052-.043.078-.065.102-.083a1 1 0 0 1 1.09-.072c.026.015.054.034.11.07.062.04.092.059.12.075a1 1 0 0 0 1.142-.118c.025-.021.05-.047.102-.098l1.857-1.832c.385-.38.578-.57.785-.644a1 1 0 0 1 .843.078c.19.11.345.333.654.777m-.661 4.15C12.822 11 16.3 7.514 17.771 7.44c.91-.087-.903 3.143-5.2 6.676m-3.518 2.198c.352-1.247.13-.634.25-2.07.064-.212.193-.872 1-1.2a1.464 1.464 0 0 1 1.76.456c.512.555.57 1.243 0 2.03s-2.263.982-3.01.784"
stroke="currentColor"
strokeWidth={1.3}
/>
</svg>
);
ImageBrush.displayName = 'ImageBrush';
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/*
* Copyright 2025 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import * as React from 'react';
import type { SVGProps, FC } from 'react';
interface Props extends SVGProps<SVGSVGElement> {
color?: string;
size?: number;
}

export const Insights: FC<Props> = ({
size = 20,
color = 'currentColor',
...props
}) => (
<svg
aria-hidden="true"
color={color}
fill="none"
height={size}
strokeLinecap="round"
strokeLinejoin="round"
viewBox="0 0 20 20"
width={size}
{...props}>
<path
d="M8.67 13.674s-.506-.92-1.202-1.593c-.696-.674-1.29-1.403-1.391-2.512-.11-1.192.224-2.014 1.075-2.88 1.533-1.56 4.16-1.56 5.692 0 .852.866 1.194 1.69 1.076 2.88-.112 1.12-.696 1.776-1.455 2.512-.76.735-1.075 1.593-1.075 1.593z"
stroke="currentColor"
strokeWidth={1.3}
/>
<path
d="M10.094 8.457 8.949 9.974h2.06l-.915 1.328"
stroke="currentColor"
strokeWidth={1.3}
/>
<rect
height={2.58}
rx={1.29}
stroke="currentColor"
strokeWidth={1.3}
width={7.385}
x={6.567}
y={14.471}
/>
<path
d="m3.738 4.402.834.834m10.502 7.932.834.834"
stroke="currentColor"
strokeWidth={1.3}
/>
<rect
height={1.611}
rx={0.805}
stroke="currentColor"
strokeWidth={1.3}
width={3.769}
x={8.299}
y={17.041}
/>
<path
d="m15.04 3.6-.835.834m-8.762 9.533-.834.834"
stroke="currentColor"
strokeWidth={1.3}
/>
<path
d="M8.877 2.007a.648.648 0 0 1 1.295-.009l-.648.005zm1.303 1.142a.648.648 0 1 1-1.296.008l.648-.004zm-.656-1.146.648-.005.008 1.151-.648.004-.648.004-.007-1.15zm8.42 6.413a.648.648 0 0 1 .008 1.296l-.004-.648zM16.752 9.72a.648.648 0 1 1-.008-1.296l.004.648zm1.196-.656.004.648-1.2.008-.004-.648-.004-.648 1.2-.008zm-14.7.086a.648.648 0 1 1 .009 1.296L3.252 9.8zm-1.191 1.304a.648.648 0 0 1-.009-1.296l.004.648zm1.195-.655.005.647-1.2.008-.005-.648-.004-.648 1.2-.007z"
fill="currentColor"
/>
</svg>
);
Insights.displayName = 'Insights';
Loading
Loading