From 12dadb0b8e94673abe1946cd49862eb372d620f3 Mon Sep 17 00:00:00 2001 From: Chirag Madlani <12962843+chirag-madlani@users.noreply.github.com> Date: Mon, 26 Dec 2022 14:13:28 +0530 Subject: [PATCH] fix(ui): license header added for missing files (#9522) * fix(ui): license header added for missing files fix localization keys * revert webpack file --- .../resources/ui/src/@types/quill-emoji.d.ts | 12 ++++++++++++ .../ui/src/@types/quilljs-markdown.d.ts | 12 ++++++++++++ .../resources/ui/src/@types/web-analytics.d.ts | 12 ++++++++++++ .../ui/src/ErrorBoundry/ErrorBoundry.tsx | 12 ++++++++++++ .../ui/src/ErrorBoundry/ErrorFallback.tsx | 12 ++++++++++++ .../main/resources/ui/src/antlr/SplitListener.js | 12 ++++++++++++ .../ActivityFeedList/ActivityFeedList.util.tsx | 12 ++++++++++++ .../ActivityThreadPanel/ActivityThread.mock.ts | 12 ++++++++++++ .../components/ActivityFeed/Shared/Badge.less | 12 ++++++++++++ .../AddGlossary/AddGlossary.interface.ts | 12 ++++++++++++ .../AddGlossaryTerm/AddGlossaryTerm.interface.ts | 12 ++++++++++++ .../AddIngestion/Steps/ConfigureIngestion.tsx | 4 ++-- .../components/AddTags/add-tags.component.tsx | 12 ++++++++++++ .../components/BotDetails/AuthMechanismForm.tsx | 2 +- .../BotDetails/BotDetails.interfaces.ts | 12 ++++++++++++ .../components/BotDetails/BotDetails.style.less | 12 ++++++++++++ .../DisplayNameComponent.component.tsx | 12 ++++++++++++ .../DisplayNameComponent.interface.ts | 12 ++++++++++++ .../DisplayNameComponent.style.less | 12 ++++++++++++ .../DataInsightDetail/EmptyGraphPlaceholder.tsx | 12 ++++++++++++ .../DataInsightDetail/KPILatestResults.tsx | 12 ++++++++++++ .../EdgeInfoDrawer.component.tsx | 12 ++++++++++++ .../ui/src/components/EntityList/entity.less | 12 ++++++++++++ .../EntityTable/EntityTable.style.less | 12 ++++++++++++ .../Explore/AdvanceSearchModal.component.tsx | 12 ++++++++++++ .../ui/src/components/FeedEditor/FeedEditor.css | 12 ++++++++++++ .../GlobalSearchSuggestions.less | 12 ++++++++++++ .../components/Glossary/GlossaryV1.style.less | 12 ++++++++++++ .../GlossaryTerms/tabs/AssetsTabs.component.tsx | 12 ++++++++++++ .../tabs/GlossaryTermReferences.tsx | 12 ++++++++++++ .../src/components/LoginButton/LoginButton.tsx | 12 ++++++++++++ .../AnnouncementModal/AnnouncementModal.less | 12 ++++++++++++ .../NotificationBox/notification-box.less | 12 ++++++++++++ .../ui/src/components/SlackChat/SlackChat.css | 12 ++++++++++++ .../Component/ProfilerSettingsModal.tsx | 4 ++-- .../ui/src/components/TeamDetails/Form.test.tsx | 12 ++++++++++++ .../TestCaseCommonTabContainer.component.tsx | 12 ++++++++++++ .../TestSuiteDetails.component.tsx | 12 ++++++++++++ .../TestSuiteDetails.interfaces.ts | 12 ++++++++++++ .../src/components/Users/ChangePasswordForm.tsx | 12 ++++++++++++ .../ui/src/components/Users/Users.component.tsx | 2 +- .../ui/src/components/Users/Users.util.tsx | 12 ++++++++++++ .../ui/src/components/Users/mocks/User.mocks.ts | 12 ++++++++++++ .../components/buttons/Button/Button.test.tsx | 12 ++++++++++++ .../EntitySummaryDetails.test.tsx | 12 ++++++++++++ .../InheritedRolesCard.component.tsx | 14 +++++++++++++- .../InheritedRolesCard.interface.ts | 12 ++++++++++++ .../InheritedRolesCard.style.less | 12 ++++++++++++ .../OwnerWidget/OwnerWidgetWrapper.component.tsx | 12 ++++++++++++ .../OwnerWidget/OwnerWidgetWrapper.style.less | 12 ++++++++++++ .../common/RolesCard/RolesCard.component.tsx | 13 +++++++++++++ .../common/RolesCard/RolesCard.interfaces.ts | 13 +++++++++++++ .../RolesElement/RolesElement.component.tsx | 13 +++++++++++++ .../RolesElement/RolesElement.interface.ts | 12 ++++++++++++ .../common/RolesElement/RolesElement.styles.less | 13 +++++++++++++ .../src/components/common/TierCard/TierCard.tsx | 12 ++++++++++++ .../src/components/common/TierCard/tier-card.css | 12 ++++++++++++ .../reactSelectCustomStyle.ts | 12 ++++++++++++ .../common/rich-text-editor/EditorToolBar.ts | 12 ++++++++++++ .../RichTextEditorPreviewer.less | 12 ++++++++++++ .../web-scoket/web-scoket.provider.tsx | 12 ++++++++++++ .../ui/src/constants/Lineage.constants.ts | 12 ++++++++++++ .../resources/ui/src/constants/docs.constants.ts | 12 ++++++++++++ .../ui/src/constants/service-guide.constant.ts | 12 ++++++++++++ .../ui/src/constants/usersprofile.constants.ts | 12 ++++++++++++ .../src/main/resources/ui/src/enums/tour.enum.ts | 12 ++++++++++++ .../resources/ui/src/locale/languages/en-us.json | 3 +-- .../main/resources/ui/src/mocks/Lineage.mock.ts | 12 ++++++++++++ .../AddGlossary/AddGlossaryPage.component.tsx | 12 ++++++++++++ .../AddIngestionPage.component.tsx | 4 +++- .../AlertsActivityFeedPage.tsx | 12 ++++++++++++ .../EntityVersionPage/EntityVersionPage.test.tsx | 12 ++++++++++++ .../pages/LogsViewer/mocks/LogsViewer.mock.ts | 12 ++++++++++++ .../PipelineDetails/PipelineDetailsPage.test.tsx | 12 ++++++++++++ .../ui/src/pages/TasksPage/shared/Assignee.less | 12 ++++++++++++ .../TestSuiteDetailsPage.styles.less | 12 ++++++++++++ .../pages/TopicDetails/TopicDetailsPage.test.tsx | 12 ++++++++++++ .../ui/src/pages/login/LoginCarousel.test.tsx | 12 ++++++++++++ .../src/pages/service/mocks/servicePage.mock.ts | 12 ++++++++++++ .../ui/src/pages/signup/mocks/signup.mock.ts | 12 ++++++++++++ .../resources/ui/src/pages/tags/Form.test.tsx | 12 ++++++++++++ .../resources/ui/src/pages/teams/AddTeamForm.tsx | 16 +++++++++++++++- .../ui/src/pages/tour-page/TourPage.test.tsx | 12 ++++++++++++ .../ui/src/router/withSuspenseFallback.js | 12 ++++++++++++ .../ui/src/styles/components/button.less | 12 ++++++++++++ .../resources/ui/src/styles/components/card.less | 12 ++++++++++++ .../ui/src/styles/components/table.less | 12 ++++++++++++ .../src/main/resources/ui/src/styles/layout.less | 12 ++++++++++++ .../ui/src/styles/layout/page-layout.less | 12 ++++++++++++ .../src/main/resources/ui/src/styles/modal.less | 12 ++++++++++++ .../styles/x-custom/EntityVersionTimeLine.css | 12 ++++++++++++ .../ui/src/styles/x-custom/code-mirror.css | 12 ++++++++++++ .../resources/ui/src/utils/AnnouncementsUtils.ts | 12 ++++++++++++ .../resources/ui/src/utils/CommonUtils.test.ts | 12 ++++++++++++ .../ui/src/utils/DatabaseDetailsUtils.ts | 12 ++++++++++++ .../ui/src/utils/DatabaseSchemaDetailsUtils.ts | 12 ++++++++++++ .../main/resources/ui/src/utils/KeyboardUtil.ts | 12 ++++++++++++ .../resources/ui/src/utils/NavigatorUtils.ts | 12 ++++++++++++ .../resources/ui/src/utils/ProfilerUtils.test.ts | 12 ++++++++++++ .../main/resources/ui/src/utils/TourUtils.tsx | 2 +- 100 files changed, 1135 insertions(+), 12 deletions(-) diff --git a/openmetadata-ui/src/main/resources/ui/src/@types/quill-emoji.d.ts b/openmetadata-ui/src/main/resources/ui/src/@types/quill-emoji.d.ts index 33195770fe1..319e8c03de8 100644 --- a/openmetadata-ui/src/main/resources/ui/src/@types/quill-emoji.d.ts +++ b/openmetadata-ui/src/main/resources/ui/src/@types/quill-emoji.d.ts @@ -1 +1,13 @@ +/* + * Copyright 2022 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. + */ declare module 'quill-emoji'; diff --git a/openmetadata-ui/src/main/resources/ui/src/@types/quilljs-markdown.d.ts b/openmetadata-ui/src/main/resources/ui/src/@types/quilljs-markdown.d.ts index 018a1ebf157..1b94b7393b9 100644 --- a/openmetadata-ui/src/main/resources/ui/src/@types/quilljs-markdown.d.ts +++ b/openmetadata-ui/src/main/resources/ui/src/@types/quilljs-markdown.d.ts @@ -1 +1,13 @@ +/* + * Copyright 2022 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. + */ declare module 'quilljs-markdown'; diff --git a/openmetadata-ui/src/main/resources/ui/src/@types/web-analytics.d.ts b/openmetadata-ui/src/main/resources/ui/src/@types/web-analytics.d.ts index 9e54343c428..b5bf497d920 100644 --- a/openmetadata-ui/src/main/resources/ui/src/@types/web-analytics.d.ts +++ b/openmetadata-ui/src/main/resources/ui/src/@types/web-analytics.d.ts @@ -1,3 +1,15 @@ +/* + * Copyright 2022 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. + */ declare module '@analytics/session-utils' { export type Session = { id: string; diff --git a/openmetadata-ui/src/main/resources/ui/src/ErrorBoundry/ErrorBoundry.tsx b/openmetadata-ui/src/main/resources/ui/src/ErrorBoundry/ErrorBoundry.tsx index 0557280b2c9..450d168e480 100644 --- a/openmetadata-ui/src/main/resources/ui/src/ErrorBoundry/ErrorBoundry.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/ErrorBoundry/ErrorBoundry.tsx @@ -1,3 +1,15 @@ +/* + * Copyright 2022 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 React from 'react'; import { ErrorBoundary } from 'react-error-boundary'; import { useHistory } from 'react-router-dom'; diff --git a/openmetadata-ui/src/main/resources/ui/src/ErrorBoundry/ErrorFallback.tsx b/openmetadata-ui/src/main/resources/ui/src/ErrorBoundry/ErrorFallback.tsx index 8283324086a..acdc32935ea 100644 --- a/openmetadata-ui/src/main/resources/ui/src/ErrorBoundry/ErrorFallback.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/ErrorBoundry/ErrorFallback.tsx @@ -1,3 +1,15 @@ +/* + * Copyright 2022 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 { Button, Result } from 'antd'; import React from 'react'; import { FallbackProps } from 'react-error-boundary'; diff --git a/openmetadata-ui/src/main/resources/ui/src/antlr/SplitListener.js b/openmetadata-ui/src/main/resources/ui/src/antlr/SplitListener.js index 76568e8853b..22cb216b1e4 100644 --- a/openmetadata-ui/src/main/resources/ui/src/antlr/SplitListener.js +++ b/openmetadata-ui/src/main/resources/ui/src/antlr/SplitListener.js @@ -1,3 +1,15 @@ +/* + * Copyright 2022 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 FqnListener from '../generated/antlr/FqnListener'; export default class SplitListener extends FqnListener { diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedList/ActivityFeedList.util.tsx b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedList/ActivityFeedList.util.tsx index 4dbbeff9835..25cd20a172d 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedList/ActivityFeedList.util.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityFeedList/ActivityFeedList.util.tsx @@ -1,3 +1,15 @@ +/* + * Copyright 2022 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 React from 'react'; import { FeedFilter } from '../../../enums/mydata.enum'; import { ThreadType } from '../../../generated/entity/feed/thread'; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityThreadPanel/ActivityThread.mock.ts b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityThreadPanel/ActivityThread.mock.ts index be103dc1d3b..2c400d4e513 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityThreadPanel/ActivityThread.mock.ts +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/ActivityThreadPanel/ActivityThread.mock.ts @@ -1,3 +1,15 @@ +/* + * Copyright 2022 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. + */ export const mockThreadData = [ { id: '465b2dfb-300e-45f5-a1a6-e19c6225e9e7', diff --git a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/Shared/Badge.less b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/Shared/Badge.less index 717314bcbc5..fc23c2546ce 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/Shared/Badge.less +++ b/openmetadata-ui/src/main/resources/ui/src/components/ActivityFeed/Shared/Badge.less @@ -1,3 +1,15 @@ +/* +* Copyright 2022 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. +*/ @background: #fffdf8; @border: #ffc143; @text: #37352f; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddGlossary/AddGlossary.interface.ts b/openmetadata-ui/src/main/resources/ui/src/components/AddGlossary/AddGlossary.interface.ts index a6138eb18a8..eafa9575d0e 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddGlossary/AddGlossary.interface.ts +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddGlossary/AddGlossary.interface.ts @@ -1,3 +1,15 @@ +/* + * Copyright 2022 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 { LoadingState } from 'Models'; import { CreateGlossary } from '../../generated/api/data/createGlossary'; import { TitleBreadcrumbProps } from '../common/title-breadcrumb/title-breadcrumb.interface'; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddGlossaryTerm/AddGlossaryTerm.interface.ts b/openmetadata-ui/src/main/resources/ui/src/components/AddGlossaryTerm/AddGlossaryTerm.interface.ts index 067ca2ef5b1..61cf34e52a5 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddGlossaryTerm/AddGlossaryTerm.interface.ts +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddGlossaryTerm/AddGlossaryTerm.interface.ts @@ -1,3 +1,15 @@ +/* + * Copyright 2022 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 { LoadingState } from 'Models'; import { CreateGlossaryTerm } from '../../generated/api/data/createGlossaryTerm'; import { Glossary } from '../../generated/entity/data/glossary'; diff --git a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx index bda70a14ac5..2a0afbde3a1 100644 --- a/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx +++ b/openmetadata-ui/src/main/resources/ui/src/components/AddIngestion/Steps/ConfigureIngestion.tsx @@ -144,7 +144,7 @@ const ConfigureIngestion = ({ className="m-t-sm" initialValue={profileSampleType || ProfileSampleType.Percentage} label={t('label.profile-sample-type', { - type: 'Type', + type: t('label.type'), })} name="profileSample">