diff --git a/CHANGELOG.md b/CHANGELOG.md index b479e3085..f263b9d03 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Unreleased +### Change + +- **Onboarding Service Provider** + - removed deprecated page onboardingServiceProvider and every related link [#1261](https://github.com/eclipse-tractusx/portal-frontend/pull/1261) + ## 2.3.0-alpha.3 ### Change diff --git a/DEPENDENCIES b/DEPENDENCIES index 7ee0c4eaf..fc6ad3cb2 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -217,7 +217,7 @@ npm/npmjs/-/https-proxy-agent/5.0.1, MIT, approved, clearlydefined npm/npmjs/-/human-signals/2.1.0, Apache-2.0, approved, clearlydefined npm/npmjs/-/husky/9.1.6, MIT, approved, clearlydefined npm/npmjs/-/i18next-browser-languagedetector/7.2.1, MIT, approved, clearlydefined -npm/npmjs/-/i18next/23.15.1, MIT, approved, clearlydefined +npm/npmjs/-/i18next/23.15.1, MIT, approved, #16823 npm/npmjs/-/iconv-lite/0.6.3, MIT, approved, clearlydefined npm/npmjs/-/identity-obj-proxy/3.0.0, MIT, approved, clearlydefined npm/npmjs/-/ieee754/1.2.1, BSD-3-Clause, approved, clearlydefined diff --git a/src/assets/locales/en/idp.json b/src/assets/locales/en/idp.json index ee41681bb..0a05776f3 100644 --- a/src/assets/locales/en/idp.json +++ b/src/assets/locales/en/idp.json @@ -275,8 +275,6 @@ "status4": "active" }, "osp": { - "title": "Onboarding Serviceprovider", - "desc": "{Description of the Onboarding Serviceprovider process}", "steps": { "one": { "text": "done", diff --git a/src/components/pages/OSPManagement/index.tsx b/src/components/pages/OSPManagement/index.tsx deleted file mode 100644 index efb283137..000000000 --- a/src/components/pages/OSPManagement/index.tsx +++ /dev/null @@ -1,71 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2023 BMW Group AG - * Copyright (c) 2023 Contributors to the Eclipse Foundation - * - * See the NOTICE file(s) distributed with this work for additional - * information regarding copyright ownership. - * - * This program and the accompanying materials are made available under the - * terms of the Apache License, Version 2.0 which is available at - * https://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. - * - * SPDX-License-Identifier: Apache-2.0 - ********************************************************************************/ - -import AddCircleOutlineIcon from '@mui/icons-material/AddCircleOutline' -import { OVERLAYS } from 'types/Constants' -import { Button, Image, Typography } from '@catena-x/portal-shared-components' -import { Trans, useTranslation } from 'react-i18next' -import { useDispatch } from 'react-redux' -import { show } from 'features/control/overlay' -import './style.scss' -import { getAssetBase } from 'services/EnvironmentService' -import { IDPList } from '../IDPManagement/IDPList' - -export default function OSPManagement() { - const { t } = useTranslation('idp') - const dispatch = useDispatch() - - return ( -
-
-
- - - {t('osp.title')} - - - - - {t('osp.desc')} - - - {t('osp.title')} -
- -
-
-
- -
-
-
- ) -} diff --git a/src/components/pages/OSPManagement/style.scss b/src/components/pages/OSPManagement/style.scss deleted file mode 100644 index 7494de9e2..000000000 --- a/src/components/pages/OSPManagement/style.scss +++ /dev/null @@ -1,162 +0,0 @@ -/******************************************************************************** - * Copyright (c) 2023 BMW Group AG - * Copyright (c) 2023 Contributors to the Eclipse Foundation - * - * See the NOTICE file(s) distributed with this work for additional - * information regarding copyright ownership. - * - * This program and the accompanying materials are made available under the - * terms of the Apache License, Version 2.0 which is available at - * https://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. - * - * SPDX-License-Identifier: Apache-2.0 - ********************************************************************************/ - -.idp-management-header { - text-align: center; - width: 100%; - margin: 0 auto; - .idp-management-title { - text-align: center; - padding-bottom: 20px; - position: relative; - } - .idp-management-title::after { - content: ''; - width: 70px; - border-bottom: 2px solid; - position: absolute; - bottom: 0; - left: 50%; - transform: translateX(-50%); - } - .idp-management-desc { - width: 74%; - margin: 50px auto; - } - img { - border-radius: 10px; - } - .add-idp-btn { - margin-top: 30px; - text-transform: capitalize; - } -} - -.idp-list { - list-style-type: none; - margin-block-start: 0; - margin-block-end: 0; - padding-inline-start: 0; - - .idp-list-item { - border: 1px solid #eeeeee; - border-radius: 5px; - background-color: #fcfcfc; - padding: 8px 30px; - margin-bottom: 12px; - font-weight: bold; - white-space: nowrap; - display: flex; - flex-direction: row; - - &:hover { - background-color: #f4f4f4; - } - - .category, - .name, - .alias, - .action { - display: inline-block; - margin: 16px 0; - } - - .state { - display: inline-block; - margin: 6px 0; - } - - .action.buttons { - margin: 10px 0; - } - - .action.menu { - margin: 0; - } - - .category { - color: #888; - width: 280px; - font-weight: normal; - } - - .name { - width: 300px; - } - - .alias { - color: #888; - width: 280px; - font-weight: normal; - } - - .action { - margin-left: 0px; - width: 220px; - display: flex; - flex-direction: row; - justify-content: flex-end; - - button { - margin-left: 10px; - } - } - } - - .content { - padding: 8px 16px 16px; - border: 1px solid #ccc; - margin-top: 0px; - margin-bottom: 20px; - border-radius: 10px; - } -} - -.progress-section { - display: flex; - .number { - color: white; - border-radius: 50%; - text-align: center; - margin-right: 5px; - width: 30px; - height: 30px; - display: flex; - align-items: center; - justify-content: center; - svg { - font-size: 20px; - } - } -} - -.action-menu { - button { - box-shadow: none; - font-size: 12px; - padding: 8px !important; - &:hover { - box-shadow: none; - } - &:focus { - box-shadow: none; - } - } -} diff --git a/src/types/Config.tsx b/src/types/Config.tsx index 8140a3248..be7e6c7b6 100644 --- a/src/types/Config.tsx +++ b/src/types/Config.tsx @@ -80,7 +80,6 @@ import AdminCredential from 'components/pages/AdminCredential' import AddRoles from 'components/pages/AppOverview/AddRoles' import ServiceDeactivate from 'components/pages/ServiceReleaseProcess/components/ServiceDeactivate' import ChangeDocuments from 'components/pages/AppOverview/ChangeDocuments' -import OSPManagement from 'components/pages/OSPManagement' import CompanyWallet from 'components/pages/CompanyWallet' import CompanyCertificates from 'components/pages/CompanyCertificates' import { OSPConsent } from 'components/pages/OSPConsent' @@ -560,11 +559,6 @@ export const ALL_PAGES: IPage[] = [ allowTo: () => userHasSsiCredentialRole(ROLES.DECISION_SSICREDENTIAL), element: , }, - { - name: PAGES.ONBOARDING_SERVICE_PROVIDER, - allowTo: () => userHasPortalRole(ROLES.IDP_VIEW), - element: , - }, { name: PAGES.COMPANY_CERTIFICATE, allowTo: () => userHasPortalRole(ROLES.COMPANY_CERTIFICATE_VIEW), diff --git a/src/types/Constants.ts b/src/types/Constants.ts index 960b67262..720421831 100644 --- a/src/types/Constants.ts +++ b/src/types/Constants.ts @@ -100,7 +100,6 @@ export enum PAGES { CERTIFICATE_CREDENTIAL = 'certificateCredential', DATA_SPACE = 'dataSpace', ADMIN_CREDENTIAL = 'adminCredential', - ONBOARDING_SERVICE_PROVIDER = 'onboardingServiceProvider', COMPANY_CERTIFICATE = 'companyCertificate', COMPANY_WALLET = 'companyWallet', DECLINE = 'decline',