Skip to content

Commit 96a5090

Browse files
harsh-vadorShrabanti Paulchirag-madlani
committed
* fix rightEntityPanel spec failure
* fix unit tests * add missing mock for jest tests * fix sonar * fix typos * add test for permission related scenarios * fix error toasts for tags and glossary updates * address comments * fix failing specs * address gitar --------- Co-authored-by: Shrabanti Paul <shrabantipaul@Shrabantis-MacBook-Pro.local> Co-authored-by: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Co-authored-by: Harsh Vador <harsh.vador@somaiya.edu> Co-authored-by: Harsh Vador <58542468+harsh-vador@users.noreply.github.com> (cherry picked from commit 293d7d3)
1 parent 0f9de0c commit 96a5090

File tree

22 files changed

+419
-141
lines changed

22 files changed

+419
-141
lines changed

openmetadata-ui/src/main/resources/ui/src/components/APIEndpoint/APIEndpointSchema/APIEndpointSchema.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { cloneDeep, groupBy, isEmpty, isUndefined, uniqBy } from 'lodash';
1717
import { EntityTags, TagFilterOptions } from 'Models';
1818
import { FC, Key, useCallback, useEffect, useMemo, useState } from 'react';
1919
import { useTranslation } from 'react-i18next';
20-
import {} from '../../../constants/constants';
20+
import { } from '../../../constants/constants';
2121
import { TABLE_SCROLL_VALUE } from '../../../constants/Table.constants';
2222
import {
2323
COMMON_STATIC_TABLE_VISIBLE_COLUMNS,

openmetadata-ui/src/main/resources/ui/src/components/AlertBar/AlertBar.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ import { AlertProps } from 'antd';
1515
export interface AlertBarProps {
1616
type: AlertProps['type'] | 'grey-info';
1717
message: string | JSX.Element;
18-
defafultExpand?: boolean;
18+
defaultExpand?: boolean;
1919
className?: string;
2020
}

openmetadata-ui/src/main/resources/ui/src/components/AlertBar/AlertBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import { AlertBarProps } from './AlertBar.interface';
2222
const AlertBar = ({
2323
type,
2424
message,
25-
defafultExpand,
25+
defaultExpand,
2626
className: alertClassName,
2727
}: AlertBarProps): JSX.Element => {
2828
const { resetAlert, animationClass } = useAlertStore();
29-
const [expanded, setExpanded] = useState(defafultExpand);
29+
const [expanded, setExpanded] = useState(defaultExpand);
3030

3131
const {
3232
icon: AlertIcon,

openmetadata-ui/src/main/resources/ui/src/components/DataQuality/AddDataQualityTest/components/EditTestCaseModalV1.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ const EditTestCaseModalV1: FC<EditTestCaseModalProps> = ({
470470
{errorMessage && (
471471
<div className="floating-error-alert">
472472
<AlertBar
473-
defafultExpand
473+
defaultExpand
474474
className="h-full custom-alert-description"
475475
message={errorMessage}
476476
type="error"

openmetadata-ui/src/main/resources/ui/src/components/DataQuality/AddDataQualityTest/components/TestCaseFormV1.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ const TestCaseFormV1: FC<TestCaseFormV1Props> = ({
10431043
{errorMessage && (
10441044
<div className="floating-error-alert">
10451045
<AlertBar
1046-
defafultExpand
1046+
defaultExpand
10471047
className="test-case-form-alert custom-alert-description"
10481048
message={errorMessage}
10491049
type="error"
@@ -1293,7 +1293,7 @@ const TestCaseFormV1: FC<TestCaseFormV1Props> = ({
12931293
<Row gutter={[20, 20]}>
12941294
<Col span={24}>
12951295
<AlertBar
1296-
defafultExpand
1296+
defaultExpand
12971297
className="test-case-form-alert custom-alert-description"
12981298
message={
12991299
<Transi18next

openmetadata-ui/src/main/resources/ui/src/components/DataQuality/BundleSuiteForm/BundleSuiteForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ const BundleSuiteForm: React.FC<BundleSuiteFormProps> = ({
350350
{errorMessage && (
351351
<div className="floating-error-alert">
352352
<AlertBar
353-
defafultExpand
353+
defaultExpand
354354
className="h-full custom-alert-description"
355355
message={errorMessage}
356356
type="error"

0 commit comments

Comments
 (0)