diff --git a/.eslintignore b/.eslintignore index 61d9c3b29d..4f261379f4 100755 --- a/.eslintignore +++ b/.eslintignore @@ -61,9 +61,7 @@ src/components/ClusterNodes/ClusterEvents.tsx src/components/ClusterNodes/ClusterManifest.tsx src/components/ClusterNodes/ClusterNodeEmptyStates.tsx src/components/ClusterNodes/ClusterOverview.tsx -src/components/ClusterNodes/NodeActions/CordonNodeModal.tsx src/components/ClusterNodes/NodeActions/DeleteNodeModal.tsx -src/components/ClusterNodes/NodeActions/DrainNodeModal.tsx src/components/ClusterNodes/NodeActions/EditTaintsModal.tsx src/components/ClusterNodes/NodeActions/NodeActionsMenu.tsx src/components/ClusterNodes/NodeActions/validationRules.ts diff --git a/package.json b/package.json index 3abf91797b..c5b8243ea7 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "homepage": "/dashboard", "dependencies": { - "@devtron-labs/devtron-fe-common-lib": "1.5.9", + "@devtron-labs/devtron-fe-common-lib": "1.5.11", "@esbuild-plugins/node-globals-polyfill": "0.2.3", "@rjsf/core": "^5.13.3", "@rjsf/utils": "^5.13.3", diff --git a/src/Pages/App/Details/ExternalFlux/index.tsx b/src/Pages/App/Details/ExternalFlux/index.tsx index 741da55349..0d6616d645 100644 --- a/src/Pages/App/Details/ExternalFlux/index.tsx +++ b/src/Pages/App/Details/ExternalFlux/index.tsx @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { default as ExternalFluxAppDetailsRoute } from './ExternalFluxAppDetailsRoute' diff --git a/src/Pages/App/Details/ExternalFlux/service.tsx b/src/Pages/App/Details/ExternalFlux/service.tsx index a300377c37..9ded6e1974 100644 --- a/src/Pages/App/Details/ExternalFlux/service.tsx +++ b/src/Pages/App/Details/ExternalFlux/service.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { get, getUrlWithSearchParams } from '@devtron-labs/devtron-fe-common-lib' import { Routes } from '../../../../config' diff --git a/src/Pages/App/Details/ExternalFlux/types.tsx b/src/Pages/App/Details/ExternalFlux/types.tsx index 934084d71d..013975f240 100644 --- a/src/Pages/App/Details/ExternalFlux/types.tsx +++ b/src/Pages/App/Details/ExternalFlux/types.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 interface ExternalFluxAppDetailParams { clusterId: string appName: string diff --git a/src/Pages/App/Details/ExternalFlux/utils.tsx b/src/Pages/App/Details/ExternalFlux/utils.tsx index e67047b1b0..3654b2b374 100644 --- a/src/Pages/App/Details/ExternalFlux/utils.tsx +++ b/src/Pages/App/Details/ExternalFlux/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { EXTERNAL_FLUX_APP_STATUS } from './types' // In case of FluxCD Apps True means app is Ready and False denotes app is not ready diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/AppConfig.constants.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/AppConfig.constants.ts index 004b3e5be4..52c70102bb 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/AppConfig.constants.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/AppConfig.constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { BASE_CONFIGURATION_ENV_ID, EnvResourceType } from '@devtron-labs/devtron-fe-common-lib' export const BASE_CONFIGURATIONS = { diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/BaseConfigurationNavigation.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/BaseConfigurationNavigation.tsx index c19317d011..0226ea347b 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/BaseConfigurationNavigation.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/BaseConfigurationNavigation.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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, ButtonComponentType, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/CompareConfigView.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/CompareConfigView.tsx index 5266242281..3bac7e6c46 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/CompareConfigView.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/CompareConfigView.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { importComponentFromFELibrary } from '@Components/common' import { ReactComponent as ICCheck } from '@Icons/ic-check.svg' import { ReactComponent as ICFileEdit } from '@Icons/ic-file-edit.svg' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigDryRun.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigDryRun.tsx index 397af58f70..c8bb771b1a 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigDryRun.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigDryRun.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useParams } from 'react-router-dom' import { abortPreviousRequests, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.scss b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.scss index c9f6df3f4c..47e5357489 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.scss +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + .config-header { &__tab:hover { color: var(--B500) !important; diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.tsx index 79a74ac375..b8d77300e9 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ActivityIndicator, CONFIG_HEADER_TAB_VALUES, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigToolbar.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigToolbar.tsx index 0805c8216f..f2604577d1 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigToolbar.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigToolbar.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Fragment } from 'react' import { Button, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/DeploymentConfigCompare.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/DeploymentConfigCompare.tsx index 73958b353e..c8996e9183 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/DeploymentConfigCompare.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/DeploymentConfigCompare.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useEffect, useMemo, useRef, useState } from 'react' import { generatePath, useHistory, useLocation, useRouteMatch } from 'react-router-dom' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/index.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/index.ts index 245b04520c..d1ab29a09a 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/index.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './DeploymentConfigCompare' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/service.utils.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/service.utils.ts index 9e291baea9..c2c33ed1c0 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/service.utils.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/service.utils.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { AppEnvDeploymentConfigDTO, AppEnvDeploymentConfigType, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/types.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/types.ts index 61b6b18232..bc002ff1c4 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/types.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { getAppEnvDeploymentConfig, TemplateListDTO } from '@devtron-labs/devtron-fe-common-lib' import { getManifestData } from './service.utils' import { AppEnvDeploymentConfigQueryParamsType } from '../../AppConfig.types' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/utils.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/utils.ts index 37a568234f..d7a1469390 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/utils.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/utils.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { GroupBase, OptionsOrGroups } from 'react-select' import moment from 'moment' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeleteOverrideDialog.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeleteOverrideDialog.tsx index 42edd638a5..5626add066 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeleteOverrideDialog.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeleteOverrideDialog.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useState } from 'react' import { useParams } from 'react-router-dom' import { diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.scss b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.scss index a3f70fb126..b6da37bfa1 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.scss +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + .deployment-template { &__comments-view { display: grid; diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.tsx index a7c5fe0c69..606b087cd0 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useEffect, SyntheticEvent, useMemo, useReducer, Reducer, useRef } from 'react' import ReactGA from 'react-ga4' import { diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateCTA.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateCTA.tsx index a4dab306c0..43269575dd 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateCTA.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateCTA.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { BaseURLParams, Button, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateForm.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateForm.tsx index 96094fe395..fdebe385a5 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateForm.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateForm.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { CodeEditor, ConfigurationType, MarkDown, MODES, noop } from '@devtron-labs/devtron-fe-common-lib' import { ReactComponent as ICBookOpen } from '@Icons/ic-book-open.svg' import { ReactComponent as ICPencil } from '@Icons/ic-pencil.svg' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateOptionsHeader.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateOptionsHeader.tsx index b0d79ddff6..7cc8eb68cb 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateOptionsHeader.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplateOptionsHeader.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ConfigurationType, InvalidYAMLTippyWrapper, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/index.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/index.ts index 26f990f0a1..0682b0a820 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/index.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { default as GUIView } from './GUIView.component' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/types.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/types.ts index 09ecc9b6d1..cd54acb3c5 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/types.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DeploymentChartVersionType, GUIViewError } from '@devtron-labs/devtron-fe-common-lib' import { DeploymentTemplateFormProps } from '../types' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/utils.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/utils.tsx index 113f2b58f7..0818465fab 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/utils.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { GUIViewProps } from './types' export const getRenderActionButton = diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/constants.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/constants.ts index 9410da7f72..09f90ed2d3 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/constants.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DOCUMENTATION } from '@Config/constants' export const PROTECT_BASE_DEPLOYMENT_TEMPLATE_IDENTIFIER_DTO = 'BaseDeploymentTemplate' as const diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/deploymentTemplateReducer.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/deploymentTemplateReducer.ts index a20c16bc6d..aa46aee0dd 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/deploymentTemplateReducer.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/deploymentTemplateReducer.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 YAML from 'yaml' import { CompareFromApprovalOptionsValuesType, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/index.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/index.ts index 391eccc68b..d5974bad07 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/index.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { default as DeploymentTemplate } from './DeploymentTemplate' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/service.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/service.ts index 6e29968d88..d5bb18a7c9 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/service.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/service.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Routes } from '@Config/constants' import { BaseURLParams, get, post, put, ResponseType, trash } from '@devtron-labs/devtron-fe-common-lib' import { getChartReferencesForAppAndEnv } from '@Services/service' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/types.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/types.ts index aa1cc67b55..3118c64ee1 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/types.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { SyntheticEvent } from 'react' import { Operation } from 'fast-json-patch' import { diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/utils.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/utils.tsx index 9ab732ab6f..4c94a165ca 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/utils.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { applyCompareDiffOnUneditedDocument, DryRunEditorMode, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.scss b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.scss index e99383fbe9..defe0da9f8 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.scss +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + // FIXME: When issue for svg button height is fixed, remove this file .no-override-empty-state-container { .empty-state svg { diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.tsx index 8fba74597d..1bb63a6b7c 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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, ButtonVariantType, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoPublishedVersionEmptyState.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoPublishedVersionEmptyState.tsx index 17037bb019..6de2f21346 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoPublishedVersionEmptyState.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoPublishedVersionEmptyState.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { GenericEmptyState } from '@devtron-labs/devtron-fe-common-lib' import noArtifact from '@Images/no-artifact.webp' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/SelectMergeStrategy.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/SelectMergeStrategy.tsx index 5a6680f3f9..74c13d811d 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/SelectMergeStrategy.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/SelectMergeStrategy.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { InfoIconTippy, OverrideMergeStrategyType, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/constants.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/constants.tsx index b5bb071307..f32e6cf570 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/constants.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/constants.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { importComponentFromFELibrary } from '@Components/common' import { EnterpriseTag, OverrideMergeStrategyType, SelectPickerOptionType } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/index.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/index.ts index c0534693ad..3c883fc22a 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/index.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/index.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './DeploymentTemplate' export { default as ConfigDryRun } from './ConfigDryRun' export { default as ConfigToolbar } from './ConfigToolbar' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/types.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/types.ts index fa503ca1bf..d4f9ada82d 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/types.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { CompareFromApprovalOptionsValuesType, ConfigHeaderTabType, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/utils.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/utils.tsx index 525b9c80f9..6bc21d63ef 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/utils.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ConfigHeaderTabType, ConfigToolbarPopupMenuConfigType, diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/AppNavigation.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/AppNavigation.tsx index 8988a6d4b6..ccc2473c8c 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/AppNavigation.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/AppNavigation.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + /* * Copyright (c) 2024 Devtron Inc. * All rights reserved. diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/EnvConfigurationsNav.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/EnvConfigurationsNav.tsx index f039e46483..8b8a946558 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/EnvConfigurationsNav.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/EnvConfigurationsNav.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { MouseEvent, useEffect, useMemo, useState } from 'react' import { useRouteMatch, useLocation, NavLink, useHistory, generatePath } from 'react-router-dom' import Tippy from '@tippyjs/react' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/Navigation.helper.tsx b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/Navigation.helper.tsx index f9a6c59fce..2603c0ada8 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/Navigation.helper.tsx +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/Navigation.helper.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { NavLink, generatePath } from 'react-router-dom' import { diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/constants.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/constants.ts index d3ce0201c5..654dd54665 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/constants.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/Navigation/constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { CollapsibleListItem } from '@devtron-labs/devtron-fe-common-lib' import { ResourceConfigState } from '@Pages/Applications/DevtronApps/service.types' import { ReactComponent as ICStamp } from '@Icons/ic-stamp.svg' diff --git a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/index.ts b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/index.ts index 7c0259c50d..d21bd54a3f 100644 --- a/src/Pages/Applications/DevtronApps/Details/AppConfigurations/index.ts +++ b/src/Pages/Applications/DevtronApps/Details/AppConfigurations/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './MainContent' diff --git a/src/Pages/Applications/DevtronApps/Details/index.ts b/src/Pages/Applications/DevtronApps/Details/index.ts index 922ce5973d..9bd8ec6a04 100644 --- a/src/Pages/Applications/DevtronApps/Details/index.ts +++ b/src/Pages/Applications/DevtronApps/Details/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './AppConfigurations' diff --git a/src/Pages/Applications/DevtronApps/index.ts b/src/Pages/Applications/DevtronApps/index.ts index fdbadef09a..ae307d9fb0 100644 --- a/src/Pages/Applications/DevtronApps/index.ts +++ b/src/Pages/Applications/DevtronApps/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './Details' diff --git a/src/Pages/Applications/DevtronApps/service.ts b/src/Pages/Applications/DevtronApps/service.ts index a97e72a057..d6158fece6 100644 --- a/src/Pages/Applications/DevtronApps/service.ts +++ b/src/Pages/Applications/DevtronApps/service.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + /* * Copyright (c) 2024 Devtron Inc. * All rights reserved. diff --git a/src/Pages/Applications/DevtronApps/service.types.ts b/src/Pages/Applications/DevtronApps/service.types.ts index 40d04fdf6c..4674e7d2b8 100644 --- a/src/Pages/Applications/DevtronApps/service.types.ts +++ b/src/Pages/Applications/DevtronApps/service.types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + /* * Copyright (c) 2024 Devtron Inc. * All rights reserved. diff --git a/src/Pages/Applications/index.ts b/src/Pages/Applications/index.ts index 7fd4cacc27..687747c3e9 100644 --- a/src/Pages/Applications/index.ts +++ b/src/Pages/Applications/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './DevtronApps' diff --git a/src/Pages/GlobalConfigurations/Authorization/SSOLoginServices/SSOLogin.component.tsx b/src/Pages/GlobalConfigurations/Authorization/SSOLoginServices/SSOLogin.component.tsx index ae0a5aff0c..bf43b76166 100644 --- a/src/Pages/GlobalConfigurations/Authorization/SSOLoginServices/SSOLogin.component.tsx +++ b/src/Pages/GlobalConfigurations/Authorization/SSOLoginServices/SSOLogin.component.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + /* eslint-disable react/prop-types */ /* * Copyright (c) 2024. Devtron Inc. diff --git a/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraCMCSForm.tsx b/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraCMCSForm.tsx index ad4cacd016..272d75ae57 100644 --- a/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraCMCSForm.tsx +++ b/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraCMCSForm.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { BuildInfraCMCSFormProps } from '@devtron-labs/devtron-fe-common-lib' import { ConfigMapSecretForm } from '@Pages/Shared/ConfigMapSecret/ConfigMapSecretForm' diff --git a/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtiltityProvider.tsx b/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtiltityProvider.tsx index 9248336a32..5295e61a11 100644 --- a/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtiltityProvider.tsx +++ b/src/Pages/GlobalConfigurations/BuildInfra/BuildInfraUtiltityProvider.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useMemo } from 'react' import { BuildInfraUtilityContext, BuildInfraUtilityContextType } from '@devtron-labs/devtron-fe-common-lib' import BuildInfraCMCSForm from './BuildInfraCMCSForm' diff --git a/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/index.ts b/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/index.ts index 003cfe0f70..1fb2fe0f26 100644 --- a/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/index.ts +++ b/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './ClusterEnvironmentDrawer' diff --git a/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/schema.ts b/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/schema.ts index f129caea5c..8e04e78798 100644 --- a/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/schema.ts +++ b/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/schema.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { UseFormValidations } from '@devtron-labs/devtron-fe-common-lib' import { ClusterEnvironmentDrawerFormProps } from './types' diff --git a/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/types.ts b/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/types.ts index cc3a1e0ff8..ab443ddf01 100644 --- a/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/types.ts +++ b/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { TagType } from '@devtron-labs/devtron-fe-common-lib' export interface ClusterEnvironmentDrawerFormProps { diff --git a/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/utils.ts b/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/utils.ts index 5f2fe0a028..07c5054121 100644 --- a/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/utils.ts +++ b/src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/utils.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ClusterNamespacesDTO, GetClusterEnvironmentUpdatePayloadType } from './types' export const getClusterEnvironmentUpdatePayload = ({ diff --git a/src/Pages/GlobalConfigurations/DeploymentCharts/DeploymentChartsRouter.component.tsx b/src/Pages/GlobalConfigurations/DeploymentCharts/DeploymentChartsRouter.component.tsx index 9fbf299351..ee7ac6c3e9 100644 --- a/src/Pages/GlobalConfigurations/DeploymentCharts/DeploymentChartsRouter.component.tsx +++ b/src/Pages/GlobalConfigurations/DeploymentCharts/DeploymentChartsRouter.component.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Redirect, Route, Switch } from 'react-router-dom' import { ERROR_STATUS_CODE, ErrorScreenManager, useMainContext, URLS } from '@devtron-labs/devtron-fe-common-lib' import { importComponentFromFELibrary } from '@Components/common' diff --git a/src/Pages/GlobalConfigurations/DeploymentCharts/List/DeploymentChartsListHeader.tsx b/src/Pages/GlobalConfigurations/DeploymentCharts/List/DeploymentChartsListHeader.tsx index 315ca7647d..b86b3fde0e 100644 --- a/src/Pages/GlobalConfigurations/DeploymentCharts/List/DeploymentChartsListHeader.tsx +++ b/src/Pages/GlobalConfigurations/DeploymentCharts/List/DeploymentChartsListHeader.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { CUSTOM_CHART_TITLE_DESCRIPTION_CONTENT, DOCUMENTATION } from '@Config/constants' import { InfoIconTippy, SearchBar } from '@devtron-labs/devtron-fe-common-lib' import UploadButton from './UploadButton' diff --git a/src/Pages/GlobalConfigurations/DeploymentCharts/List/DownloadChartButton.tsx b/src/Pages/GlobalConfigurations/DeploymentCharts/List/DownloadChartButton.tsx index 2a9b00c332..78c91f2e5f 100644 --- a/src/Pages/GlobalConfigurations/DeploymentCharts/List/DownloadChartButton.tsx +++ b/src/Pages/GlobalConfigurations/DeploymentCharts/List/DownloadChartButton.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useRef } from 'react' import Tippy, { TippyProps } from '@tippyjs/react' import { Progressing, Tooltip, useDownload } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/Pages/GlobalConfigurations/DeploymentCharts/List/UploadButton.tsx b/src/Pages/GlobalConfigurations/DeploymentCharts/List/UploadButton.tsx index a996cf8662..53d950f41d 100644 --- a/src/Pages/GlobalConfigurations/DeploymentCharts/List/UploadButton.tsx +++ b/src/Pages/GlobalConfigurations/DeploymentCharts/List/UploadButton.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ReactComponent as Upload } from '@Icons/ic-upload.svg' import { Button, ComponentSizeType } from '@devtron-labs/devtron-fe-common-lib' import { UploadButtonProps } from '../types' diff --git a/src/Pages/GlobalConfigurations/DeploymentCharts/List/index.tsx b/src/Pages/GlobalConfigurations/DeploymentCharts/List/index.tsx index b936cf4e6f..97d0d65978 100644 --- a/src/Pages/GlobalConfigurations/DeploymentCharts/List/index.tsx +++ b/src/Pages/GlobalConfigurations/DeploymentCharts/List/index.tsx @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { default as DeploymentChartsList } from './DeploymentChartsList.component' diff --git a/src/Pages/GlobalConfigurations/DeploymentCharts/index.tsx b/src/Pages/GlobalConfigurations/DeploymentCharts/index.tsx index 855caa5683..848933e87c 100644 --- a/src/Pages/GlobalConfigurations/DeploymentCharts/index.tsx +++ b/src/Pages/GlobalConfigurations/DeploymentCharts/index.tsx @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { default } from './DeploymentChartsRouter.component' diff --git a/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/OfflinePipelineModalAppView.tsx b/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/OfflinePipelineModalAppView.tsx index defd299bd0..b262098a52 100644 --- a/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/OfflinePipelineModalAppView.tsx +++ b/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/OfflinePipelineModalAppView.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useHistory, useLocation, useRouteMatch } from 'react-router-dom' import { APIResponseHandler, GenericEmptyState, ImageType, noop, useAsync } from '@devtron-labs/devtron-fe-common-lib' import noOffendingPipelineImg from '@Images/no-offending-pipeline.svg' diff --git a/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/index.ts b/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/index.ts index ba06bd37f1..8e4a9ee67e 100644 --- a/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/index.ts +++ b/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { default as OffendingPipelineModalAppView } from './OfflinePipelineModalAppView' diff --git a/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/types.ts b/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/types.ts index 8a28694bc7..427a0116de 100644 --- a/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/types.ts +++ b/src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { PolicyKindType } from '@devtron-labs/devtron-fe-common-lib' export interface OffendingPipelineModalAppViewProps { diff --git a/src/Pages/Releases/Detail/Configurations/Configurations.tsx b/src/Pages/Releases/Detail/Configurations/Configurations.tsx index dd13bbce71..02b3ba82dd 100644 --- a/src/Pages/Releases/Detail/Configurations/Configurations.tsx +++ b/src/Pages/Releases/Detail/Configurations/Configurations.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useMemo } from 'react' import { generatePath, Redirect, Route, Switch, useRouteMatch } from 'react-router-dom' diff --git a/src/Pages/Releases/Detail/Configurations/index.ts b/src/Pages/Releases/Detail/Configurations/index.ts index d050a297bc..a821465871 100644 --- a/src/Pages/Releases/Detail/Configurations/index.ts +++ b/src/Pages/Releases/Detail/Configurations/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './Configurations' diff --git a/src/Pages/Releases/Detail/Configurations/styles.scss b/src/Pages/Releases/Detail/Configurations/styles.scss index 4f66249fbf..7b84c40d3c 100644 --- a/src/Pages/Releases/Detail/Configurations/styles.scss +++ b/src/Pages/Releases/Detail/Configurations/styles.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + .release-configurations { grid-template-columns: 280px 1fr; } diff --git a/src/Pages/Releases/Detail/Configurations/types.ts b/src/Pages/Releases/Detail/Configurations/types.ts index fdc656c3b3..4cbb7d7775 100644 --- a/src/Pages/Releases/Detail/Configurations/types.ts +++ b/src/Pages/Releases/Detail/Configurations/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { SelectPickerOptionType } from '@devtron-labs/devtron-fe-common-lib' import { diff --git a/src/Pages/Releases/Detail/index.ts b/src/Pages/Releases/Detail/index.ts index d050a297bc..a821465871 100644 --- a/src/Pages/Releases/Detail/index.ts +++ b/src/Pages/Releases/Detail/index.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './Configurations' diff --git a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecret.wrapper.tsx b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecret.wrapper.tsx index 36e3304d6a..4868da4b80 100644 --- a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecret.wrapper.tsx +++ b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecret.wrapper.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useEffect, useRef } from 'react' import { useParams } from 'react-router-dom' diff --git a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretContainer.tsx b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretContainer.tsx index a1f3228098..4fed4ec3fa 100644 --- a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretContainer.tsx +++ b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretContainer.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useEffect, useMemo, useRef, useState } from 'react' import { generatePath, Prompt, useHistory, useLocation, useRouteMatch } from 'react-router-dom' import ReactGA from 'react-ga4' diff --git a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretData.tsx b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretData.tsx index 8a389fdcbd..791f3baaec 100644 --- a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretData.tsx +++ b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretData.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ChangeEvent, useState } from 'react' import { diff --git a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretDeleteModal.tsx b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretDeleteModal.tsx index 9610ad8dd2..1f5bc2ba94 100644 --- a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretDeleteModal.tsx +++ b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretDeleteModal.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useState } from 'react' import { diff --git a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretDryRun.tsx b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretDryRun.tsx index ea9900b99f..44af1a868b 100644 --- a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretDryRun.tsx +++ b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretDryRun.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useEffect, useMemo, useRef } from 'react' import { Prompt, useLocation, useParams } from 'react-router-dom' diff --git a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretForm.tsx b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretForm.tsx index 6d16552950..d2ff540a48 100644 --- a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretForm.tsx +++ b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretForm.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Prompt, useLocation } from 'react-router-dom' import { diff --git a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretNullState.tsx b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretNullState.tsx index 69fbf4c24a..4472f3bb89 100644 --- a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretNullState.tsx +++ b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretNullState.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { generatePath, useRouteMatch } from 'react-router-dom' import { Button, ButtonComponentType, GenericEmptyState, ImageType } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretProtected.tsx b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretProtected.tsx index 24c3c4490f..fdbc52262f 100644 --- a/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretProtected.tsx +++ b/src/Pages/Shared/ConfigMapSecret/ConfigMapSecretProtected.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useMemo, useState } from 'react' import YAML from 'yaml' diff --git a/src/Pages/Shared/ConfigMapSecret/constants.ts b/src/Pages/Shared/ConfigMapSecret/constants.ts index 21af97733f..c7f0eeb118 100644 --- a/src/Pages/Shared/ConfigMapSecret/constants.ts +++ b/src/Pages/Shared/ConfigMapSecret/constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { CMSecretComponentType } from '@devtron-labs/devtron-fe-common-lib' import { ConfigMapSecretNullStateProps } from './types' diff --git a/src/Pages/Shared/ConfigMapSecret/helpers.tsx b/src/Pages/Shared/ConfigMapSecret/helpers.tsx index c430e2409e..d2c0e6972d 100644 --- a/src/Pages/Shared/ConfigMapSecret/helpers.tsx +++ b/src/Pages/Shared/ConfigMapSecret/helpers.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Link } from 'react-router-dom' import { CMSecretExternalType, InfoColourBar, CMSecretComponentType } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/Pages/Shared/ConfigMapSecret/index.ts b/src/Pages/Shared/ConfigMapSecret/index.ts index 6a705aa869..a3f9ccbcbf 100644 --- a/src/Pages/Shared/ConfigMapSecret/index.ts +++ b/src/Pages/Shared/ConfigMapSecret/index.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './ConfigMapSecret.wrapper' export type { CMSecretWrapperProps } from './types' diff --git a/src/Pages/Shared/ConfigMapSecret/styles.scss b/src/Pages/Shared/ConfigMapSecret/styles.scss index da778722ac..9fa6a0c9d0 100644 --- a/src/Pages/Shared/ConfigMapSecret/styles.scss +++ b/src/Pages/Shared/ConfigMapSecret/styles.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + .configmap-secret-form { &__name-container { grid-template-columns: 300px 1fr; diff --git a/src/Pages/Shared/ConfigMapSecret/types.ts b/src/Pages/Shared/ConfigMapSecret/types.ts index 3ad9b2d161..62b6cf2cec 100644 --- a/src/Pages/Shared/ConfigMapSecret/types.ts +++ b/src/Pages/Shared/ConfigMapSecret/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Dispatch, MutableRefObject, SetStateAction } from 'react' import { diff --git a/src/Pages/Shared/ConfigMapSecret/utils.ts b/src/Pages/Shared/ConfigMapSecret/utils.ts index de83257a97..2c1fcd7bcd 100644 --- a/src/Pages/Shared/ConfigMapSecret/utils.ts +++ b/src/Pages/Shared/ConfigMapSecret/utils.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 YAML from 'yaml' import { diff --git a/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverview.constants.ts b/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverview.constants.ts index 8b52bbade5..3ef712896d 100644 --- a/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverview.constants.ts +++ b/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverview.constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 EnvironmentOverviewTableHeaderFixedKeys = { STATUS: 'status', NAME: 'name', diff --git a/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.component.tsx b/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.component.tsx index d618f32ff9..424a248c3e 100644 --- a/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.component.tsx +++ b/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.component.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ChangeEvent, Fragment, useMemo, useState } from 'react' import { Link } from 'react-router-dom' diff --git a/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.scss b/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.scss index be77666693..904a9fef8c 100644 --- a/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.scss +++ b/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + .environment-overview-table { $parent-selector: &; diff --git a/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.types.ts b/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.types.ts index 4915adb077..792c010afe 100644 --- a/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.types.ts +++ b/src/Pages/Shared/EnvironmentOverviewTable/EnvironmentOverviewTable.types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { FunctionComponent, MouseEvent, ReactElement, SVGProps } from 'react' import { EnvironmentOverviewTableHeaderKeys } from './EnvironmentOverview.constants' diff --git a/src/Pages/Shared/EnvironmentOverviewTable/index.ts b/src/Pages/Shared/EnvironmentOverviewTable/index.ts index bfdb2810be..13ff9f6cc1 100644 --- a/src/Pages/Shared/EnvironmentOverviewTable/index.ts +++ b/src/Pages/Shared/EnvironmentOverviewTable/index.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './EnvironmentOverviewTable.component' export * from './EnvironmentOverviewTable.types' export { EnvironmentOverviewTableSortableKeys } from './EnvironmentOverview.constants' diff --git a/src/Pages/Shared/OrganizationFrame/organizationFrame.scss b/src/Pages/Shared/OrganizationFrame/organizationFrame.scss index bbb5240732..89f017fdf4 100644 --- a/src/Pages/Shared/OrganizationFrame/organizationFrame.scss +++ b/src/Pages/Shared/OrganizationFrame/organizationFrame.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + .organization-frame { &__logo { > path:first-child { diff --git a/src/assets/gif/ic-no-eligible-commit.svg b/src/assets/gif/ic-no-eligible-commit.svg index 5cd37fbef7..4fbf5a840e 100644 --- a/src/assets/gif/ic-no-eligible-commit.svg +++ b/src/assets/gif/ic-no-eligible-commit.svg @@ -1 +1,17 @@ + + diff --git a/src/assets/icons/dark/ic-bulk-check.svg b/src/assets/icons/dark/ic-bulk-check.svg index 5f7db4a099..e2f95a73af 100644 --- a/src/assets/icons/dark/ic-bulk-check.svg +++ b/src/assets/icons/dark/ic-bulk-check.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/dark/ic-checkbox-hover.svg b/src/assets/icons/dark/ic-checkbox-hover.svg index 4feeea341e..9c49550773 100644 --- a/src/assets/icons/dark/ic-checkbox-hover.svg +++ b/src/assets/icons/dark/ic-checkbox-hover.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/dark/ic-checkbox-intermediate.svg b/src/assets/icons/dark/ic-checkbox-intermediate.svg index 0bbb4afb4a..936c141c95 100644 --- a/src/assets/icons/dark/ic-checkbox-intermediate.svg +++ b/src/assets/icons/dark/ic-checkbox-intermediate.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/dark/ic-checkbox-selected.svg b/src/assets/icons/dark/ic-checkbox-selected.svg index 1611e38ad1..ecb5a00190 100644 --- a/src/assets/icons/dark/ic-checkbox-selected.svg +++ b/src/assets/icons/dark/ic-checkbox-selected.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/dark/ic-checkbox-unselected.svg b/src/assets/icons/dark/ic-checkbox-unselected.svg index 4224c9619b..fefe51fffd 100644 --- a/src/assets/icons/dark/ic-checkbox-unselected.svg +++ b/src/assets/icons/dark/ic-checkbox-unselected.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/dark/ic-github.svg b/src/assets/icons/dark/ic-github.svg index b9e0787a1f..0d1526466f 100644 --- a/src/assets/icons/dark/ic-github.svg +++ b/src/assets/icons/dark/ic-github.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-arrow-square-in.svg b/src/assets/icons/ic-arrow-square-in.svg index 5ef272c08c..c94a17da22 100644 --- a/src/assets/icons/ic-arrow-square-in.svg +++ b/src/assets/icons/ic-arrow-square-in.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-arrow-up-circle.svg b/src/assets/icons/ic-arrow-up-circle.svg index 2fc3fed177..a23b5ea177 100644 --- a/src/assets/icons/ic-arrow-up-circle.svg +++ b/src/assets/icons/ic-arrow-up-circle.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-asterisk.svg b/src/assets/icons/ic-asterisk.svg index d5a878f689..143878726f 100644 --- a/src/assets/icons/ic-asterisk.svg +++ b/src/assets/icons/ic-asterisk.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-camera.svg b/src/assets/icons/ic-camera.svg index 3068e02336..ebe5a327be 100644 --- a/src/assets/icons/ic-camera.svg +++ b/src/assets/icons/ic-camera.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-caret-left-small.svg b/src/assets/icons/ic-caret-left-small.svg index 62561f7ff1..ed1f8132fc 100644 --- a/src/assets/icons/ic-caret-left-small.svg +++ b/src/assets/icons/ic-caret-left-small.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-chart-line-up.svg b/src/assets/icons/ic-chart-line-up.svg index f3aeba4e83..122eb0f5f1 100644 --- a/src/assets/icons/ic-chart-line-up.svg +++ b/src/assets/icons/ic-chart-line-up.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-check-circle-dots.svg b/src/assets/icons/ic-check-circle-dots.svg index bfd7d75143..7310d55680 100644 --- a/src/assets/icons/ic-check-circle-dots.svg +++ b/src/assets/icons/ic-check-circle-dots.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-checkbox-hover.svg b/src/assets/icons/ic-checkbox-hover.svg index 5b722dbd3f..2e0d3aaee4 100644 --- a/src/assets/icons/ic-checkbox-hover.svg +++ b/src/assets/icons/ic-checkbox-hover.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-choices-dropdown.svg b/src/assets/icons/ic-choices-dropdown.svg index 0b71878451..d948bf532b 100644 --- a/src/assets/icons/ic-choices-dropdown.svg +++ b/src/assets/icons/ic-choices-dropdown.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-clean-brush.svg b/src/assets/icons/ic-clean-brush.svg index 7fb06bcee5..6e192e8cfd 100644 --- a/src/assets/icons/ic-clean-brush.svg +++ b/src/assets/icons/ic-clean-brush.svg @@ -15,5 +15,5 @@ --> - - + + \ No newline at end of file diff --git a/src/assets/icons/ic-cordon-medium.svg b/src/assets/icons/ic-cordon-medium.svg deleted file mode 100644 index bf3205f0b0..0000000000 --- a/src/assets/icons/ic-cordon-medium.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/src/assets/icons/ic-datadog.svg b/src/assets/icons/ic-datadog.svg index bc3b2da366..053c1a9329 100644 --- a/src/assets/icons/ic-datadog.svg +++ b/src/assets/icons/ic-datadog.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-dot.svg b/src/assets/icons/ic-dot.svg index 1387a073b5..2f2c4d9f5b 100644 --- a/src/assets/icons/ic-dot.svg +++ b/src/assets/icons/ic-dot.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-file-edit.svg b/src/assets/icons/ic-file-edit.svg index a4fa313ce4..53f7338d63 100644 --- a/src/assets/icons/ic-file-edit.svg +++ b/src/assets/icons/ic-file-edit.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-file-play.svg b/src/assets/icons/ic-file-play.svg index 86cec57ba1..1fa9b746f5 100644 --- a/src/assets/icons/ic-file-play.svg +++ b/src/assets/icons/ic-file-play.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-fluxcd-app.svg b/src/assets/icons/ic-fluxcd-app.svg index f8122b70b8..0ff6057c7c 100644 --- a/src/assets/icons/ic-fluxcd-app.svg +++ b/src/assets/icons/ic-fluxcd-app.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-fluxcd.svg b/src/assets/icons/ic-fluxcd.svg index b17de7f8a7..d55f5c5ef6 100644 --- a/src/assets/icons/ic-fluxcd.svg +++ b/src/assets/icons/ic-fluxcd.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-lego-block.svg b/src/assets/icons/ic-lego-block.svg index 3098db373e..01033dc539 100644 --- a/src/assets/icons/ic-lego-block.svg +++ b/src/assets/icons/ic-lego-block.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-newrelic.svg b/src/assets/icons/ic-newrelic.svg index fd37900417..565259287c 100644 --- a/src/assets/icons/ic-newrelic.svg +++ b/src/assets/icons/ic-newrelic.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-play-medium.svg b/src/assets/icons/ic-play-medium.svg deleted file mode 100644 index 73fe1e9418..0000000000 --- a/src/assets/icons/ic-play-medium.svg +++ /dev/null @@ -1,19 +0,0 @@ - - - - - diff --git a/src/assets/icons/ic-play-outline.svg b/src/assets/icons/ic-play-outline.svg index fc92127602..322917e726 100644 --- a/src/assets/icons/ic-play-outline.svg +++ b/src/assets/icons/ic-play-outline.svg @@ -1,3 +1,19 @@ + + \ No newline at end of file diff --git a/src/assets/icons/ic-select-cluster.svg b/src/assets/icons/ic-select-cluster.svg index c2b6c68ead..10b5401f68 100644 --- a/src/assets/icons/ic-select-cluster.svg +++ b/src/assets/icons/ic-select-cluster.svg @@ -1 +1,17 @@ + + \ No newline at end of file diff --git a/src/assets/icons/ic-sliders-vertical.svg b/src/assets/icons/ic-sliders-vertical.svg index 0bab3f6efa..f7199e5e5e 100644 --- a/src/assets/icons/ic-sliders-vertical.svg +++ b/src/assets/icons/ic-sliders-vertical.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-sparkles.svg b/src/assets/icons/ic-sparkles.svg index e6d2d2e137..ae58fde53d 100644 --- a/src/assets/icons/ic-sparkles.svg +++ b/src/assets/icons/ic-sparkles.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/icons/ic-stamp.svg b/src/assets/icons/ic-stamp.svg index 3295d60e3d..7821e98441 100644 --- a/src/assets/icons/ic-stamp.svg +++ b/src/assets/icons/ic-stamp.svg @@ -1,3 +1,19 @@ + + diff --git a/src/assets/img/app-not-deployed.svg b/src/assets/img/app-not-deployed.svg index e3c53ac5b7..f7ca75cb9f 100755 --- a/src/assets/img/app-not-deployed.svg +++ b/src/assets/img/app-not-deployed.svg @@ -1,3 +1,19 @@ + +

{CORDON_NODE_MODAL_MESSAGING.uncordonInfoText.lineOne}

-
-

{CORDON_NODE_MODAL_MESSAGING.uncordonInfoText.lineTwo}

- - ) : ( - <> - - -

{CORDON_NODE_MODAL_MESSAGING.cordonInfoText.lineOne}

-
-

{CORDON_NODE_MODAL_MESSAGING.cordonInfoText.lineTwo}

- - )} - - - - - + : } + title={`${CORDON_NODE_MODAL_MESSAGING[isCordonButton ? 'cordon' : 'uncordon']} node '${name}'`} + handleClose={onClose} + showConfirmationModal + subtitle={ + isCordonButton + ? CORDON_NODE_MODAL_MESSAGING.cordonInfoText + : CORDON_NODE_MODAL_MESSAGING.uncordonInfoText + } + buttonConfig={getButtonConfig()} + /> ) } + +export default CordonNodeModal diff --git a/src/components/ClusterNodes/NodeActions/DrainNodeModal.tsx b/src/components/ClusterNodes/NodeActions/DrainNodeModal.tsx index c173127062..2cf281ae41 100644 --- a/src/components/ClusterNodes/NodeActions/DrainNodeModal.tsx +++ b/src/components/ClusterNodes/NodeActions/DrainNodeModal.tsx @@ -15,89 +15,37 @@ */ import { useState } from 'react' -import Tippy from '@tippyjs/react' import { showError, - Progressing, - ConfirmationDialog, - Checkbox, - CHECKBOX_VALUE, ToastVariantType, ToastManager, + drainNodeCapacity, + DRAIN_NODE_MODAL_MESSAGING, + NodeDrainRequest, + ConfirmationModal, + ButtonStyleType, + ConfirmationModalVariantType, + NodeDrainOptions, } from '@devtron-labs/devtron-fe-common-lib' import { useParams } from 'react-router-dom' -import DrainIcon from '../../../assets/icons/ic-clean-brush-medium.svg' -import { ReactComponent as QuestionIcon } from '../../v2/assets/icons/ic-question.svg' -import { ReactComponent as TimerIcon } from '../../../assets/icons/ic-timer.svg' -import { DRAIN_NODE_MODAL_MESSAGING } from '../constants' import { NodeActionModalPropType } from '../types' -import { drainNodeCapacity } from '../clusterNodes.service' -export default function DrainNodeModal({ name, version, kind, closePopup }: NodeActionModalPropType) { +const DrainNodeModal = ({ name, version, kind, closePopup }: NodeActionModalPropType) => { const { clusterId } = useParams<{ clusterId: string }>() - const [gracePeriod, setGracePeriod] = useState('-1') - const [deleteEmptyDirData, setDeleteEmptyDirData] = useState(false) - const [disableEviction, setDisableEviction] = useState(false) - const [forceDrain, setForceDrain] = useState(false) - const [ignoreDaemonSets, setIgnoreDaemonSets] = useState(false) + const [nodeDrainOptions, setNodeDrainOptions] = useState({ + gracePeriodSeconds: -1, + deleteEmptyDirData: false, + disableEviction: false, + force: false, + ignoreAllDaemonSets: false, + }) const [apiCallInProgress, setAPICallInProgress] = useState(false) - const DRAIN_NODE_OPTIONS = [ - { - isChecked: deleteEmptyDirData, - onChange: () => { - setDeleteEmptyDirData((prevState) => !prevState) - }, - heading: DRAIN_NODE_MODAL_MESSAGING.DeleteEmptyDirectoryData.heading, - infoText: DRAIN_NODE_MODAL_MESSAGING.DeleteEmptyDirectoryData.infoText, - }, - { - isChecked: disableEviction, - onChange: () => { - setDisableEviction((prevState) => !prevState) - }, - heading: DRAIN_NODE_MODAL_MESSAGING.DisableEviction.heading, - infoText: DRAIN_NODE_MODAL_MESSAGING.DisableEviction.infoText, - }, - { - isChecked: forceDrain, - onChange: () => { - setForceDrain((prevState) => !prevState) - }, - heading: DRAIN_NODE_MODAL_MESSAGING.ForceDrain.heading, - infoText: DRAIN_NODE_MODAL_MESSAGING.ForceDrain.infoText, - }, - { - isChecked: ignoreDaemonSets, - onChange: () => { - setIgnoreDaemonSets((prevState) => !prevState) - }, - heading: DRAIN_NODE_MODAL_MESSAGING.IgnoreDaemonSets.heading, - infoText: DRAIN_NODE_MODAL_MESSAGING.IgnoreDaemonSets.infoText, - }, - ] const onClose = (): void => { closePopup() } - const handleInputValue = (e) => { - const inputValue = e.target.value - setGracePeriod(Number(inputValue) < -1 ? '-1' : inputValue) - } - - const handleInputOnBlur = (e) => { - if (!e.target.value) { - setGracePeriod('-1') - } else { - handleInputValue(e) - } - } - - const handleKeyDown = (e) => { - if (e.key === 'Enter') { - handleInputOnBlur(e) - } - } + const { DrainIcon } = DRAIN_NODE_MODAL_MESSAGING const drainAPI = async () => { try { @@ -107,13 +55,7 @@ export default function DrainNodeModal({ name, version, kind, closePopup }: Node name, version, kind, - nodeDrainOptions: { - gracePeriodSeconds: Number(gracePeriod), - deleteEmptyDirData, - disableEviction, - force: forceDrain, - ignoreAllDaemonSets: ignoreDaemonSets, - }, + nodeDrainOptions, } await drainNodeCapacity(payload) ToastManager.showToast({ @@ -129,78 +71,30 @@ export default function DrainNodeModal({ name, version, kind, closePopup }: Node } return ( - - - -

{DRAIN_NODE_MODAL_MESSAGING.Actions.infoText}

-
-
- - {DRAIN_NODE_MODAL_MESSAGING.GracePeriod.heading} - - - - sec - - - - - -
- {DRAIN_NODE_OPTIONS.map((option) => { - return ( -
- - {option.heading} - - - - -
- ) - })} -
- - - - -
+ } + title={`${DRAIN_NODE_MODAL_MESSAGING.Actions.drain} ‘${name}’ ?`} + subtitle={DRAIN_NODE_MODAL_MESSAGING.Actions.infoText} + buttonConfig={{ + primaryButtonConfig: { + text: DRAIN_NODE_MODAL_MESSAGING.Actions.drain, + onClick: drainAPI, + isLoading: apiCallInProgress, + style: ButtonStyleType.negative, + }, + secondaryButtonConfig: { + text: DRAIN_NODE_MODAL_MESSAGING.Actions.cancel, + onClick: onClose, + disabled: apiCallInProgress, + }, + }} + > + + ) } + +export default DrainNodeModal diff --git a/src/components/ClusterNodes/NodeDetails.tsx b/src/components/ClusterNodes/NodeDetails.tsx index 6fc2b74296..74dd6d948c 100644 --- a/src/components/ClusterNodes/NodeDetails.tsx +++ b/src/components/ClusterNodes/NodeDetails.tsx @@ -33,7 +33,6 @@ import { TabProps, ToastManager, ToastVariantType, - TOAST_ACCESS_DENIED, ResourceDetail, CodeEditorThemesKeys, } from '@devtron-labs/devtron-fe-common-lib' @@ -41,22 +40,22 @@ import { useParams, useLocation, useHistory } from 'react-router-dom' import YAML from 'yaml' import * as jsonpatch from 'fast-json-patch' import { applyPatch } from 'fast-json-patch' -import { ReactComponent as Info } from '../../assets/icons/ic-info-filled.svg' -import { ReactComponent as Error } from '../../assets/icons/ic-error-exclamation.svg' -import { ReactComponent as AlertTriangle } from '../../assets/icons/ic-alert-triangle.svg' -import { ReactComponent as Cpu } from '../../assets/icons/ic-cpu.svg' -import { ReactComponent as Memory } from '../../assets/icons/ic-memory.svg' -import { ReactComponent as Storage } from '../../assets/icons/ic-storage.svg' -import { ReactComponent as Edit } from '../../assets/icons/ic-pencil.svg' -import { ReactComponent as Dropdown } from '../../assets/icons/ic-chevron-down.svg' -import { ReactComponent as CordonIcon } from '../../assets/icons/ic-cordon.svg' -import { ReactComponent as UncordonIcon } from '../../assets/icons/ic-play-medium.svg' -import { ReactComponent as DrainIcon } from '../../assets/icons/ic-clean-brush.svg' -import { ReactComponent as EditTaintsIcon } from '../../assets/icons/ic-spraycan.svg' -import { ReactComponent as DeleteIcon } from '../../assets/icons/ic-delete-interactive.svg' -import { ReactComponent as Success } from '../../assets/icons/appstatus/healthy.svg' -import { ReactComponent as Check } from '../../assets/icons/ic-check.svg' -import { ReactComponent as Review } from '../../assets/icons/ic-visibility-on.svg' +import { ReactComponent as Info } from '@Icons/ic-info-filled.svg' +import { ReactComponent as Error } from '@Icons/ic-error-exclamation.svg' +import { ReactComponent as AlertTriangle } from '@Icons/ic-alert-triangle.svg' +import { ReactComponent as Cpu } from '@Icons/ic-cpu.svg' +import { ReactComponent as Memory } from '@Icons/ic-memory.svg' +import { ReactComponent as Storage } from '@Icons/ic-storage.svg' +import { ReactComponent as Edit } from '@Icons/ic-pencil.svg' +import { ReactComponent as Dropdown } from '@Icons/ic-chevron-down.svg' +import { ReactComponent as CordonIcon } from '@Icons/ic-cordon.svg' +import { ReactComponent as UncordonIcon } from '@Icons/ic-play-outline.svg' +import { ReactComponent as DrainIcon } from '@Icons/ic-clean-brush.svg' +import { ReactComponent as EditTaintsIcon } from '@Icons/ic-spraycan.svg' +import { ReactComponent as DeleteIcon } from '@Icons/ic-delete-interactive.svg' +import { ReactComponent as Success } from '@Icons/appstatus/healthy.svg' +import { ReactComponent as Check } from '@Icons/ic-check.svg' +import { ReactComponent as Review } from '@Icons/ic-visibility-on.svg' import { getNodeCapacity, updateNodeManifest } from './clusterNodes.service' import { ClusterListType, @@ -74,7 +73,7 @@ import { AUTO_SELECT, CLUSTER_NODE_ACTIONS_LABELS, NODE_DETAILS_TABS } from './c import CordonNodeModal from './NodeActions/CordonNodeModal' import DrainNodeModal from './NodeActions/DrainNodeModal' import DeleteNodeModal from './NodeActions/DeleteNodeModal' -import { K8S_EMPTY_GROUP, K8S_RESOURCE_LIST, SIDEBAR_KEYS } from '../ResourceBrowser/Constants' +import { K8S_EMPTY_GROUP, SIDEBAR_KEYS } from '../ResourceBrowser/Constants' import { AppDetailsTabs } from '../v2/appDetails/appDetails.store' import { unauthorizedInfoText } from '../ResourceBrowser/ResourceList/ClusterSelector' import './clusterNodes.scss' @@ -736,7 +735,7 @@ const NodeDetails = ({ addTab, lowercaseKindToResourceGroupMap, updateTabUrl }: {nodeDetail?.unschedulable ? ( <> - + {CLUSTER_NODE_ACTIONS_LABELS.uncordon} ) : ( diff --git a/src/components/ClusterNodes/clusterNodes.service.tsx b/src/components/ClusterNodes/clusterNodes.service.tsx index a2544480a4..360f6f59e5 100644 --- a/src/components/ClusterNodes/clusterNodes.service.tsx +++ b/src/components/ClusterNodes/clusterNodes.service.tsx @@ -19,9 +19,7 @@ import { Routes } from '../../config' import { ClusterCapacityResponse, ClusterListResponse, - NodeCordonRequest, NodeDetailResponse, - NodeDrainRequest, UpdateNodeRequestBody, EditTaintsRequest, TerminalDataType, @@ -57,12 +55,6 @@ export const updateClusterShortDescription = ( export const getNodeCapacity = (clusterId: string, nodeName: string): Promise => get(`${COMMON_ROUTES.NODE_CAPACITY}?clusterId=${clusterId}&name=${nodeName}`) -export const cordonNodeCapacity = (requestPayload: NodeCordonRequest): Promise => - put(`${COMMON_ROUTES.NODE_CAPACITY}/cordon`, requestPayload) - -export const drainNodeCapacity = (requestPayload: NodeDrainRequest): Promise => - put(`${COMMON_ROUTES.NODE_CAPACITY}/drain`, requestPayload) - export const updateNodeManifest = ( clusterId: string, nodeName: string, diff --git a/src/components/ClusterNodes/constants.ts b/src/components/ClusterNodes/constants.ts index 53dbbf3276..1d7087140e 100644 --- a/src/components/ClusterNodes/constants.ts +++ b/src/components/ClusterNodes/constants.ts @@ -102,54 +102,6 @@ export const CLUSTER_NODE_ACTIONS_LABELS = { delete: 'Delete', } -export const CORDON_NODE_MODAL_MESSAGING = { - cordonInfoText: { - lineOne: 'Cordoning this node will mark this node as unschedulable.', - lineTwo: 'By cordoning a node, you can be sure that no new pods will be scheduled on this node.', - }, - uncordonInfoText: { - lineOne: 'Uncordoning this node will mark this node as schedulable.', - lineTwo: 'By uncordoning a node, you can allow pods to be scheduled on this node.', - }, - cordon: 'Cordon node', - uncordon: 'Uncordon node', - cordoning: 'Cordoning node', - uncordoning: 'Uncordoning node', - cancel: 'Cancel', -} - -export const DRAIN_NODE_MODAL_MESSAGING = { - GracePeriod: { - heading: 'Grace period', - infoText: - 'Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.', - }, - DeleteEmptyDirectoryData: { - heading: 'Delete empty directory data', - infoText: 'Enabling this field will delete the pods using empty directory data when the node is drained.', - }, - DisableEviction: { - heading: 'Disable eviction (use with caution)', - infoText: `Enabling this field will force drain to use delete, even if eviction is supported. This will bypass checking PodDisruptionBudgets. - Note: Make sure to use with caution.`, - }, - ForceDrain: { - heading: 'Force drain', - infoText: - 'Enabling this field will force drain a node even if there are pods that do not declare a controller.', - }, - IgnoreDaemonSets: { - heading: 'Ignore DaemonSets', - infoText: 'Enabling this field will ignore DaemonSet-managed pods.', - }, - Actions: { - infoText: 'Drain will cordon off the node and evict all pods of the node.', - drain: 'Drain node', - draining: 'Draining node', - cancel: 'Cancel', - }, -} - export const DELETE_NODE_MODAL_MESSAGING = { recommended: 'Recommended: ', recommendedInfoText: 'Drain the node before deleting it as it may cause disruption because of pod deletion.', diff --git a/src/components/ClusterNodes/types.ts b/src/components/ClusterNodes/types.ts index 1831de06d8..de763181e1 100644 --- a/src/components/ClusterNodes/types.ts +++ b/src/components/ClusterNodes/types.ts @@ -184,14 +184,6 @@ export interface EditTaintsModalType extends NodeActionModalPropType { taints: TaintType[] } -interface NodeCordonOptions { - unschedulableDesired: boolean -} - -export interface NodeCordonRequest extends NodeActionRequest { - nodeCordonOptions: NodeCordonOptions -} - export interface ClusteNotePatchRequest { id: number // this is mandatory to send in the request identifier: number // equals clusterId for cluster description and appId for app/job description @@ -203,18 +195,6 @@ export interface ClusterShortDescriptionPatchRequest { description: string } -interface NodeDrainOptions { - gracePeriodSeconds: number - deleteEmptyDirData: boolean - disableEviction: boolean - force: boolean - ignoreAllDaemonSets: boolean -} - -export interface NodeDrainRequest extends NodeActionRequest { - nodeDrainOptions: NodeDrainOptions -} - export interface EditTaintsRequest extends NodeActionRequest { taints: TaintType[] } diff --git a/src/components/ClusterNodes/utils.tsx b/src/components/ClusterNodes/utils.tsx index 2b6f390ecd..9260926e0c 100644 --- a/src/components/ClusterNodes/utils.tsx +++ b/src/components/ClusterNodes/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ClusterDetail, numberComparatorBySortOrder, diff --git a/src/components/Jobs/JobList/JobListFilters.tsx b/src/components/Jobs/JobList/JobListFilters.tsx index 239ddcbf0e..574bcac3b3 100644 --- a/src/components/Jobs/JobList/JobListFilters.tsx +++ b/src/components/Jobs/JobList/JobListFilters.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 ExportToCsv from '@Components/common/ExportToCsv/ExportToCsv' import { FilterSelectPicker, diff --git a/src/components/ResourceBrowser/ResourceBrowser.scss b/src/components/ResourceBrowser/ResourceBrowser.scss index dc57f570c1..eaa53909b9 100644 --- a/src/components/ResourceBrowser/ResourceBrowser.scss +++ b/src/components/ResourceBrowser/ResourceBrowser.scss @@ -156,7 +156,7 @@ .scrollable-event-list { height: calc(100vh - 180px); &.paginated-list-view { - height: calc(100vh - 237px); + height: calc(100vh - 201px); } &.sync-error { diff --git a/src/components/ResourceBrowser/ResourceList/BaseResourceList.tsx b/src/components/ResourceBrowser/ResourceList/BaseResourceList.tsx index cde21c61d2..fc0ab63c69 100644 --- a/src/components/ResourceBrowser/ResourceList/BaseResourceList.tsx +++ b/src/components/ResourceBrowser/ResourceList/BaseResourceList.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Pagination, Progressing, @@ -223,6 +239,10 @@ const BaseResourceListContent = ({ return acc }, {}) as Record) ?? {}, ) + + handleBulkSelection({ + action: BulkSelectionEvents.CLEAR_ALL_SELECTIONS, + }) }, [resourceListOffset, filteredResourceList, pageSize]) useEffect( @@ -292,16 +312,8 @@ const BaseResourceListContent = ({ } } - const handleCloseRBBulkOperationsModal = () => { - setBulkOperationModalState('closed') - } - - const handleOpenRestartBulkOperationsModal = () => { - setBulkOperationModalState('restart') - } - - const handleOpenDeleteBulkOperationsModal = () => { - setBulkOperationModalState('delete') + const getBulkOperationsModalStateSetter = (option: BulkOperationsModalState) => () => { + setBulkOperationModalState(option) } const handleClearBulkSelection = () => { @@ -458,9 +470,9 @@ const BaseResourceListContent = ({ key={`${resourceData.id}-${columnName}`} className={`flexbox dc__align-items-center ${ columnName === 'status' - ? ` app-summary__status-name ${getStatusClass(String(resourceData[columnName]))}` + ? `app-summary__status-name dc__no-text-transform ${getStatusClass(String(resourceData[columnName]))}` : '' - } ${columnName === 'errors' ? 'app-summary__status-name f-error' : ''}`} + } ${columnName === 'errors' ? 'app-summary__status-name f-error dc__no-text-transform' : ''}`} > feat.trim().toUpperCase()) .indexOf(selectedResource.gvk.Kind.toUpperCase()) > -1 } + showNodeListingOptions={isNodeListing} + handleOpenCordonNodeModal={getBulkOperationsModalStateSetter('cordon')} + handleOpenUncordonNodeModal={getBulkOperationsModalStateSetter('uncordon')} + handleOpenDrainNodeModal={getBulkOperationsModalStateSetter('drain')} /> )} {RBBulkOperations && bulkOperationModalState !== 'closed' && ( ( -
+
@@ -45,135 +48,130 @@ export const EventList = ({
))}
-
- {filteredData?.map((eventData) => { - const eventDetails: WidgetEventDetails = { - message: eventData.message as string, - namespace: eventData.namespace as string, - object: eventData[EVENT_LIST.dataKeys.involvedObject] as string, - source: eventData.source as string, - age: eventData.age as string, - count: eventData.count as number, - lastSeen: eventData[EVENT_LIST.dataKeys.lastSeen] as string, - } - const handleExplainEventClick = () => { - setWidgetEventDetails(eventDetails) - } - return ( + {filteredData?.map((eventData) => { + const eventDetails: WidgetEventDetails = { + message: eventData.message as string, + namespace: eventData.namespace as string, + object: eventData[EVENT_LIST.dataKeys.involvedObject] as string, + source: eventData.source as string, + age: eventData.age as string, + count: eventData.count as number, + lastSeen: eventData[EVENT_LIST.dataKeys.lastSeen] as string, + } + const handleExplainEventClick = () => { + setWidgetEventDetails(eventDetails) + } + return ( +
-
- -
-
+ +
+
+ +
+ +
- -
- -
-
-
- - - -
- -
+ +
+ +
+ -
{eventData.count}
-
+
+ +
-
{eventData[EVENT_LIST.dataKeys.lastSeen]}
- {ExplainEventButton && eventData.type === 'Warning' ? ( - - ) : ( - - )} +
+
{eventData.count}
+
+
- ) - })} -
+
{eventData[EVENT_LIST.dataKeys.lastSeen]}
+ {ExplainEventButton && eventData.type === 'Warning' ? ( + + ) : ( + + )} +
+ ) + })}
) diff --git a/src/components/ResourceBrowser/ResourceList/NodeActionsMenu.tsx b/src/components/ResourceBrowser/ResourceList/NodeActionsMenu.tsx index c89c6b64e5..9a4ceea9de 100644 --- a/src/components/ResourceBrowser/ResourceList/NodeActionsMenu.tsx +++ b/src/components/ResourceBrowser/ResourceList/NodeActionsMenu.tsx @@ -19,9 +19,9 @@ import { useHistory, useLocation, useRouteMatch } from 'react-router-dom' import { noop, PopupMenu } from '@devtron-labs/devtron-fe-common-lib' import { AppDetailsTabs } from '@Components/v2/appDetails/appDetails.store' import { TaintType } from '@Components/ClusterNodes/types' +import { ReactComponent as UncordonIcon } from '@Icons/ic-play-outline.svg' import { ReactComponent as TerminalIcon } from '../../../assets/icons/ic-terminal-fill.svg' import { ReactComponent as CordonIcon } from '../../../assets/icons/ic-cordon.svg' -import { ReactComponent as UncordonIcon } from '../../../assets/icons/ic-play-medium.svg' import { ReactComponent as DrainIcon } from '../../../assets/icons/ic-clean-brush.svg' import { ReactComponent as EditTaintsIcon } from '../../../assets/icons/ic-spraycan.svg' import { ReactComponent as EditFileIcon } from '../../../assets/icons/ic-edit-lines.svg' @@ -114,8 +114,7 @@ const NodeActionsMenu = ({ nodeData, getNodeListData, addTab }: NodeActionsMenuP name={name} version={version} kind={kind} - // NOTE!: ts was showing error in yarn lint but vscode did not - unschedulable={!!nodeData.unschedulable as unknown as boolean} + unschedulable={!!nodeData.unschedulable} closePopup={hideCordonNodeModal} /> ) @@ -171,7 +170,7 @@ const NodeActionsMenu = ({ nodeData, getNodeListData, addTab }: NodeActionsMenuP > {nodeData.unschedulable ? ( <> - + {CLUSTER_NODE_ACTIONS_LABELS.uncordon} ) : ( diff --git a/src/components/ResourceBrowser/ResourceList/ResourceList.component.tsx b/src/components/ResourceBrowser/ResourceList/ResourceList.component.tsx index dcb05c18ff..fd8d667e6e 100644 --- a/src/components/ResourceBrowser/ResourceList/ResourceList.component.tsx +++ b/src/components/ResourceBrowser/ResourceList/ResourceList.component.tsx @@ -22,6 +22,7 @@ import { ReactComponent as Warning } from '../../../assets/icons/ic-warning.svg' import { handleUTCTime } from '../../common' import { ShortcutKeyBadge } from '../../common/formFields/Widgets/Widgets' import { SidebarChildButtonPropsType } from '../Types' +import { Tooltip } from '@devtron-labs/devtron-fe-common-lib' export const KindSearchValueContainer = (props) => { const { selectProps } = props @@ -102,12 +103,14 @@ export const SidebarChildButton: React.FC = ({ onClick={onClick} aria-label={`Select ${text}`} > -
- {text} -
+ +
+ {text} +
+
) diff --git a/src/components/ResourceBrowser/ResourceList/types.ts b/src/components/ResourceBrowser/ResourceList/types.ts index 78dfa3f7b9..c081bea17e 100644 --- a/src/components/ResourceBrowser/ResourceList/types.ts +++ b/src/components/ResourceBrowser/ResourceList/types.ts @@ -1,4 +1,25 @@ -import { K8sResourceDetailType, ServerErrors, ALL_NAMESPACE_OPTION } from '@devtron-labs/devtron-fe-common-lib' +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { + K8sResourceDetailType, + ServerErrors, + ALL_NAMESPACE_OPTION, + RBBulkOperationType, +} from '@devtron-labs/devtron-fe-common-lib' import { Dispatch, ReactNode, SetStateAction } from 'react' import { ClusterListType } from '@Components/ClusterNodes/types' import { UseTabsReturnType } from '@Components/common/DynamicTabs/types' @@ -58,6 +79,4 @@ export interface ResourceListUrlFiltersType { targetK8sVersion: string } -export type BulkOperationType = 'restart' | 'delete' - -export type BulkOperationsModalState = BulkOperationType | 'closed' +export type BulkOperationsModalState = RBBulkOperationType | 'closed' diff --git a/src/components/ResourceBrowser/ResourceList/utils.tsx b/src/components/ResourceBrowser/ResourceList/utils.tsx index 7551125abd..0296689537 100644 --- a/src/components/ResourceBrowser/ResourceList/utils.tsx +++ b/src/components/ResourceBrowser/ResourceList/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { noop } from '@devtron-labs/devtron-fe-common-lib' import { TARGET_K8S_VERSION_SEARCH_KEY, diff --git a/src/components/app/details/appDetails/AppDetails.tsx b/src/components/app/details/appDetails/AppDetails.tsx index 5a224be318..40c2209a37 100644 --- a/src/components/app/details/appDetails/AppDetails.tsx +++ b/src/components/app/details/appDetails/AppDetails.tsx @@ -696,7 +696,7 @@ export const Details: React.FC = ({ return ( : } title={`${hibernateConfirmationModal === 'hibernate' ? 'Hibernate' : 'Restore'} '${appDetails.appName}' on '${appDetails.environmentName}'`} subtitle={

diff --git a/src/components/app/details/appDetails/AppSecurity.tsx b/src/components/app/details/appDetails/AppSecurity.tsx index 74decef8aa..c8594e3f08 100644 --- a/src/components/app/details/appDetails/AppSecurity.tsx +++ b/src/components/app/details/appDetails/AppSecurity.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useAsync, getSecurityScan } from '@devtron-labs/devtron-fe-common-lib' import { UseGetAppSecurityDetailsProps, UseGetAppSecurityDetailsReturnType } from './appDetails.type' diff --git a/src/components/app/details/appDetails/constants.ts b/src/components/app/details/appDetails/constants.ts index 2b554b66a0..31312bd408 100644 --- a/src/components/app/details/appDetails/constants.ts +++ b/src/components/app/details/appDetails/constants.ts @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 APP_METRICS_CALENDAR_INPUT_DATE_FORMAT = 'DD-MM-YYYY hh:mm:ss' diff --git a/src/components/app/details/appDetails/types.ts b/src/components/app/details/appDetails/types.ts index cd45474e4b..84b5cacd12 100644 --- a/src/components/app/details/appDetails/types.ts +++ b/src/components/app/details/appDetails/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { AppMetricsTabType, ChartTypes, StatusTypes } from './appDetails.type' import { AppInfo } from './utils' diff --git a/src/components/app/details/cIDetails/CISecurity.utils.tsx b/src/components/app/details/cIDetails/CISecurity.utils.tsx deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiff.scss b/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiff.scss index 12bae88208..59a1043f9d 100644 --- a/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiff.scss +++ b/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiff.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + .pipeline-config-diff-tile { svg { &.config-diff-found-icon { diff --git a/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiff.tsx b/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiff.tsx index 9c70fff545..61ddced715 100644 --- a/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiff.tsx +++ b/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiff.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useLocation } from 'react-router-dom' import { diff --git a/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiffStatusTile.tsx b/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiffStatusTile.tsx index 788484f8ab..53a0a59ac2 100644 --- a/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiffStatusTile.tsx +++ b/src/components/app/details/triggerView/PipelineConfigDiff/PipelineConfigDiffStatusTile.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DeploymentWithConfigType, Progressing, SelectPicker, Tooltip } from '@devtron-labs/devtron-fe-common-lib' import { ReactComponent as ICWarning } from '@Icons/ic-warning.svg' diff --git a/src/components/app/details/triggerView/PipelineConfigDiff/index.ts b/src/components/app/details/triggerView/PipelineConfigDiff/index.ts index 480764ac1b..ac6fbd21b5 100644 --- a/src/components/app/details/triggerView/PipelineConfigDiff/index.ts +++ b/src/components/app/details/triggerView/PipelineConfigDiff/index.ts @@ -1,2 +1,18 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 * from './PipelineConfigDiff' export * from './usePipelineDeploymentConfig' diff --git a/src/components/app/details/triggerView/PipelineConfigDiff/types.ts b/src/components/app/details/triggerView/PipelineConfigDiff/types.ts index e6db1f7833..4fb2c280ff 100644 --- a/src/components/app/details/triggerView/PipelineConfigDiff/types.ts +++ b/src/components/app/details/triggerView/PipelineConfigDiff/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DeploymentConfigDiffProps, DeploymentWithConfigType, diff --git a/src/components/app/details/triggerView/PipelineConfigDiff/usePipelineDeploymentConfig.ts b/src/components/app/details/triggerView/PipelineConfigDiff/usePipelineDeploymentConfig.ts index 7d68b3e24e..25ae34b600 100644 --- a/src/components/app/details/triggerView/PipelineConfigDiff/usePipelineDeploymentConfig.ts +++ b/src/components/app/details/triggerView/PipelineConfigDiff/usePipelineDeploymentConfig.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useEffect, useMemo, useState } from 'react' import { useLocation } from 'react-router-dom' diff --git a/src/components/app/details/triggerView/PipelineConfigDiff/utils.tsx b/src/components/app/details/triggerView/PipelineConfigDiff/utils.tsx index b2a6ef3e0e..34ea927e42 100644 --- a/src/components/app/details/triggerView/PipelineConfigDiff/utils.tsx +++ b/src/components/app/details/triggerView/PipelineConfigDiff/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { OptionsOrGroups, GroupBase } from 'react-select' import { diff --git a/src/components/app/details/triggerView/WebhookReceivedPayloadModal.tsx b/src/components/app/details/triggerView/WebhookReceivedPayloadModal.tsx index 988d19e5d8..7f81aacf4e 100644 --- a/src/components/app/details/triggerView/WebhookReceivedPayloadModal.tsx +++ b/src/components/app/details/triggerView/WebhookReceivedPayloadModal.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { URLS } from '@Config/routes' import { Button, diff --git a/src/components/app/details/utils.tsx b/src/components/app/details/utils.tsx index 2978d79361..ba755776dc 100644 --- a/src/components/app/details/utils.tsx +++ b/src/components/app/details/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DynamicDataTableRowDataType, DynamicDataTableRowType, diff --git a/src/components/app/list-new/AppList.tsx b/src/components/app/list-new/AppList.tsx index 46a989e652..0533549b5e 100644 --- a/src/components/app/list-new/AppList.tsx +++ b/src/components/app/list-new/AppList.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + /* eslint-disable jsx-a11y/anchor-is-valid */ /* * Copyright (c) 2024. Devtron Inc. diff --git a/src/components/app/list-new/AppListFilters.tsx b/src/components/app/list-new/AppListFilters.tsx index 90fb158ae2..f5e9b30d36 100644 --- a/src/components/app/list-new/AppListFilters.tsx +++ b/src/components/app/list-new/AppListFilters.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { AppListConstants, ComponentSizeType, diff --git a/src/components/app/list/constants.tsx b/src/components/app/list/constants.tsx index 02408be0b8..44cf1a4250 100644 --- a/src/components/app/list/constants.tsx +++ b/src/components/app/list/constants.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DevtronAppExpandedState } from './types' export const INITIAL_EXPANDED_STATE: DevtronAppExpandedState = { diff --git a/src/components/bulkEdits/constants.ts b/src/components/bulkEdits/constants.ts index bd3c15cba3..78fe9239bf 100644 --- a/src/components/bulkEdits/constants.ts +++ b/src/components/bulkEdits/constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 enum OutputObjectTabs { OUTPUT = 'Output', IMPACTED_OBJECTS = 'Impacted objects', diff --git a/src/components/cdPipeline/DeleteCDNode.tsx b/src/components/cdPipeline/DeleteCDNode.tsx index 1638a77a1e..de88484c6d 100644 --- a/src/components/cdPipeline/DeleteCDNode.tsx +++ b/src/components/cdPipeline/DeleteCDNode.tsx @@ -89,7 +89,7 @@ const DeleteCDNode = ({ isLoading, }, }} - customInputConfig={{ + confirmationConfig={{ identifier: 'delete-cd-node-input', confirmationKeyword: deleteTitleName, }} diff --git a/src/components/ciConfig/utils.tsx b/src/components/ciConfig/utils.tsx index 36de4d2790..8bf6c9faa6 100644 --- a/src/components/ciConfig/utils.tsx +++ b/src/components/ciConfig/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { getGitProviderIcon } from '@Components/common' import { MaterialOptionType } from './types' diff --git a/src/components/common/DynamicTabs/DynamicTabsSelect.tsx b/src/components/common/DynamicTabs/DynamicTabsSelect.tsx index acfb7741dc..11ec16e9f0 100644 --- a/src/components/common/DynamicTabs/DynamicTabsSelect.tsx +++ b/src/components/common/DynamicTabs/DynamicTabsSelect.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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, ButtonStyleType, diff --git a/src/components/common/DynamicTabs/constants.ts b/src/components/common/DynamicTabs/constants.ts index 9b12662a9f..bfa56a0d24 100644 --- a/src/components/common/DynamicTabs/constants.ts +++ b/src/components/common/DynamicTabs/constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 FALLBACK_TAB = 1 export const TAB_DATA_LOCAL_STORAGE_KEY = 'persisted-tabs-data' diff --git a/src/components/common/ExportToCsv/types.ts b/src/components/common/ExportToCsv/types.ts index 13f74b0dd3..28f7ab00ae 100644 --- a/src/components/common/ExportToCsv/types.ts +++ b/src/components/common/ExportToCsv/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { FILE_NAMES } from './constants' export interface ExportToCsvProps { diff --git a/src/components/common/ExportToCsv/utils.ts b/src/components/common/ExportToCsv/utils.ts index 36e26572ed..8c58e18388 100644 --- a/src/components/common/ExportToCsv/utils.ts +++ b/src/components/common/ExportToCsv/utils.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ExportConfigurationProps } from './types' export const getDefaultValueFromConfiguration = ( diff --git a/src/components/common/GitTabs/constants.ts b/src/components/common/GitTabs/constants.ts index b7bf17de22..f12304eee5 100644 --- a/src/components/common/GitTabs/constants.ts +++ b/src/components/common/GitTabs/constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + /* * Copyright (c) 2024 Devtron Inc. * All rights reserved. diff --git a/src/components/common/GitTabs/types.ts b/src/components/common/GitTabs/types.ts index 4d6bcd381e..63bf53358d 100644 --- a/src/components/common/GitTabs/types.ts +++ b/src/components/common/GitTabs/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + /* * Copyright (c) 2024 Devtron Inc. * All rights reserved. diff --git a/src/components/common/GitTabs/utils.tsx b/src/components/common/GitTabs/utils.tsx index d33b15df50..cacf244406 100644 --- a/src/components/common/GitTabs/utils.tsx +++ b/src/components/common/GitTabs/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + /* * Copyright (c) 2024 Devtron Inc. * All rights reserved. diff --git a/src/components/common/helpers/GitInfoMaterialCard/ReceivedWebhookRedirectButton.tsx b/src/components/common/helpers/GitInfoMaterialCard/ReceivedWebhookRedirectButton.tsx index 54b20aa9ec..05934bcd37 100644 --- a/src/components/common/helpers/GitInfoMaterialCard/ReceivedWebhookRedirectButton.tsx +++ b/src/components/common/helpers/GitInfoMaterialCard/ReceivedWebhookRedirectButton.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { CI_MATERIAL_EMPTY_STATE_MESSAGING } from '@Components/app/details/triggerView/Constants' import { URLS } from '@Config/routes' import { Button, ButtonComponentType, ButtonVariantType, noop } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/components/common/helpers/GitInfoMaterialCard/types.ts b/src/components/common/helpers/GitInfoMaterialCard/types.ts index 07383514e2..7a0530cadf 100644 --- a/src/components/common/helpers/GitInfoMaterialCard/types.ts +++ b/src/components/common/helpers/GitInfoMaterialCard/types.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { CIMaterialProps, RuntimeParamsErrorState, TriggerViewState } from '@Components/app/details/triggerView/types' import { CIMaterialType } from '@devtron-labs/devtron-fe-common-lib' import React from 'react' diff --git a/src/components/notifications/AddConfigurationButton.tsx b/src/components/notifications/AddConfigurationButton.tsx index c8bb585897..7e6e0a5250 100644 --- a/src/components/notifications/AddConfigurationButton.tsx +++ b/src/components/notifications/AddConfigurationButton.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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, ButtonVariantType, ComponentSizeType, useSearchString } from '@devtron-labs/devtron-fe-common-lib' import { useHistory } from 'react-router-dom' import { ReactComponent as Add } from '@Icons/ic-add.svg' diff --git a/src/components/notifications/ConfigTableRowActionButton.tsx b/src/components/notifications/ConfigTableRowActionButton.tsx index 582077edb7..f00193f3ad 100644 --- a/src/components/notifications/ConfigTableRowActionButton.tsx +++ b/src/components/notifications/ConfigTableRowActionButton.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Trash } from '@Components/common' import { ReactComponent as Edit } from '@Icons/ic-pencil.svg' import { Button, ButtonStyleType, ButtonVariantType, ComponentSizeType } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/components/notifications/ConfigurationDrawerModal.tsx b/src/components/notifications/ConfigurationDrawerModal.tsx index 7da4b34661..7504fb01ad 100644 --- a/src/components/notifications/ConfigurationDrawerModal.tsx +++ b/src/components/notifications/ConfigurationDrawerModal.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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, ButtonStyleType, diff --git a/src/components/notifications/ConfigurationTables.tsx b/src/components/notifications/ConfigurationTables.tsx index 6bb01d96d5..7ea04ce181 100644 --- a/src/components/notifications/ConfigurationTables.tsx +++ b/src/components/notifications/ConfigurationTables.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Switch, Route, useRouteMatch } from 'react-router-dom' import { DeleteComponentsName } from '@Config/constantMessaging' import { showError } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/components/notifications/ConfigurationTabsSwitcher.tsx b/src/components/notifications/ConfigurationTabsSwitcher.tsx index fee8a0edb4..571d8b11b5 100644 --- a/src/components/notifications/ConfigurationTabsSwitcher.tsx +++ b/src/components/notifications/ConfigurationTabsSwitcher.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useHistory } from 'react-router-dom' import { useSearchString } from '@devtron-labs/devtron-fe-common-lib' import { getConfigurationTabTextWithIcon } from './notifications.util' diff --git a/src/components/notifications/DefaultCheckbox.tsx b/src/components/notifications/DefaultCheckbox.tsx index 4c702fcdc9..6bad8107f5 100644 --- a/src/components/notifications/DefaultCheckbox.tsx +++ b/src/components/notifications/DefaultCheckbox.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Checkbox, CHECKBOX_VALUE } from '@devtron-labs/devtron-fe-common-lib' import { DefaultCheckboxProps } from './types' diff --git a/src/components/notifications/EmptyConfigurationView.tsx b/src/components/notifications/EmptyConfigurationView.tsx index 0b7d2b89ff..7a727f4389 100644 --- a/src/components/notifications/EmptyConfigurationView.tsx +++ b/src/components/notifications/EmptyConfigurationView.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { GenericEmptyState } from '@devtron-labs/devtron-fe-common-lib' import { EmptyConfigurationSubTitle } from './constants' import { EmptyConfigurationViewProps } from './types' diff --git a/src/components/notifications/SESConfigurationTable.tsx b/src/components/notifications/SESConfigurationTable.tsx index fc1a513da1..4e410b2e0c 100644 --- a/src/components/notifications/SESConfigurationTable.tsx +++ b/src/components/notifications/SESConfigurationTable.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DeleteComponentsName } from '@Config/constantMessaging' import { useSearchString } from '@devtron-labs/devtron-fe-common-lib' import { useHistory } from 'react-router-dom' diff --git a/src/components/notifications/SMTPConfigurationTable.tsx b/src/components/notifications/SMTPConfigurationTable.tsx index 2d10ae14b7..d70bde55fc 100644 --- a/src/components/notifications/SMTPConfigurationTable.tsx +++ b/src/components/notifications/SMTPConfigurationTable.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DeleteComponentsName } from '@Config/constantMessaging' import { noop, useSearchString } from '@devtron-labs/devtron-fe-common-lib' import { useHistory } from 'react-router-dom' diff --git a/src/components/notifications/SlackConfigModal.tsx b/src/components/notifications/SlackConfigModal.tsx index 23fdd617af..550793cffb 100644 --- a/src/components/notifications/SlackConfigModal.tsx +++ b/src/components/notifications/SlackConfigModal.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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, { useState, useEffect, useRef } from 'react' import { showError, diff --git a/src/components/notifications/SlackConfigurationTable.tsx b/src/components/notifications/SlackConfigurationTable.tsx index aa6b190a49..1cd68eefe4 100644 --- a/src/components/notifications/SlackConfigurationTable.tsx +++ b/src/components/notifications/SlackConfigurationTable.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DeleteComponentsName } from '@Config/constantMessaging' import { useSearchString } from '@devtron-labs/devtron-fe-common-lib' import { useHistory } from 'react-router-dom' diff --git a/src/components/notifications/WebhookConfigDynamicDataTable.tsx b/src/components/notifications/WebhookConfigDynamicDataTable.tsx index b6793e26e7..a52f863411 100644 --- a/src/components/notifications/WebhookConfigDynamicDataTable.tsx +++ b/src/components/notifications/WebhookConfigDynamicDataTable.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DynamicDataTable } from '@devtron-labs/devtron-fe-common-lib' import { VariableDataTableActionType } from '@Components/CIPipelineN/VariableDataTable/types' import { getEmptyVariableDataRow, getTableHeaders } from './notifications.util' diff --git a/src/components/notifications/WebhookConfigurationTable.tsx b/src/components/notifications/WebhookConfigurationTable.tsx index d85aa4d68e..8defcf1501 100644 --- a/src/components/notifications/WebhookConfigurationTable.tsx +++ b/src/components/notifications/WebhookConfigurationTable.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DeleteComponentsName } from '@Config/constantMessaging' import { noop, useSearchString } from '@devtron-labs/devtron-fe-common-lib' import { useHistory } from 'react-router-dom' diff --git a/src/components/notifications/constants.ts b/src/components/notifications/constants.ts index 79bd225b4e..f52e27c2c7 100644 --- a/src/components/notifications/constants.ts +++ b/src/components/notifications/constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + // ------------ Configuration Constants ------------ import { SlackFormType } from './types' diff --git a/src/components/security/AddCVEPolicy/ExposureList.tsx b/src/components/security/AddCVEPolicy/ExposureList.tsx index b682024d78..38eee93508 100644 --- a/src/components/security/AddCVEPolicy/ExposureList.tsx +++ b/src/components/security/AddCVEPolicy/ExposureList.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { DEFAULT_BASE_PAGE_SIZE, GenericFilterEmptyState, diff --git a/src/components/security/AddCVEPolicy/index.tsx b/src/components/security/AddCVEPolicy/index.tsx index 3496657d56..f285541635 100644 --- a/src/components/security/AddCVEPolicy/index.tsx +++ b/src/components/security/AddCVEPolicy/index.tsx @@ -1 +1,17 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { default as VulnerabilityExposure } from './VulnerabilityExposure' diff --git a/src/components/security/SecurityScansTab/SecurityScansTab.tsx b/src/components/security/SecurityScansTab/SecurityScansTab.tsx index de719beffa..5f9d7daf00 100644 --- a/src/components/security/SecurityScansTab/SecurityScansTab.tsx +++ b/src/components/security/SecurityScansTab/SecurityScansTab.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 dayjs from 'dayjs' import { ComponentSizeType, diff --git a/src/components/security/SecurityScansTab/constants.tsx b/src/components/security/SecurityScansTab/constants.tsx index aa0cae292a..4e0caf55e8 100644 --- a/src/components/security/SecurityScansTab/constants.tsx +++ b/src/components/security/SecurityScansTab/constants.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ScanDetailsType, SearchType, SearchTypeOptionType } from './types' export const INITIAL_SCAN_DETAILS: ScanDetailsType = { diff --git a/src/components/security/SecurityScansTab/types.tsx b/src/components/security/SecurityScansTab/types.tsx index eee002e0de..bc729f394e 100644 --- a/src/components/security/SecurityScansTab/types.tsx +++ b/src/components/security/SecurityScansTab/types.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { SortingOrder } from '@devtron-labs/devtron-fe-common-lib' export enum SecurityScansTabMultiFilterKeys { diff --git a/src/components/security/SecurityScansTab/utils.tsx b/src/components/security/SecurityScansTab/utils.tsx index dd6a9bde52..f365cd9f84 100644 --- a/src/components/security/SecurityScansTab/utils.tsx +++ b/src/components/security/SecurityScansTab/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { Severity } from '@devtron-labs/devtron-fe-common-lib' import { SearchType, SecurityScansTabMultiFilterKeys, SecurityScansTabSingleFilterKeys, SeverityMapping } from './types' diff --git a/src/components/v2/appDetails/NodeDetailComponentWrapper.tsx b/src/components/v2/appDetails/NodeDetailComponentWrapper.tsx index 16883e9b92..1cb3d69952 100644 --- a/src/components/v2/appDetails/NodeDetailComponentWrapper.tsx +++ b/src/components/v2/appDetails/NodeDetailComponentWrapper.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { useEffect } from 'react' import { useLocation, useParams } from 'react-router-dom' import { noop } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/components/v2/appDetails/constants.ts b/src/components/v2/appDetails/constants.ts index 7f7849744f..0c65f38be0 100644 --- a/src/components/v2/appDetails/constants.ts +++ b/src/components/v2/appDetails/constants.ts @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 enum ApplicationsGAEvents { REFRESH_DEVTRON_APP_RESOURCE_TREE = 'REFRESH_DEVTRON_APP_RESOURCE_TREE', REFRESH_HELM_APP_RESOURCE_TREE = 'REFRESH_HELM_APP_RESOURCE_TREE', diff --git a/src/components/v2/appDetails/k8Resource/nodeDetail/DeleteEphemeralButton.tsx b/src/components/v2/appDetails/k8Resource/nodeDetail/DeleteEphemeralButton.tsx index 136f878ba7..90dba9107e 100644 --- a/src/components/v2/appDetails/k8Resource/nodeDetail/DeleteEphemeralButton.tsx +++ b/src/components/v2/appDetails/k8Resource/nodeDetail/DeleteEphemeralButton.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ToastManager, ToastVariantType, showError, IndexStore } from '@devtron-labs/devtron-fe-common-lib' import { ReactComponent as Close } from '@Icons/ic-cross.svg' import { useParams } from 'react-router-dom' diff --git a/src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetail.component.tsx b/src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetail.component.tsx index bf265461cd..779fe795ea 100644 --- a/src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetail.component.tsx +++ b/src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetail.component.tsx @@ -31,7 +31,6 @@ import { ToastManager, ToastVariantType, OptionsBase, - noop } from '@devtron-labs/devtron-fe-common-lib' import { ReactComponent as ICArrowsLeftRight } from '@Icons/ic-arrows-left-right.svg' import { ReactComponent as ICPencil } from '@Icons/ic-pencil.svg' @@ -40,7 +39,6 @@ import EventsComponent from './NodeDetailTabs/Events.component' import LogsComponent from './NodeDetailTabs/Logs.component' import ManifestComponent from './NodeDetailTabs/Manifest.component' import TerminalComponent from './NodeDetailTabs/Terminal.component' -import SummaryComponent from './NodeDetailTabs/Summary.component' import { NodeDetailTab, ParamsType } from './nodeDetail.type' import { AppType, @@ -586,12 +584,6 @@ const NodeDetailComponent = ({ />

- {/* NOTE: this seems like an obsolete component? since it can't be reached through UI */} - {!isResourceBrowserView && ( - - - - )} {!location.pathname.endsWith('/terminal') && ( )} diff --git a/src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetailTabs/Summary.component.tsx b/src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetailTabs/Summary.component.tsx deleted file mode 100644 index d21670454a..0000000000 --- a/src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetailTabs/Summary.component.tsx +++ /dev/null @@ -1,214 +0,0 @@ -/* - * Copyright (c) 2024. Devtron Inc. - * - * 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 { useState, useEffect } from 'react' -import { useSearchString } from '@devtron-labs/devtron-fe-common-lib' -import { useParams, useRouteMatch } from 'react-router-dom' -import { NodeDetailTab } from '../nodeDetail.type' - -const SummaryComponent = ({ selectedTab }) => { - const { queryParams, searchParams } = useSearchString() - // const node = searchParams?.kind && nodes?.nodes[searchParams.kind]?.has(nodeName) ? nodes.nodes[searchParams.kind].get(nodeName) : null - const [manifest, setManifest] = useState(null) - const [isManifestLoading, setManifestLoading] = useState(true) - const { path, url } = useRouteMatch() - const params = useParams<{ actionName: string; podName: string; nodeType: string }>() - - useEffect(() => { - selectedTab(NodeDetailTab.SUMMARY) - }, [params.podName]) - - // useEffect(() => { - // selectedTab(NodeDetailTabs.SUMMARY) - // }, []) - - // useEffect(() => { - // async function getManifest() { - // if (!appName || !nodeName || !environmentName) return; - // try { - // setManifestLoading(true); - // const response = await getNodeStatus({ ...node, appName: `${appName}-${environmentName}` }); - // let manifestJSON = YAMLJSParser.parse(response.result.manifest); - // setManifest(manifestJSON); - // } catch (error) { - // } - // finally { - // setManifestLoading(false); - // } - // } - - // getManifest(); - - // }, [appName, environmentName, nodeName]) - - // if (isManifestLoading) { - // return
- // - //
- // } - - return ( -
-
-
-
Configuration
-
-
Priority
-
{manifest?.spec.priority}
-
-
-
Node
-
- {manifest?.spec.nodeName} -
-
-
-
Selector
-
- {manifest?.spec?.selector} -
-
-
-
-
Status
-
-
QoS
-
{manifest?.status?.qosClass}
-
-
-
Phase
-
{manifest?.status?.phase}
-
-
-
Pod IP
-
{manifest?.status?.podIP}
-
-
-
Host IP
-
{manifest?.status?.hostIP}
-
-
-
- -
-
Pod Conditions
-
-
-
Type
-
Status
-
Last Transition Time
-
Message
-
Reason
-
- {manifest?.status.conditions.map((condition) => { - return ( -
-
{condition.type}
-
{condition?.status}
-
{condition.lastTransitionTime}
-
{condition?.message}
-
{condition?.reason}
-
- ) - })} -
-
- - {manifest?.spec.containers?.map((container) => { - return ( -
-
{container.name}
-
-
-
Image
-
{container.image}
-
-
-
Image ID
-
{container.image}
-
-
-
Command
-
- [ - {container?.command?.map((cmd, index) => { - return ( - - {cmd} - {index < container?.command?.length - 1 ? ',' : ''} - - ) - })} - ] -
-
-
-
-
Volume Mounts
-
-
Name
-
MountPath
-
-
- {container.volumeMounts.map((volume) => { - return ( -
-
{volume.name}
-
{volume.mountPath}
-
- ) - })} -
-
- ) - })} -
- ) -} - -export default SummaryComponent diff --git a/src/components/v2/appDetails/k8Resource/utils.tsx b/src/components/v2/appDetails/k8Resource/utils.tsx index 8017bc1706..2a1c1e78cf 100644 --- a/src/components/v2/appDetails/k8Resource/utils.tsx +++ b/src/components/v2/appDetails/k8Resource/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { AppType, Node, NodeFilters } from '@devtron-labs/devtron-fe-common-lib' import { ApplicationsGAEvents } from '../constants' diff --git a/src/components/v2/appDetails/sourceInfo/utils.tsx b/src/components/v2/appDetails/sourceInfo/utils.tsx index c45a38d01c..af058bfa35 100644 --- a/src/components/v2/appDetails/sourceInfo/utils.tsx +++ b/src/components/v2/appDetails/sourceInfo/utils.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 { ReactComponent as RightArrow } from '@Icons/ic-arrow-right.svg' export const getEnvironmentName = ( diff --git a/src/css/application.scss b/src/css/application.scss index c24ae7cf6b..bc68b9cb88 100644 --- a/src/css/application.scss +++ b/src/css/application.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + // @TODO: Patternfly styles files need to be removed in future @import './colorPalette.scss'; @import './patternfly.scss'; diff --git a/src/css/base.scss b/src/css/base.scss index ea3c1d3f30..f46f2d8fbc 100644 --- a/src/css/base.scss +++ b/src/css/base.scss @@ -825,6 +825,7 @@ button.anchor { &.f-switchedtoactiveservice, &.f-containercreating, &.f-pending, + &.f-podinitializing, &[class*='f-init__']:not(.f-init__crashloopbackoff) { color: var(--O500); } @@ -840,6 +841,7 @@ button.anchor { &.f-terminating, &.f-crashloopbackoff, &.f-init__crashloopbackoff, + &.f-createcontainerconfigerror, &.f-deleted, &.f-not__ready, &.f-evicted { @@ -2116,6 +2118,11 @@ button.anchor { &--white { border: 1px solid var(--white); } + + &--left { + border: none; + border-left: 1px solid var(--N200); + } } .dc__border-dashed { @@ -5295,6 +5302,14 @@ details[open] { } } + &--gap-8 { + gap: 16px; + + & > :not(:first-child)::before { + left: -8px; + } + } + &--vertical { gap: 40px; align-items: unset; diff --git a/src/css/forms.scss b/src/css/forms.scss index f66f8dccbe..1627ac315c 100644 --- a/src/css/forms.scss +++ b/src/css/forms.scss @@ -312,6 +312,14 @@ p.sentence-case:first-letter { line-height: 16px; } +.form__checkbox__root { + &--gap-8 { + .form__checkbox-label { + margin-left: 8px; + } + } +} + .form__checkbox-check { display: none; } diff --git a/src/css/iconTheming.scss b/src/css/iconTheming.scss index 23a3b5dc33..755738c97c 100644 --- a/src/css/iconTheming.scss +++ b/src/css/iconTheming.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + // This file is a hack that should be removed once the icons are cleaned up $svg-stroke-hex-to-var: ( diff --git a/src/css/normalize.scss b/src/css/normalize.scss index ed4244f6d2..5974f1f93b 100644 --- a/src/css/normalize.scss +++ b/src/css/normalize.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + summary { list-style: none; } diff --git a/src/css/themeUtils.scss b/src/css/themeUtils.scss index 9869263d4a..927ad20e7b 100644 --- a/src/css/themeUtils.scss +++ b/src/css/themeUtils.scss @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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. + */ + .bg { &__primary { background: var(--bg-primary); diff --git a/src/stories/Button.stories.tsx b/src/stories/Button.stories.tsx index 6805c0cd4a..57c32b6bcf 100644 --- a/src/stories/Button.stories.tsx +++ b/src/stories/Button.stories.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 type { Meta, StoryObj } from '@storybook/react' import { action } from '@storybook/addon-actions' import { diff --git a/src/stories/SelectPicker.stories.tsx b/src/stories/SelectPicker.stories.tsx index 6a62bfda6e..7bc314d267 100644 --- a/src/stories/SelectPicker.stories.tsx +++ b/src/stories/SelectPicker.stories.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 type { Meta, StoryObj } from '@storybook/react' import { action } from '@storybook/addon-actions' import { diff --git a/src/stories/ToastManager.stories.tsx b/src/stories/ToastManager.stories.tsx index 005badeed0..95ab26147f 100644 --- a/src/stories/ToastManager.stories.tsx +++ b/src/stories/ToastManager.stories.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 type { Meta, StoryObj } from '@storybook/react' import { action } from '@storybook/addon-actions' import { Button, ToastManager, ToastVariantType } from '@devtron-labs/devtron-fe-common-lib' diff --git a/src/stories/useForm.stories.tsx b/src/stories/useForm.stories.tsx index 992f342e7d..bc5ca61c85 100644 --- a/src/stories/useForm.stories.tsx +++ b/src/stories/useForm.stories.tsx @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2024. Devtron Inc. + * + * 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 type { Meta, StoryObj } from '@storybook/react' import { action } from '@storybook/addon-actions' diff --git a/yarn.lock b/yarn.lock index d0eb6c2da5..3e2d4dfc66 100644 --- a/yarn.lock +++ b/yarn.lock @@ -937,9 +937,9 @@ regenerator-runtime "^0.14.0" "@babel/runtime@^7.2.0": - version "7.26.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.26.0.tgz#8600c2f595f277c60815256418b85356a65173c1" - integrity sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw== + version "7.26.7" + resolved "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.7.tgz" + integrity sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ== dependencies: regenerator-runtime "^0.14.0" @@ -981,10 +981,10 @@ dependencies: "@jridgewell/trace-mapping" "0.3.9" -"@devtron-labs/devtron-fe-common-lib@1.5.9": - version "1.5.9" - resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.5.9.tgz#464674d96c028a4c9ea22d5b83d78dae14c9fd83" - integrity sha512-bYehEzttGlWqTxIxyqMM4596H6QQCaQ6gi/t4tmdxwhGuTI/pwzyMG1ywYufuSiZDb4b/WUHdhddfwB+8Aq+OQ== +"@devtron-labs/devtron-fe-common-lib@1.5.11": + version "1.5.11" + resolved "https://registry.yarnpkg.com/@devtron-labs/devtron-fe-common-lib/-/devtron-fe-common-lib-1.5.11.tgz#80b8fd9e87dc458f84a0789cfe3e741b150aa044" + integrity sha512-TpxebttA3Z+SlHvleXVzSV7vDeyGNpOG90zWoqGT0Q0CJc2W0dEHhzSf1DHsO69efa7AZ4oVamocTraBjaCxaQ== dependencies: "@types/react-dates" "^21.8.6" ansi_up "^5.2.1" @@ -1011,7 +1011,7 @@ "@emotion/babel-plugin@^11.11.0", "@emotion/babel-plugin@^11.13.5": version "11.13.5" - resolved "https://registry.yarnpkg.com/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz#eab8d65dbded74e0ecfd28dc218e75607c4e7bc0" + resolved "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.13.5.tgz" integrity sha512-pxHCpT2ex+0q+HH91/zsdHkw/lXd468DIN2zvfvLtPKLLMo6gQj7oLObq8PhkrxOZb/gGCq03S3Z7PDhS8pduQ== dependencies: "@babel/helper-module-imports" "^7.16.7" @@ -1039,7 +1039,7 @@ "@emotion/cache@^11.13.5": version "11.14.0" - resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.14.0.tgz#ee44b26986eeb93c8be82bb92f1f7a9b21b2ed76" + resolved "https://registry.npmjs.org/@emotion/cache/-/cache-11.14.0.tgz" integrity sha512-L/B1lc/TViYk4DcpGxtAVbx0ZyiKM5ktoIyafGkH6zg/tj+mA+NE//aPYKG0k8kCHSHVJrpLpcAlOBEXQ3SavA== dependencies: "@emotion/memoize" "^0.9.0" @@ -1050,7 +1050,7 @@ "@emotion/css@^11.11.2": version "11.13.5" - resolved "https://registry.yarnpkg.com/@emotion/css/-/css-11.13.5.tgz#db2d3be6780293640c082848e728a50544b9dfa4" + resolved "https://registry.npmjs.org/@emotion/css/-/css-11.13.5.tgz" integrity sha512-wQdD0Xhkn3Qy2VNcIzbLP9MR8TafI0MJb7BEAXKp+w4+XqErksWR4OXomuDzPsN4InLdGhVe6EYcn2ZIUCpB8w== dependencies: "@emotion/babel-plugin" "^11.13.5" @@ -1066,14 +1066,14 @@ "@emotion/is-prop-valid@^0.8.2": version "0.8.8" - resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz#db28b1c4368a259b60a97311d6a952d4fd01ac1a" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-0.8.8.tgz" integrity sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA== dependencies: "@emotion/memoize" "0.7.4" "@emotion/memoize@0.7.4": version "0.7.4" - resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.7.4.tgz#19bf0f5af19149111c40d98bb0cf82119f5d9eeb" + resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz" integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw== "@emotion/memoize@^0.9.0": @@ -1543,7 +1543,7 @@ "@motionone/animation@^10.12.0": version "10.18.0" - resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.18.0.tgz#868d00b447191816d5d5cf24b1cafa144017922b" + resolved "https://registry.npmjs.org/@motionone/animation/-/animation-10.18.0.tgz" integrity sha512-9z2p5GFGCm0gBsZbi8rVMOAJCtw1WqBTIPw3ozk06gDvZInBPIsQcHgYogEJ4yuHJ+akuW8g1SEIOpTOvYs8hw== dependencies: "@motionone/easing" "^10.18.0" @@ -1553,7 +1553,7 @@ "@motionone/dom@10.12.0": version "10.12.0" - resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.12.0.tgz#ae30827fd53219efca4e1150a5ff2165c28351ed" + resolved "https://registry.npmjs.org/@motionone/dom/-/dom-10.12.0.tgz" integrity sha512-UdPTtLMAktHiqV0atOczNYyDd/d8Cf5fFsd1tua03PqTwwCe/6lwhLSQ8a7TbnQ5SN0gm44N1slBfj+ORIhrqw== dependencies: "@motionone/animation" "^10.12.0" @@ -1565,7 +1565,7 @@ "@motionone/easing@^10.18.0": version "10.18.0" - resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.18.0.tgz#7b82f6010dfee3a1bb0ee83abfbaff6edae0c708" + resolved "https://registry.npmjs.org/@motionone/easing/-/easing-10.18.0.tgz" integrity sha512-VcjByo7XpdLS4o9T8t99JtgxkdMcNWD3yHU/n6CLEz3bkmKDRZyYQ/wmSf6daum8ZXqfUAgFeCZSpJZIMxaCzg== dependencies: "@motionone/utils" "^10.18.0" @@ -1573,7 +1573,7 @@ "@motionone/generators@^10.12.0": version "10.18.0" - resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.18.0.tgz#fe09ab5cfa0fb9a8884097feb7eb60abeb600762" + resolved "https://registry.npmjs.org/@motionone/generators/-/generators-10.18.0.tgz" integrity sha512-+qfkC2DtkDj4tHPu+AFKVfR/C30O1vYdvsGYaR13W/1cczPrrcjdvYCj0VLFuRMN+lP1xvpNZHCRNM4fBzn1jg== dependencies: "@motionone/types" "^10.17.1" @@ -1582,12 +1582,12 @@ "@motionone/types@^10.12.0", "@motionone/types@^10.17.1": version "10.17.1" - resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.17.1.tgz#cf487badbbdc9da0c2cb86ffc1e5d11147c6e6fb" + resolved "https://registry.npmjs.org/@motionone/types/-/types-10.17.1.tgz" integrity sha512-KaC4kgiODDz8hswCrS0btrVrzyU2CSQKO7Ps90ibBVSQmjkrt2teqta6/sOG59v7+dPnKMAg13jyqtMKV2yJ7A== "@motionone/utils@^10.12.0", "@motionone/utils@^10.18.0": version "10.18.0" - resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.18.0.tgz#a59ff8932ed9009624bca07c56b28ef2bb2f885e" + resolved "https://registry.npmjs.org/@motionone/utils/-/utils-10.18.0.tgz" integrity sha512-3XVF7sgyTSI2KWvTf6uLlBJ5iAgRgmvp3bpuOiQJvInd4nZ19ET8lX5unn30SlmRH7hXbBbH+Gxd0m0klJ3Xtw== dependencies: "@motionone/types" "^10.17.1" @@ -1719,100 +1719,100 @@ estree-walker "^2.0.2" picomatch "^2.3.1" -"@rollup/rollup-android-arm-eabi@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.31.0.tgz#d4dd60da0075a6ce9a6c76d71b8204f3e1822285" - integrity sha512-9NrR4033uCbUBRgvLcBrJofa2KY9DzxL2UKZ1/4xA/mnTNyhZCWBuD8X3tPm1n4KxcgaraOYgrFKSgwjASfmlA== - -"@rollup/rollup-android-arm64@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.31.0.tgz#25c4d33259a7a2ccd2f52a5ffcc0bb3ab3f0729d" - integrity sha512-iBbODqT86YBFHajxxF8ebj2hwKm1k8PTBQSojSt3d1FFt1gN+xf4CowE47iN0vOSdnd+5ierMHBbu/rHc7nq5g== - -"@rollup/rollup-darwin-arm64@4.31.0": - version "4.31.0" - resolved "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.31.0.tgz" - integrity sha512-WHIZfXgVBX30SWuTMhlHPXTyN20AXrLH4TEeH/D0Bolvx9PjgZnn4H677PlSGvU6MKNsjCQJYczkpvBbrBnG6g== - -"@rollup/rollup-darwin-x64@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.31.0.tgz#58ff20b5dacb797d3adca19f02a21c532f9d55bf" - integrity sha512-hrWL7uQacTEF8gdrQAqcDy9xllQ0w0zuL1wk1HV8wKGSGbKPVjVUv/DEwT2+Asabf8Dh/As+IvfdU+H8hhzrQQ== - -"@rollup/rollup-freebsd-arm64@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.31.0.tgz#96ce1a241c591ec3e068f4af765d94eddb24e60c" - integrity sha512-S2oCsZ4hJviG1QjPY1h6sVJLBI6ekBeAEssYKad1soRFv3SocsQCzX6cwnk6fID6UQQACTjeIMB+hyYrFacRew== - -"@rollup/rollup-freebsd-x64@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.31.0.tgz#e59e7ede505be41f0b4311b0b943f8eb44938467" - integrity sha512-pCANqpynRS4Jirn4IKZH4tnm2+2CqCNLKD7gAdEjzdLGbH1iO0zouHz4mxqg0uEMpO030ejJ0aA6e1PJo2xrPA== - -"@rollup/rollup-linux-arm-gnueabihf@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.31.0.tgz#e455ca6e4ff35bd46d62201c153352e717000a7b" - integrity sha512-0O8ViX+QcBd3ZmGlcFTnYXZKGbFu09EhgD27tgTdGnkcYXLat4KIsBBQeKLR2xZDCXdIBAlWLkiXE1+rJpCxFw== - -"@rollup/rollup-linux-arm-musleabihf@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.31.0.tgz#bc1a93d807d19e70b1e343a5bfea43723bcd6327" - integrity sha512-w5IzG0wTVv7B0/SwDnMYmbr2uERQp999q8FMkKG1I+j8hpPX2BYFjWe69xbhbP6J9h2gId/7ogesl9hwblFwwg== - -"@rollup/rollup-linux-arm64-gnu@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.31.0.tgz#f38bf843f1dc3d5de680caf31084008846e3efae" - integrity sha512-JyFFshbN5xwy6fulZ8B/8qOqENRmDdEkcIMF0Zz+RsfamEW+Zabl5jAb0IozP/8UKnJ7g2FtZZPEUIAlUSX8cA== - -"@rollup/rollup-linux-arm64-musl@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.31.0.tgz#b3987a96c18b7287129cf735be2dbf83e94d9d05" - integrity sha512-kpQXQ0UPFeMPmPYksiBL9WS/BDiQEjRGMfklVIsA0Sng347H8W2iexch+IEwaR7OVSKtr2ZFxggt11zVIlZ25g== - -"@rollup/rollup-linux-loongarch64-gnu@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.31.0.tgz#0f0324044e71c4f02e9f49e7ec4e347b655b34ee" - integrity sha512-pMlxLjt60iQTzt9iBb3jZphFIl55a70wexvo8p+vVFK+7ifTRookdoXX3bOsRdmfD+OKnMozKO6XM4zR0sHRrQ== - -"@rollup/rollup-linux-powerpc64le-gnu@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.31.0.tgz#809479f27f1fd5b4eecd2aa732132ad952d454ba" - integrity sha512-D7TXT7I/uKEuWiRkEFbed1UUYZwcJDU4vZQdPTcepK7ecPhzKOYk4Er2YR4uHKme4qDeIh6N3XrLfpuM7vzRWQ== - -"@rollup/rollup-linux-riscv64-gnu@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.31.0.tgz#7bc75c4f22db04d3c972f83431739cfa41c6a36e" - integrity sha512-wal2Tc8O5lMBtoePLBYRKj2CImUCJ4UNGJlLwspx7QApYny7K1cUYlzQ/4IGQBLmm+y0RS7dwc3TDO/pmcneTw== - -"@rollup/rollup-linux-s390x-gnu@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.31.0.tgz#cfe8052345c55864d83ae343362cf1912480170e" - integrity sha512-O1o5EUI0+RRMkK9wiTVpk2tyzXdXefHtRTIjBbmFREmNMy7pFeYXCFGbhKFwISA3UOExlo5GGUuuj3oMKdK6JQ== - -"@rollup/rollup-linux-x64-gnu@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.31.0.tgz#c6b048f1e25f3fea5b4bd246232f4d07a159c5a0" - integrity sha512-zSoHl356vKnNxwOWnLd60ixHNPRBglxpv2g7q0Cd3Pmr561gf0HiAcUBRL3S1vPqRC17Zo2CX/9cPkqTIiai1g== - -"@rollup/rollup-linux-x64-musl@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.31.0.tgz#615273ac52d1a201f4de191cbd3389016a9d7d80" - integrity sha512-ypB/HMtcSGhKUQNiFwqgdclWNRrAYDH8iMYH4etw/ZlGwiTVxBz2tDrGRrPlfZu6QjXwtd+C3Zib5pFqID97ZA== - -"@rollup/rollup-win32-arm64-msvc@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.31.0.tgz#32ed85810c1b831c648eca999d68f01255b30691" - integrity sha512-JuhN2xdI/m8Hr+aVO3vspO7OQfUFO6bKLIRTAy0U15vmWjnZDLrEgCZ2s6+scAYaQVpYSh9tZtRijApw9IXyMw== - -"@rollup/rollup-win32-ia32-msvc@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.31.0.tgz#d47effada68bcbfdccd30c4a788d42e4542ff4d3" - integrity sha512-U1xZZXYkvdf5MIWmftU8wrM5PPXzyaY1nGCI4KI4BFfoZxHamsIe+BtnPLIvvPykvQWlVbqUXdLa4aJUuilwLQ== - -"@rollup/rollup-win32-x64-msvc@4.31.0": - version "4.31.0" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.31.0.tgz#7a2d89a82cf0388d60304964217dd7beac6de645" - integrity sha512-ul8rnCsUumNln5YWwz0ted2ZHFhzhRRnkpBZ+YRuHoRAlUji9KChpOUOndY7uykrPEPXVbHLlsdo6v5yXo/TXw== +"@rollup/rollup-android-arm-eabi@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.32.0.tgz#42a8e897c7b656adb4edebda3a8b83a57526452f" + integrity sha512-G2fUQQANtBPsNwiVFg4zKiPQyjVKZCUdQUol53R8E71J7AsheRMV/Yv/nB8giOcOVqP7//eB5xPqieBYZe9bGg== + +"@rollup/rollup-android-arm64@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.32.0.tgz#846a73eef25b18ff94bac1e52acab6a7c7ac22fa" + integrity sha512-qhFwQ+ljoymC+j5lXRv8DlaJYY/+8vyvYmVx074zrLsu5ZGWYsJNLjPPVJJjhZQpyAKUGPydOq9hRLLNvh1s3A== + +"@rollup/rollup-darwin-arm64@4.32.0": + version "4.32.0" + resolved "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.32.0.tgz" + integrity sha512-44n/X3lAlWsEY6vF8CzgCx+LQaoqWGN7TzUfbJDiTIOjJm4+L2Yq+r5a8ytQRGyPqgJDs3Rgyo8eVL7n9iW6AQ== + +"@rollup/rollup-darwin-x64@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.32.0.tgz#dde6ed3e56d0b34477fa56c4a199abe5d4b9846b" + integrity sha512-F9ct0+ZX5Np6+ZDztxiGCIvlCaW87HBdHcozUfsHnj1WCUTBUubAoanhHUfnUHZABlElyRikI0mgcw/qdEm2VQ== + +"@rollup/rollup-freebsd-arm64@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.32.0.tgz#8ad634f462a6b7e338257cf64c7baff99618a08e" + integrity sha512-JpsGxLBB2EFXBsTLHfkZDsXSpSmKD3VxXCgBQtlPcuAqB8TlqtLcbeMhxXQkCDv1avgwNjF8uEIbq5p+Cee0PA== + +"@rollup/rollup-freebsd-x64@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.32.0.tgz#9d4d1dbbafcb0354d52ba6515a43c7511dba8052" + integrity sha512-wegiyBT6rawdpvnD9lmbOpx5Sph+yVZKHbhnSP9MqUEDX08G4UzMU+D87jrazGE7lRSyTRs6NEYHtzfkJ3FjjQ== + +"@rollup/rollup-linux-arm-gnueabihf@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.32.0.tgz#3bd5fcbab92a66e032faef1078915d1dbf27de7a" + integrity sha512-3pA7xecItbgOs1A5H58dDvOUEboG5UfpTq3WzAdF54acBbUM+olDJAPkgj1GRJ4ZqE12DZ9/hNS2QZk166v92A== + +"@rollup/rollup-linux-arm-musleabihf@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.32.0.tgz#a77838b9779931ce4fa01326b585eee130f51e60" + integrity sha512-Y7XUZEVISGyge51QbYyYAEHwpGgmRrAxQXO3siyYo2kmaj72USSG8LtlQQgAtlGfxYiOwu+2BdbPjzEpcOpRmQ== + +"@rollup/rollup-linux-arm64-gnu@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.32.0.tgz#ec1b1901b82d57a20184adb61c725dd8991a0bf0" + integrity sha512-r7/OTF5MqeBrZo5omPXcTnjvv1GsrdH8a8RerARvDFiDwFpDVDnJyByYM/nX+mvks8XXsgPUxkwe/ltaX2VH7w== + +"@rollup/rollup-linux-arm64-musl@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.32.0.tgz#7aa23b45bf489b7204b5a542e857e134742141de" + integrity sha512-HJbifC9vex9NqnlodV2BHVFNuzKL5OnsV2dvTw6e1dpZKkNjPG6WUq+nhEYV6Hv2Bv++BXkwcyoGlXnPrjAKXw== + +"@rollup/rollup-linux-loongarch64-gnu@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.32.0.tgz#7bf0ebd8c5ad08719c3b4786be561d67f95654a7" + integrity sha512-VAEzZTD63YglFlWwRj3taofmkV1V3xhebDXffon7msNz4b14xKsz7utO6F8F4cqt8K/ktTl9rm88yryvDpsfOw== + +"@rollup/rollup-linux-powerpc64le-gnu@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.32.0.tgz#e687dfcaf08124aafaaebecef0cc3986675cb9b6" + integrity sha512-Sts5DST1jXAc9YH/iik1C9QRsLcCoOScf3dfbY5i4kH9RJpKxiTBXqm7qU5O6zTXBTEZry69bGszr3SMgYmMcQ== + +"@rollup/rollup-linux-riscv64-gnu@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.32.0.tgz#19fce2594f9ce73d1cb0748baf8cd90a7bedc237" + integrity sha512-qhlXeV9AqxIyY9/R1h1hBD6eMvQCO34ZmdYvry/K+/MBs6d1nRFLm6BOiITLVI+nFAAB9kUB6sdJRKyVHXnqZw== + +"@rollup/rollup-linux-s390x-gnu@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.32.0.tgz#fd99b335bb65c59beb7d15ae82be0aafa9883c19" + integrity sha512-8ZGN7ExnV0qjXa155Rsfi6H8M4iBBwNLBM9lcVS+4NcSzOFaNqmt7djlox8pN1lWrRPMRRQ8NeDlozIGx3Omsw== + +"@rollup/rollup-linux-x64-gnu@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.32.0.tgz#4e8c697bbaa2e2d7212bd42086746c8275721166" + integrity sha512-VDzNHtLLI5s7xd/VubyS10mq6TxvZBp+4NRWoW+Hi3tgV05RtVm4qK99+dClwTN1McA6PHwob6DEJ6PlXbY83A== + +"@rollup/rollup-linux-x64-musl@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.32.0.tgz#0d2f74bd9cfe0553f20f056760a95b293e849ab2" + integrity sha512-qcb9qYDlkxz9DxJo7SDhWxTWV1gFuwznjbTiov289pASxlfGbaOD54mgbs9+z94VwrXtKTu+2RqwlSTbiOqxGg== + +"@rollup/rollup-win32-arm64-msvc@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.32.0.tgz#6534a09fcdd43103645155cedb5bfa65fbf2c23f" + integrity sha512-pFDdotFDMXW2AXVbfdUEfidPAk/OtwE/Hd4eYMTNVVaCQ6Yl8et0meDaKNL63L44Haxv4UExpv9ydSf3aSayDg== + +"@rollup/rollup-win32-ia32-msvc@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.32.0.tgz#8222ccfecffd63a6b0ddbe417d8d959e4f2b11b3" + integrity sha512-/TG7WfrCAjeRNDvI4+0AAMoHxea/USWhAzf9PVDFHbcqrQ7hMMKp4jZIy4VEjk72AAfN5k4TiSMRXRKf/0akSw== + +"@rollup/rollup-win32-x64-msvc@4.32.0": + version "4.32.0" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.32.0.tgz#1a40b4792c08094b6479c48c90fe7f4b10ec2f54" + integrity sha512-5hqO5S3PTEO2E5VjCePxv40gIgyS2KvO7E7/vvC/NbIW4SIRamkMr1hqj+5Y67fbBWv/bQLB6KelBQmXlyCjWA== "@sentry-internal/feedback@7.119.1": version "7.119.1" @@ -2680,7 +2680,7 @@ "@types/react-dates@^21.8.6": version "21.8.6" - resolved "https://registry.yarnpkg.com/@types/react-dates/-/react-dates-21.8.6.tgz#ec9314b59e9d8e1ad71ccf021a7634e8afd26135" + resolved "https://registry.npmjs.org/@types/react-dates/-/react-dates-21.8.6.tgz" integrity sha512-fDF322SOXAxstapv0/oruiPx9kY4DiiaEHYAVvXdPfQhi/hdaONsA9dFw5JBNPAWz7Niuwk+UUhxPU98h70TjA== dependencies: "@types/react" "*" @@ -2696,7 +2696,7 @@ "@types/react-outside-click-handler@*": version "1.3.4" - resolved "https://registry.yarnpkg.com/@types/react-outside-click-handler/-/react-outside-click-handler-1.3.4.tgz#999e61057a3a23c6dfc9159b28f96378749d6c42" + resolved "https://registry.npmjs.org/@types/react-outside-click-handler/-/react-outside-click-handler-1.3.4.tgz" integrity sha512-kLuYIa9nWk1n0ywJPbVWqOEIRg0mh3vumriCHbz6LUObJw4rXYx9inDm8G579BtnH8vC0wKfrTq5c2y/K/Xzww== dependencies: "@types/react" "*" @@ -3138,7 +3138,7 @@ ansi-styles@^6.0.0: ansi_up@^5.2.1: version "5.2.1" - resolved "https://registry.yarnpkg.com/ansi_up/-/ansi_up-5.2.1.tgz#9437082c7ad4975c15ec57d30a6b55da295bee36" + resolved "https://registry.npmjs.org/ansi_up/-/ansi_up-5.2.1.tgz" integrity sha512-5bz5T/7FRmlxA37zDXhG6cAwlcZtfnmNLDJra66EEIT3kYlw5aPJdbkJEhm59D6kA4Wi5ict6u6IDYHJaQlH+g== anymatch@~3.1.2: @@ -3573,7 +3573,7 @@ ci-info@^3.2.0, ci-info@^3.7.0: classnames@^2.3.2: version "2.5.1" - resolved "https://registry.yarnpkg.com/classnames/-/classnames-2.5.1.tgz#ba774c614be0f016da105c858e7159eae8e7687b" + resolved "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz" integrity sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow== clean-stack@^2.0.0: @@ -3606,7 +3606,7 @@ cli-truncate@^3.1.0: clsx@^1.0.4, clsx@^1.1.1: version "1.2.1" - resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12" + resolved "https://registry.npmjs.org/clsx/-/clsx-1.2.1.tgz" integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== clsx@^2.0.0: @@ -3946,7 +3946,7 @@ data-view-byte-offset@^1.0.0: dayjs@^1.11.13, dayjs@^1.11.8: version "1.11.13" - resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.13.tgz#92430b0139055c3ebb60150aa13e860a4b5a366c" + resolved "https://registry.npmjs.org/dayjs/-/dayjs-1.11.13.tgz" integrity sha512-oaMBel6gjolK862uaPQOVTA7q3TZhuSvuMQAAglQDOWYO9A91IrAOUJEyKVlqJlHE0vq5p5UXxzdPfMH/x6xNg== debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@^4.3.5, debug@^4.3.6: @@ -4067,7 +4067,7 @@ diff@^4.0.1: diff@^5.1.0: version "5.2.0" - resolved "https://registry.yarnpkg.com/diff/-/diff-5.2.0.tgz#26ded047cd1179b78b9537d5ef725503ce1ae531" + resolved "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz" integrity sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A== dir-glob@^3.0.1: @@ -4869,7 +4869,7 @@ for-each@^0.3.3: framer-motion@^6.5.1: version "6.5.1" - resolved "https://registry.yarnpkg.com/framer-motion/-/framer-motion-6.5.1.tgz#802448a16a6eb764124bf36d8cbdfa6dd6b931a7" + resolved "https://registry.npmjs.org/framer-motion/-/framer-motion-6.5.1.tgz" integrity sha512-o1BGqqposwi7cgDrtg0dNONhkmPsUFDaLcKXigzuTFC5x58mE8iyTazxSudFzmT6MEyJKfjjU8ItoMe3W+3fiw== dependencies: "@motionone/dom" "10.12.0" @@ -4883,7 +4883,7 @@ framer-motion@^6.5.1: framesync@6.0.1: version "6.0.1" - resolved "https://registry.yarnpkg.com/framesync/-/framesync-6.0.1.tgz#5e32fc01f1c42b39c654c35b16440e07a25d6f20" + resolved "https://registry.npmjs.org/framesync/-/framesync-6.0.1.tgz" integrity sha512-fUY88kXvGiIItgNC7wcTOl0SNRCVXMKSWW2Yzfmn7EKNc+MpCzcz9DhdHcdjbrtN3c6R4H5dTY2jiCpPdysEjA== dependencies: tslib "^2.1.0" @@ -4967,7 +4967,7 @@ get-intrinsic@^1.2.6: get-node-dimensions@^1.2.1: version "1.2.1" - resolved "https://registry.yarnpkg.com/get-node-dimensions/-/get-node-dimensions-1.2.1.tgz#fb7b4bb57060fb4247dd51c9d690dfbec56b0823" + resolved "https://registry.npmjs.org/get-node-dimensions/-/get-node-dimensions-1.2.1.tgz" integrity sha512-2MSPMu7S1iOTL+BOa6K1S62hB2zUAYNF/lV0gSVlOaacd087lc6nR1H1r0e3B1CerTo+RceOmi1iJW+vp21xcQ== get-own-enumerable-property-symbols@^3.0.0: @@ -5154,7 +5154,7 @@ hasown@^2.0.0, hasown@^2.0.1, hasown@^2.0.2: hey-listen@^1.0.8: version "1.0.8" - resolved "https://registry.yarnpkg.com/hey-listen/-/hey-listen-1.0.8.tgz#8e59561ff724908de1aa924ed6ecc84a56a9aa68" + resolved "https://registry.npmjs.org/hey-listen/-/hey-listen-1.0.8.tgz" integrity sha512-COpmrF2NOg4TBWUJ5UVyaCU2A88wEMkUPK4hNqyCkqHbxT92BbvfjoSozkAIIm6XhicGlJHhFdullInrdhwU8Q== history@^4.9.0: @@ -5984,7 +5984,7 @@ markdown-to-jsx@^7.4.1: marked@^13.0.3: version "13.0.3" - resolved "https://registry.yarnpkg.com/marked/-/marked-13.0.3.tgz#5c5b4a5d0198060c7c9bc6ef9420a7fed30f822d" + resolved "https://registry.npmjs.org/marked/-/marked-13.0.3.tgz" integrity sha512-rqRix3/TWzE9rIoFGIn8JmsVfhiuC8VIQ8IdX5TfzmeBucdY05/0UlzKaw0eVtpcN/OdVFpBk7CjKGo9iHJ/zA== math-intrinsics@^1.0.0: @@ -6144,7 +6144,7 @@ ms@^2.1.1, ms@^2.1.3: nanoid@^3.3.7, nanoid@^3.3.8: version "3.3.8" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.8.tgz#b1be3030bee36aaff18bacb375e5cce521684baf" + resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz" integrity sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w== natural-compare@^1.4.0: @@ -6483,7 +6483,7 @@ polished@^4.2.2: popmotion@11.0.3: version "11.0.3" - resolved "https://registry.yarnpkg.com/popmotion/-/popmotion-11.0.3.tgz#565c5f6590bbcddab7a33a074bb2ba97e24b0cc9" + resolved "https://registry.npmjs.org/popmotion/-/popmotion-11.0.3.tgz" integrity sha512-Y55FLdj3UxkR7Vl3s7Qr4e9m0onSnP8W7d/xQLsoJM40vs6UKHFdygs6SWryasTZYqugMjm3BepCF4CWXDiHgA== dependencies: framesync "6.0.1" @@ -6663,7 +6663,7 @@ react-dates@^21.8.0: react-diff-viewer-continued@^3.4.0: version "3.4.0" - resolved "https://registry.yarnpkg.com/react-diff-viewer-continued/-/react-diff-viewer-continued-3.4.0.tgz#0501ffb2b5ab740f88b9ae5f18771aa90d3803c2" + resolved "https://registry.npmjs.org/react-diff-viewer-continued/-/react-diff-viewer-continued-3.4.0.tgz" integrity sha512-kMZmUyb3Pv5L9vUtCfIGYsdOHs8mUojblGy1U1Sm0D7FhAOEsH9QhnngEIRo5hXWIPNGupNRJls1TJ6Eqx84eg== dependencies: "@emotion/css" "^11.11.2" @@ -6704,7 +6704,7 @@ react-docgen@^7.0.0: react-draggable@^4.4.5: version "4.4.6" - resolved "https://registry.yarnpkg.com/react-draggable/-/react-draggable-4.4.6.tgz#63343ee945770881ca1256a5b6fa5c9f5983fe1e" + resolved "https://registry.npmjs.org/react-draggable/-/react-draggable-4.4.6.tgz" integrity sha512-LtY5Xw1zTPqHkVmtM3X8MUOxNDOUhv/khTgBgrUvwaS064bwVvxT+q5El0uUFNx5IEPKXuRejr7UqLwBIg5pdw== dependencies: clsx "^1.1.1" @@ -6747,7 +6747,7 @@ react-mde@^11.5.0: react-measure@^2.5.2: version "2.5.2" - resolved "https://registry.yarnpkg.com/react-measure/-/react-measure-2.5.2.tgz#4ffc410e8b9cb836d9455a9ff18fc1f0fca67f89" + resolved "https://registry.npmjs.org/react-measure/-/react-measure-2.5.2.tgz" integrity sha512-M+rpbTLWJ3FD6FXvYV6YEGvQ5tMayQ3fGrZhRPHrE9bVlBYfDCLuDcgNttYfk8IqfOI03jz6cbpqMRTUclQnaA== dependencies: "@babel/runtime" "^7.2.0" @@ -6764,7 +6764,7 @@ react-moment-proptypes@^1.6.0: react-monaco-editor@^0.54.0: version "0.54.0" - resolved "https://registry.yarnpkg.com/react-monaco-editor/-/react-monaco-editor-0.54.0.tgz#ec9293249a991b08264be723c1ec0ca3a6d480d8" + resolved "https://registry.npmjs.org/react-monaco-editor/-/react-monaco-editor-0.54.0.tgz" integrity sha512-9JwO69851mfpuhYLHlKbae7omQWJ/2ICE2lbL0VHyNyZR8rCOH7440u+zAtDgiOMpLwmYdY1sEZCdRefywX6GQ== dependencies: prop-types "^15.8.1" @@ -6877,7 +6877,7 @@ react-transition-group@^4.3.0, react-transition-group@^4.4.5: react-virtualized-sticky-tree@^3.0.0-beta18: version "3.0.0-beta18" - resolved "https://registry.yarnpkg.com/react-virtualized-sticky-tree/-/react-virtualized-sticky-tree-3.0.0-beta18.tgz#6e8017a7a56f17cf2d4198274aa2b42e7e10f60a" + resolved "https://registry.npmjs.org/react-virtualized-sticky-tree/-/react-virtualized-sticky-tree-3.0.0-beta18.tgz" integrity sha512-4u+XlgYLRTSLdgArJJ6aKi3XkuOsnnWtfeLlDERUZyHhvBMQsflPk9D1uSM6ug1JU4bnD4oOZiA2mByJjFIL4w== dependencies: react-measure "^2.5.2" @@ -7076,7 +7076,7 @@ requires-port@^1.0.0: resize-observer-polyfill@^1.5.0: version "1.5.1" - resolved "https://registry.yarnpkg.com/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz#0e9020dd3d21024458d4ebd27e23e40269810464" + resolved "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz" integrity sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg== resolve-from@^4.0.0: @@ -7168,31 +7168,31 @@ rollup-pluginutils@^2.8.1: estree-walker "^0.6.1" rollup@^2.43.1, rollup@^4.20.0, rollup@^4.22.4: - version "4.31.0" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.31.0.tgz#b84af969a0292cb047dce2c0ec5413a9457597a4" - integrity sha512-9cCE8P4rZLx9+PjoyqHLs31V9a9Vpvfo4qNcs6JCiGWYhw2gijSetFbH6SSy1whnkgcefnUwr8sad7tgqsGvnw== + version "4.32.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.32.0.tgz#c405bf6fca494d1999d9088f7736d7f03e5cac5a" + integrity sha512-JmrhfQR31Q4AuNBjjAX4s+a/Pu/Q8Q9iwjWBsjRH1q52SPFE2NqRMK6fUZKKnvKO6id+h7JIRf0oYsph53eATg== dependencies: "@types/estree" "1.0.6" optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.31.0" - "@rollup/rollup-android-arm64" "4.31.0" - "@rollup/rollup-darwin-arm64" "4.31.0" - "@rollup/rollup-darwin-x64" "4.31.0" - "@rollup/rollup-freebsd-arm64" "4.31.0" - "@rollup/rollup-freebsd-x64" "4.31.0" - "@rollup/rollup-linux-arm-gnueabihf" "4.31.0" - "@rollup/rollup-linux-arm-musleabihf" "4.31.0" - "@rollup/rollup-linux-arm64-gnu" "4.31.0" - "@rollup/rollup-linux-arm64-musl" "4.31.0" - "@rollup/rollup-linux-loongarch64-gnu" "4.31.0" - "@rollup/rollup-linux-powerpc64le-gnu" "4.31.0" - "@rollup/rollup-linux-riscv64-gnu" "4.31.0" - "@rollup/rollup-linux-s390x-gnu" "4.31.0" - "@rollup/rollup-linux-x64-gnu" "4.31.0" - "@rollup/rollup-linux-x64-musl" "4.31.0" - "@rollup/rollup-win32-arm64-msvc" "4.31.0" - "@rollup/rollup-win32-ia32-msvc" "4.31.0" - "@rollup/rollup-win32-x64-msvc" "4.31.0" + "@rollup/rollup-android-arm-eabi" "4.32.0" + "@rollup/rollup-android-arm64" "4.32.0" + "@rollup/rollup-darwin-arm64" "4.32.0" + "@rollup/rollup-darwin-x64" "4.32.0" + "@rollup/rollup-freebsd-arm64" "4.32.0" + "@rollup/rollup-freebsd-x64" "4.32.0" + "@rollup/rollup-linux-arm-gnueabihf" "4.32.0" + "@rollup/rollup-linux-arm-musleabihf" "4.32.0" + "@rollup/rollup-linux-arm64-gnu" "4.32.0" + "@rollup/rollup-linux-arm64-musl" "4.32.0" + "@rollup/rollup-linux-loongarch64-gnu" "4.32.0" + "@rollup/rollup-linux-powerpc64le-gnu" "4.32.0" + "@rollup/rollup-linux-riscv64-gnu" "4.32.0" + "@rollup/rollup-linux-s390x-gnu" "4.32.0" + "@rollup/rollup-linux-x64-gnu" "4.32.0" + "@rollup/rollup-linux-x64-musl" "4.32.0" + "@rollup/rollup-win32-arm64-msvc" "4.32.0" + "@rollup/rollup-win32-ia32-msvc" "4.32.0" + "@rollup/rollup-win32-x64-msvc" "4.32.0" fsevents "~2.3.2" run-parallel@^1.1.9: @@ -7624,7 +7624,7 @@ strip-json-comments@^3.1.1: style-value-types@5.0.0: version "5.0.0" - resolved "https://registry.yarnpkg.com/style-value-types/-/style-value-types-5.0.0.tgz#76c35f0e579843d523187989da866729411fc8ad" + resolved "https://registry.npmjs.org/style-value-types/-/style-value-types-5.0.0.tgz" integrity sha512-08yq36Ikn4kx4YU6RD7jWEv27v4V+PUsOGa4n/as8Et3CuODMJQ00ENeAVXAeydX4Z2j1XHZF1K2sX4mGl18fA== dependencies: hey-listen "^1.0.8" @@ -7871,7 +7871,7 @@ tsconfig-paths@^4.2.0: tslib@2.7.0, tslib@^2.0.1, tslib@^2.1.0, tslib@^2.6.2: version "2.7.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.7.0.tgz#d9b40c5c40ab59e8738f297df3087bf1a2690c01" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz" integrity sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA== tslib@^1.8.1, tslib@^1.9.3: @@ -7881,7 +7881,7 @@ tslib@^1.8.1, tslib@^1.9.3: tslib@^2.3.1, tslib@^2.4.0: version "2.8.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz" integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== tsutils@^3.21.0: