mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-31 04:14:34 +00:00
Minor: address ui feedback on data observability (#16427)
* Minor: address ui feedback on data observability * fixed failing unit test
This commit is contained in:
parent
a4c516d2c7
commit
0c974edd13
@ -11,7 +11,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Button, Space, Tooltip } from 'antd';
|
||||
import Icon from '@ant-design/icons/lib/components/Icon';
|
||||
import { Space, Tooltip } from 'antd';
|
||||
import classNames from 'classnames';
|
||||
import { startCase, toLower } from 'lodash';
|
||||
import React, { useCallback, useMemo, useState } from 'react';
|
||||
@ -70,10 +71,11 @@ const Severity = ({ severity, onSubmit }: SeverityProps) => {
|
||||
title={t('label.edit-entity', {
|
||||
entity: t('label.severity'),
|
||||
})}>
|
||||
<Button
|
||||
<Icon
|
||||
{...ICON_DIMENSION}
|
||||
component={EditIcon}
|
||||
data-testid="edit-severity-icon"
|
||||
icon={<EditIcon {...ICON_DIMENSION} color={DE_ACTIVE_COLOR} />}
|
||||
type="text"
|
||||
style={{ color: DE_ACTIVE_COLOR }}
|
||||
onClick={onEditSeverity}
|
||||
/>
|
||||
</Tooltip>
|
||||
|
@ -11,12 +11,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Button, Space, Tooltip, Typography } from 'antd';
|
||||
import Icon from '@ant-design/icons/lib/components/Icon';
|
||||
import { Space, Tooltip, Typography } from 'antd';
|
||||
import classNames from 'classnames';
|
||||
import React, { useCallback, useMemo, useState } from 'react';
|
||||
import { ReactComponent as EditIcon } from '../../../../assets/svg/edit-new.svg';
|
||||
import {
|
||||
DE_ACTIVE_COLOR,
|
||||
ICON_DIMENSION,
|
||||
NO_DATA_PLACEHOLDER,
|
||||
} from '../../../../constants/constants';
|
||||
import { usePermissionProvider } from '../../../../context/PermissionProvider/PermissionProvider';
|
||||
@ -70,12 +72,11 @@ const TestCaseIncidentManagerStatus = ({
|
||||
label={statusType}
|
||||
/>
|
||||
{hasEditPermission && (
|
||||
<Button
|
||||
className="flex-center p-0"
|
||||
<Icon
|
||||
{...ICON_DIMENSION}
|
||||
component={EditIcon}
|
||||
data-testid="edit-resolution-icon"
|
||||
icon={<EditIcon color={DE_ACTIVE_COLOR} width="14px" />}
|
||||
size="small"
|
||||
type="text"
|
||||
style={{ color: DE_ACTIVE_COLOR }}
|
||||
onClick={onEditStatus}
|
||||
/>
|
||||
)}
|
||||
|
@ -279,7 +279,7 @@ export const TestSuites = ({ summaryPanel }: { summaryPanel: ReactNode }) => {
|
||||
/>
|
||||
</Form.Item>
|
||||
<Form.Item
|
||||
className="m-0 w-52"
|
||||
className="m-0"
|
||||
label={t('label.owner')}
|
||||
name="owner">
|
||||
<UserTeamSelectableList
|
||||
|
@ -443,7 +443,7 @@ const IncidentManagerPage = () => {
|
||||
|
||||
return (
|
||||
<PageLayoutV1 pageTitle="Incident Manager">
|
||||
<Row className="p-x-lg p-t-md" gutter={[0, 16]}>
|
||||
<Row className="p-x-lg p-b-lg p-t-md" gutter={[0, 16]}>
|
||||
<Col span={24}>
|
||||
<Typography.Title
|
||||
className="m-b-md"
|
||||
|
Loading…
x
Reference in New Issue
Block a user