diff --git a/CHANGELOG.md b/CHANGELOG.md index d4f1c3282..269ae7e0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,7 @@ - UI improvements - Add correct registration application checklist items - Fixed incorrect usage of pre-commit hook +- Fix consistency issue in constants file. Use camel case for all page paths. Update corresponding usage in other files ### Feature diff --git a/src/assets/locales/de/main.json b/src/assets/locales/de/main.json index cc044e382..32a25e446 100644 --- a/src/assets/locales/de/main.json +++ b/src/assets/locales/de/main.json @@ -6,21 +6,21 @@ "swagger": "Swagger OpenAPI Definition", "storybook": "Storybook Shared Component Library", "marketplace": "Marketplace", - "appmarketplace": "App Marketplace", - "servicemarketplace": "Service Marketplace", + "appMarketplace": "App Marketplace", + "serviceMarketplace": "Service Marketplace", "appdetails": "App Details", - "datamanagement": "Datenmanagement", + "dataManagement": "Datenmanagement", "semantichub": "Semantische Modelle", "connector": "Konnektor", - "partnernetwork": "Partner Network", + "partnerNetwork": "Partner Network", "account": "Mein CX Account", "organization": "Meine Company", "notifications": "Benachrichtigungen", - "usermanagement": "Benutzerverwaltung", - "idpmanagement": "Identitätsprovider (IDP)", - "technicalsetup": "Technische Integration", - "connectormanagement": "Connector-Management", - "applicationrequests": "Beitrittsanträge", + "userManagement": "Benutzerverwaltung", + "idpManagement": "Identitätsprovider (IDP)", + "technicalSetup": "Technische Integration", + "connectorManagement": "Connector-Management", + "applicationRequests": "Beitrittsanträge", "admin": "Verwaltung", "developer": "Entwicklung", "invite": "Einladung CX Teilnehmer", @@ -30,51 +30,51 @@ "imprint": "Impressum", "privacy": "Privatsphäre", "terms": "Nutzungsbedingungen", - "cookiepolicy": "Cookies", + "cookiePolicy": "Cookies", "3rdpartylicenses": "Drittanbieterlizenzen", "logout": "Abmelden", - "notfound": "Seite nicht gefunden", - "appmanagement": "App Management", - "appoverview": "App-Übersicht", + "notFound": "Seite nicht gefunden", + "appManagement": "App Management", + "appOverview": "App-Übersicht", "deactivate": "Deactivate", - "appreleaseprocess": "App Release Process", - "appsubscription": "App Subscription MGT", + "appReleaseProcess": "App Release Process", + "appSubscription": "App Subscription MGT", "adminboard": "Admin Board", - "appusermanagement": "App Benutzer Verwaltung", + "appUserManagement": "App Benutzer Verwaltung", "userdetails": "Benutzer Details", - "technicaluser": "Technische Benutzer Verwaltung", - "techuserdetails": "Technischer Benutzer Details", - "companyroles": "Company Roles", - "companyrolesparticipant": "Participant", - "companyrolesappprovider": "App Provider", - "companyrolesserviceprovider": "Service Provider", - "companyrolesconformitybody": "Conformity Body", - "companyrolesonboardingserviceprovider": "Onboarding Service Provider", - "usecase": "Use Case", - "usecasetraceablity": "Traceablity", - "servicemanagement": "Service Management", - "serviceoverview": "Service Overview", - "servicereleaseprocess": "Service Release Process", - "serviceadminboard": "Admin Board", - "servicesubscription": "Service Subscription Mgt", - "servicedetail": "Service Details", - "company-role": "Config - Company Role", - "usecase-participation": "Config - Use Case Participation", - "certificate-credential": "Config - Certificates", + "technicalUserManagement": "Technische Benutzer Verwaltung", + "techUserDetails": "Technischer Benutzer Details", + "companyRoles": "Company Roles", + "companyRolesParticipant": "Participant", + "companyRolesAppProvider": "App Provider", + "companyRolesServiceProvider": "Service Provider", + "companyRolesConformityBody": "Conformity Body", + "companyRolesOnboardingServiceProvider": "Onboarding Service Provider", + "useCase": "Use Case", + "useCaseTraceablity": "Traceablity", + "serviceManagement": "Service Management", + "serviceOverview": "Service Overview", + "serviceReleaseProcess": "Service Release Process", + "serviceAdminBoard": "Admin Board", + "serviceSubscription": "Service Subscription Mgt", + "serviceDetail": "Service Details", + "companyRole": "Config - Company Role", + "useCaseParticipation": "Config - Use Case Participation", + "certificateCredential": "Config - Certificates", "about": "About", - "dataspace": "Data Space", - "admin-credential": "Credential Requests", + "dataSpace": "Data Space", + "adminCredential": "Credential Requests", "companyCertificate": "Company Certificates", "companyWallet": "Company Wallet", - "company-subscriptions": "Firmenabonnements", + "companySubscriptions": "Firmenabonnements", "mycompany": "My Company", "mynotifications": "My Notifications", - "company_data": "Company Data" + "companyData": "Company Data" }, "overlays": { "invite": "Neuen Geschäftspartner einladen", - "add_user": "Neuen Benutzer hinzufügen", - "add_techuser": "Neuen technischen Benutzer hinzufügen", + "addUser": "Neuen Benutzer hinzufügen", + "addTechuser": "Neuen technischen Benutzer hinzufügen", "idp_delete_info_title": "Löschung des Identitätsanbieters.", "idp_delete_info_intro": "Bitte beachten Sie, dass alle Benutzer, die nicht auf das neue iDP migriert werden, unwiderruflich gelöscht werden.", "idp_delete_success_title": "Identitätsanbieter {{name}} wurde erfolgreich gelöscht.", @@ -258,13 +258,13 @@ "title": "Catena-X", "subtitle": "das Tor zum digitalen Automotive-Netzwerk", "buttonName": "Meine Apps", - "navigation": "/appmanagement" + "navigation": "/appManagement" }, "slider2": { "title": "Use Case Introduction", "subtitle": "Lernen Sie die unterstützten Anwendungsfälle, zugehörigen semantischen Modelle und Apps kennen, um Ihre anwendungsfallgesteuerte Onboarding-Reise zu beginnen.", "buttonName": "Use Case Introduction", - "navigation": "/usecase" + "navigation": "/useCase" }, "slider3": { "title": "Marktplätze", @@ -460,7 +460,7 @@ "showAll": "zeige alles" } }, - "appoverview": { + "appOverview": { "headerTitle": "Meine Applikationen", "title": "App-Übersicht", "inputPlaceholder": "Suchen Sie nach Apps", @@ -549,7 +549,7 @@ "deleteIconTooltip": "Mindestens ein Dokument ist obligatorisch. Laden Sie ein neues Dokument hoch, bevor Sie das Bild entfernen können.", "uploadButtonTooltip": "Maximale Anzahl zulässiger Dokumente erreicht. Bitte löschen Sie ein Dokument, bevor Sie ein neues hochladen." }, - "appreleaseprocess": { + "appReleaseProcess": { "message": "App Release Process Message" }, "connector": { @@ -656,12 +656,12 @@ "company": { "title": "Connector registrieren", "intro": "Um mit Ihrem Connector innerhalb des Datenraums kommunizieren zu können, muss der Connector-Endpunkt registriert werden. Für den Connector ist zwingend ein technischer Benutzer erforderlich. Dieser Benutzer wird verwendet, um die Kommunikation zwischen Ihrem Connector und dem Firmen-Wallet (Identitätsmanagement) zu ermöglichen. Wenn der technische Benutzer noch nicht erstellt wurde, erstellen Sie bitte zuerst den technischen Benutzer und fahren Sie anschließend mit der Connector-Registrierung fort. Beachten Sie, dass die technische Benutzererstellung ein asynchroner Prozess ist und bis zu 5 Minuten dauern kann.", - "disableDescription": "Diese Option ist nur verfügbar, wenn Ihr Unternehmen aktiver Teilnehmer ist. Unternehmensrollen können vom Unternehmensadministrator /company-role geändert werden" + "disableDescription": "Diese Option ist nur verfügbar, wenn Ihr Unternehmen aktiver Teilnehmer ist. Unternehmensrollen können vom Unternehmensadministrator /companyRole geändert werden" }, "managed": { "title": "Register Managed Connector", "intro": "Register a managed connector of your customer / 3rd party provided. This selection is mainly service provider relevant, which offers managed connectors to data provider/consumer. If you want to register your own connector, please use the selection above.", - "disableDescription": "Diese Option ist nur verfügbar, wenn Ihr Unternehmen App-Anbieter oder Dienstanbieter ist. Unternehmensrollen können vom Unternehmensadministrator /company-role geändert werden" + "disableDescription": "Diese Option ist nur verfügbar, wenn Ihr Unternehmen App-Anbieter oder Dienstanbieter ist. Unternehmensrollen können vom Unternehmensadministrator /companyRole geändert werden" }, "companyconnectorlabel": "Verbinden Sie den Unternehmenskonnektor", "connectorasaservice": "Connector-as-a-service", @@ -1142,7 +1142,7 @@ "further": "Wenn Sie denken, dass hier etwas sein sollte kontaktieren Sie bitte Ihren Administrator." }, "appdetail": { - "usecase": "Use Case", + "useCase": "Use Case", "language": "Verfügbare App Sprachen", "subscribe": "Abonnieren", "subscribed": "Abonniert", @@ -1545,7 +1545,7 @@ } }, "adminboardDetail": { - "usecase": "Use Case", + "useCase": "Use Case", "language": "Language", "price": "Price", "longDescriptionTitleEN": "[Long Description - EN] ", @@ -1809,7 +1809,7 @@ }, "usecaseParticipation": { "heading": "Use Case Participation", - "description": "Below you can manage your use case participation in Catena-X.
Please note - the selection of the usecase participatiance is relevant for data provider and data consumer.", + "description": "Below you can manage your use case participation in Catena-X.
Please note - the selection of the useCase participatiance is relevant for data provider and data consumer.", "step1": "You can view your current signed use case participation", "step2": "You can sign additional use cases by selecting the document download, signing the document and upload the same", "note": "Please note: ", diff --git a/src/assets/locales/de/notification.json b/src/assets/locales/de/notification.json index c5ed5d754..e9fc8600a 100644 --- a/src/assets/locales/de/notification.json +++ b/src/assets/locales/de/notification.json @@ -94,24 +94,24 @@ } }, "link": { - "appmarketplace": "Zum App Marketplace", + "appMarketplace": "Zum App Marketplace", "technicalsetup": "Zur Connector Registrierung", "home": "Zur Startseite", "app": "Zur App", "user": "Zum Benutzer", - "usecase": "Zu den Use Case", + "useCase": "Zu den Use Case", "serviceprovider": "Go to service provider", "appmanagementboard": "App Management Board öffnen", "servicemanagementboard": "Service Management Board öffnen", - "appoverview": "Get there", + "appOverview": "Get there", "appsubscription": "Get there", "adminboard": "Get there", "technicaluser": "Get there", - "companyrolesserviceprovider": "Get there", + "companyRolesServiceProvider": "Get there", "usermanagement": "Get there", - "servicesubscription": "Get there", - "serviceadminboard": "Get there", - "role-details": "Open Role Matrix", + "serviceSubscription": "Get there", + "serviceAdminBoard": "Get there", + "roleDetails": "Open Role Matrix", "servicemarketplace": "Get there" }, "due": "fällig", diff --git a/src/assets/locales/de/servicerelease.json b/src/assets/locales/de/servicerelease.json index 27b8561e2..e7810fd66 100644 --- a/src/assets/locales/de/servicerelease.json +++ b/src/assets/locales/de/servicerelease.json @@ -119,7 +119,7 @@ "conformityDocumentsDescription": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.", "documentsDescription": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." }, - "serviceoverview": { + "serviceOverview": { "filter": { "all": "Alle", "active": "Aktiv", diff --git a/src/assets/locales/en/main.json b/src/assets/locales/en/main.json index 274124d3d..42a4c81e4 100644 --- a/src/assets/locales/en/main.json +++ b/src/assets/locales/en/main.json @@ -6,21 +6,21 @@ "swagger": "Swagger OpenAPI Definition", "storybook": "Storybook Shared Component Library", "marketplace": "Marketplace", - "appmarketplace": "App Marketplace", - "servicemarketplace": "Service Marketplace", + "appMarketplace": "App Marketplace", + "serviceMarketplace": "Service Marketplace", "appdetails": "App Details", - "datamanagement": "Data Management", + "dataManagement": "Data Management", "semantichub": "Semantic Hub", - "partnernetwork": "Partner Network", + "partnerNetwork": "Partner Network", "connector": "Connector", "account": "My CX Account", "organization": "My Company", "notifications": "Notifications", - "usermanagement": "User Management", - "idpmanagement": "Identity Provider Config", - "technicalsetup": "Technical Integration", - "connectormanagement": "Connector Management", - "applicationrequests": "Application Requests", + "userManagement": "User Management", + "idpManagement": "Identity Provider Config", + "technicalSetup": "Technical Integration", + "connectorManagement": "Connector Management", + "applicationRequests": "Application Requests", "admin": "Administration", "developer": "Development", "invite": "Invite Business Partner", @@ -30,50 +30,50 @@ "imprint": "Imprint", "privacy": "Privacy", "terms": "Terms of Service", - "cookiepolicy": "Cookies", + "cookiePolicy": "Cookies", "logout": "Sign Out", - "notfound": "Page not found", - "appmanagement": "App Management", - "appoverview": "App Overview", + "notFound": "Page not found", + "appManagement": "App Management", + "appOverview": "App Overview", "deactivate": "Deactivate", - "appreleaseprocess": "App Release Process", - "appsubscription": "App Subscription MGT", + "appReleaseProcess": "App Release Process", + "appSubscription": "App Subscription MGT", "adminboard": "Admin Board", - "appusermanagement": "App User Management", + "appUserManagement": "App User Management", "userdetails": "User Details", - "technicaluser": "Technical User Management", - "techuserdetails": "Technical User Details", - "companyroles": "Company Roles", - "companyrolesparticipant": "Participant", - "companyrolesappprovider": "App Provider", - "companyrolesserviceprovider": "Service Provider", - "companyrolesconformitybody": "Conformity Body", - "companyrolesonboardingserviceprovider": "Onboarding Service Provider", - "usecase": "Use Case", - "usecasetraceablity": "Traceablity", - "servicemanagement": "Service Management", - "serviceoverview": "Service Overview", - "servicereleaseprocess": "Service Release Process", - "serviceadminboard": "Admin Board", - "servicesubscription": "Service Subscription Mgt", - "servicedetail": "Service Details", - "company-role": "Config - Company Role", - "usecase-participation": "Config - Use Case Participation", - "certificate-credential": "Config - Certificates", + "technicalUserManagement": "Technical User Management", + "techUserDetails": "Technical User Details", + "companyRoles": "Company Roles", + "companyRolesParticipant": "Participant", + "companyRolesAppProvider": "App Provider", + "companyRolesServiceProvider": "Service Provider", + "companyRolesConformityBody": "Conformity Body", + "companyRolesOnboardingServiceProvider": "Onboarding Service Provider", + "useCase": "Use Case", + "useCaseTraceablity": "Traceablity", + "serviceManagement": "Service Management", + "serviceOverview": "Service Overview", + "serviceReleaseProcess": "Service Release Process", + "serviceAdminBoard": "Admin Board", + "serviceSubscription": "Service Subscription Mgt", + "serviceDetail": "Service Details", + "companyRole": "Config - Company Role", + "useCaseParticipation": "Config - Use Case Participation", + "certificateCredential": "Config - Certificates", "about": "About", - "dataspace": "Data Space", - "admin-credential": "Credential Requests", + "dataSpace": "Data Space", + "adminCredential": "Credential Requests", "companyCertificate": "Company Certificates", "companyWallet": "Company Wallet", - "company-subscriptions": "Company Subscriptions", + "companySubscriptions": "Company Subscriptions", "mycompany": "My Company", "mynotifications": "My Notifications", - "company_data": "Company Data" + "companyData": "Company Data" }, "overlays": { "invite": "Invite new Business Partner", - "add_user": "Add new user", - "add_techuser": "Add new technical user", + "addUser": "Add new user", + "addTechuser": "Add new technical user", "idp_delete_info_title": "Deletion of the identity provider.", "idp_delete_info_intro": "Please note, all users which are not migrated to the new iDP wii get irreversible deleted.", "idp_delete_success_title": "Identity provider {{name}} was successfully deleted.", @@ -257,13 +257,13 @@ "title": "Catena-X", "subtitle": "the gateway to the automotive digital network", "buttonName": "My Apps", - "navigation": "/appmanagement" + "navigation": "/appManagement" }, "slider2": { "title": "Use Case Introduction", "subtitle": "Get to know the supported use cases, related semantic models and apps to start your use case driven onboarding journey.", "buttonName": "Use Case Introduction", - "navigation": "/usecase" + "navigation": "/useCase" }, "slider3": { "title": "Marketplaces", @@ -459,7 +459,7 @@ "datamanagement": { "message": "Contents of Data Management" }, - "appoverview": { + "appOverview": { "headerTitle": "My Apps", "title": "App Overview", "inputPlaceholder": "Search for Apps", @@ -548,7 +548,7 @@ "deleteIconTooltip": "At least one document is mandatory. Upload a new document before being able to remove the image.", "uploadButtonTooltip": "Maximum number of allowed documents reached. Please delete one document before uploading a new one." }, - "appreleaseprocess": { + "appReleaseProcess": { "message": "App Release Process Message" }, "connector": { @@ -660,12 +660,12 @@ "company": { "title": "Register Connector", "intro": "To be able to communicate with your connector inside the dataspace, the connector endpoint needs to get registered. For the connector, a technical user is mandatorily needed. This user is used to enable the communication between your connector and the company wallet (identity management). If the technical user is not created already, please create the technical user first and proceed with the connector registration afterwards. Note, the technical user creation is a asynchrony process and might take up to 5 minutes.", - "disableDescription": "This option is only available if your company is Active Participant. Company roles can get changed by the company admin /company-role" + "disableDescription": "This option is only available if your company is Active Participant. Company roles can get changed by the company admin /companyRole" }, "managed": { "title": "Register Managed Connector", "intro": "Register a managed connector of your customer / 3rd party provided. This selection is mainly service provider relevant, which offers managed connectors to data provider/consumer. If you want to register your own connector, please use the selection above.", - "disableDescription": "This option is only available if your company is App Provider or Service Provider. Company roles can get changed by the company admin /company-role" + "disableDescription": "This option is only available if your company is App Provider or Service Provider. Company roles can get changed by the company admin /companyRole" }, "companyconnectorlabel": "Connect company connector", "connectorasaservice": "Connector-as-a-service", @@ -1108,7 +1108,7 @@ "further": "If you think there should be content please contact your administrator." }, "appdetail": { - "usecase": "Use Case", + "useCase": "Use Case", "language": "Language", "subscribe": "Subscribe", "subscribed": "Subscribed", @@ -1512,7 +1512,7 @@ } }, "adminboardDetail": { - "usecase": "Use Case", + "useCase": "Use Case", "language": "Language", "price": "Price", "longDescriptionTitleEN": "[Long Description - EN] ", @@ -1776,7 +1776,7 @@ }, "usecaseParticipation": { "heading": "Use Case Participation", - "description": "Below you can manage your use case participation in Catena-X.
Please note - the selection of the usecase participatiance is relevant for data provider and data consumer.", + "description": "Below you can manage your use case participation in Catena-X.
Please note - the selection of the useCase participatiance is relevant for data provider and data consumer.", "step1": "You can view your current signed use case participation", "step2": "You can sign additional use cases by selecting the document download, signing the document and upload the same", "note": "Please note: ", diff --git a/src/assets/locales/en/notification.json b/src/assets/locales/en/notification.json index 6d8db35f2..23c467580 100644 --- a/src/assets/locales/en/notification.json +++ b/src/assets/locales/en/notification.json @@ -94,24 +94,24 @@ } }, "link": { - "appmarketplace": "Go to app marketplace", + "appMarketplace": "Go to app marketplace", "technicalsetup": "Go to connector configuration", "home": "Go to home page", "app": "Go to app", "user": "Go to user", - "usecase": "Go to Use Case", + "useCase": "Go to Use Case", "serviceprovider": "Go to service provider", "appmanagementboard": "Get there", "servicemanagementboard": "Get there", - "appoverview": "Get there", + "appOverview": "Get there", "appsubscription": "Get there", "adminboard": "Get there", "technicaluser": "Get there", - "companyrolesserviceprovider": "Get there", + "companyRolesServiceProvider": "Get there", "usermanagement": "Get there", - "servicesubscription": "Get there", - "serviceadminboard": "Get there", - "role-details": "Open Role Matrix", + "serviceSubscription": "Get there", + "serviceAdminBoard": "Get there", + "roleDetails": "Open Role Matrix", "servicemarketplace": "Get there" }, "due": "due", diff --git a/src/assets/locales/en/servicerelease.json b/src/assets/locales/en/servicerelease.json index 648d0abb7..cbd9b1577 100644 --- a/src/assets/locales/en/servicerelease.json +++ b/src/assets/locales/en/servicerelease.json @@ -119,7 +119,7 @@ "conformityDocumentsDescription": "To publish your service on the marketplace, a number of Catena-X specific agreements need to get signed by you. Please have a look at the mentioned agreements and agree to them via the checklist approval.", "documentsDescription": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat." }, - "serviceoverview": { + "serviceOverview": { "headerTitle": "Service Overview - Own managed service offers", "inputPlaceholder": "Search for services", "filter": { diff --git a/src/components/overlays/AddUser/AddUserDeny.tsx b/src/components/overlays/AddUser/AddUserDeny.tsx index 8d59e7725..ae35e7d5e 100644 --- a/src/components/overlays/AddUser/AddUserDeny.tsx +++ b/src/components/overlays/AddUser/AddUserDeny.tsx @@ -79,7 +79,7 @@ export const AddUserDeny = ({ idps }: { idps: IdentityProvider[] }) => { }} sx={{ textTransform: 'none' }} > - {t('pages.idpmanagement')} + {t('pages.idpManagement')} diff --git a/src/components/overlays/AppOverViewConfirm/AppDetailsOverlay.tsx b/src/components/overlays/AppOverViewConfirm/AppDetailsOverlay.tsx index 873cd31dd..7463e4a79 100644 --- a/src/components/overlays/AppOverViewConfirm/AppDetailsOverlay.tsx +++ b/src/components/overlays/AppOverViewConfirm/AppDetailsOverlay.tsx @@ -44,7 +44,7 @@ export default function AppDetailsOverlay({ <> dispatch(closeOverlay()), }} @@ -64,7 +64,7 @@ export default function AppDetailsOverlay({ }} variant="h5" > - {t('content.appoverview.details.description').replace( + {t('content.appOverview.details.description').replace( '{appName}', title )} diff --git a/src/components/overlays/AppOverViewConfirm/index.tsx b/src/components/overlays/AppOverViewConfirm/index.tsx index bf25c90ea..bd2c6d7ae 100644 --- a/src/components/overlays/AppOverViewConfirm/index.tsx +++ b/src/components/overlays/AppOverViewConfirm/index.tsx @@ -51,7 +51,7 @@ export default function AppOverViewConfirm({ {title && ( - {t('content.appoverview.confirmModal.description').replace( + {t('content.appOverview.confirmModal.description').replace( '{appName}', title )} @@ -97,7 +97,7 @@ export default function AppOverViewConfirm({ variant="contained" onClick={() => { close() - navigate(`/${PAGES.APPRELEASEPROCESS}/form`) + navigate(`/${PAGES.APP_RELEASE_PROCESS}/form`) }} > {`${t('global.actions.yes')}`} diff --git a/src/components/overlays/DeleteTechnicalUser/index.tsx b/src/components/overlays/DeleteTechnicalUser/index.tsx index cc5fc4e55..30fd7b9d7 100644 --- a/src/components/overlays/DeleteTechnicalUser/index.tsx +++ b/src/components/overlays/DeleteTechnicalUser/index.tsx @@ -52,7 +52,7 @@ export const DeleteTechnicalUser = ({ id }: { id: string }) => { dispatch(closeOverlay()) dispatch(updateData(UPDATES.TECHUSER_LIST)) dispatch(setNotification(notification)) - navigate(`/${PAGES.TECHUSER_MANAGEMENT}`) + navigate(`/${PAGES.TECH_USER_MANAGEMENT}`) } const deleteUserError = (err: unknown) => { @@ -65,7 +65,7 @@ export const DeleteTechnicalUser = ({ id }: { id: string }) => { } dispatch(closeOverlay()) dispatch(setNotification(notification)) - navigate(`/${PAGES.TECHUSER_MANAGEMENT}`) + navigate(`/${PAGES.TECH_USER_MANAGEMENT}`) } const handleRemove = async () => { diff --git a/src/components/overlays/EditUsecase/index.tsx b/src/components/overlays/EditUsecase/index.tsx index 6d5a8e2cf..b613c2eaf 100644 --- a/src/components/overlays/EditUsecase/index.tsx +++ b/src/components/overlays/EditUsecase/index.tsx @@ -36,8 +36,8 @@ import { OVERLAYS } from 'types/Constants' import { closeOverlay, show } from 'features/control/overlay' import type { store } from 'features/store' import { Dropzone } from '../../shared/basic/Dropzone' -import { useAddUsecaseMutation } from 'features/usecase/usecaseApiSlice' import './style.scss' +import { useAddUsecaseMutation } from 'features/usecase/usecaseApiSlice' export default function EditUsecase({ id: verifiedCredentialTypeId, diff --git a/src/components/pages/AppDetail/AppDetailContentDetails.tsx b/src/components/pages/AppDetail/AppDetailContentDetails.tsx index 044eca11b..001e9075e 100644 --- a/src/components/pages/AppDetail/AppDetailContentDetails.tsx +++ b/src/components/pages/AppDetail/AppDetailContentDetails.tsx @@ -95,7 +95,7 @@ export default function AppDetailContentDetails({ onBackButtonClick={() => { nav === 'marketplace' ? navigate(`/${PAGES.APP_MARKETPLACE}`) - : navigate(`/${PAGES.APPOVERVIEW}`) + : navigate(`/${PAGES.APP_OVERVIEW}`) }} /> diff --git a/src/components/pages/AppDetail/components/AppDetailHeader/AppDetailHeader.scss b/src/components/pages/AppDetail/components/AppDetailHeader/AppDetailHeader.scss index b9f70a22b..2621876fe 100644 --- a/src/components/pages/AppDetail/components/AppDetailHeader/AppDetailHeader.scss +++ b/src/components/pages/AppDetail/components/AppDetailHeader/AppDetailHeader.scss @@ -49,7 +49,7 @@ font-size: 14px; } } - .usecase { + .useCase { display: flex; } ul { diff --git a/src/components/pages/AppDetail/components/AppDetailHeader/index.tsx b/src/components/pages/AppDetail/components/AppDetailHeader/index.tsx index c5d11f74a..f5c585162 100644 --- a/src/components/pages/AppDetail/components/AppDetailHeader/index.tsx +++ b/src/components/pages/AppDetail/components/AppDetailHeader/index.tsx @@ -192,9 +192,9 @@ export default function AppDetailHeader({ item }: AppDetailHeaderProps) { {item.price} -
+
- {t('content.appdetail.usecase')}: + {t('content.appdetail.useCase')}: {item.useCases.map((useCase: UseCaseType) => ( @@ -202,7 +202,7 @@ export default function AppDetailHeader({ item }: AppDetailHeaderProps) { ))}
-
+
{t('content.appdetail.language')}: diff --git a/src/components/pages/AppOverview/AddRoles.tsx b/src/components/pages/AppOverview/AddRoles.tsx index 9ef2a9cd0..2cb62b6cf 100644 --- a/src/components/pages/AppOverview/AddRoles.tsx +++ b/src/components/pages/AppOverview/AddRoles.tsx @@ -205,7 +205,7 @@ export default function AddRoles() {
) diff --git a/src/components/pages/AppOverview/ChangeDescription.tsx b/src/components/pages/AppOverview/ChangeDescription.tsx index b762c828f..976cdaacf 100644 --- a/src/components/pages/AppOverview/ChangeDescription.tsx +++ b/src/components/pages/AppOverview/ChangeDescription.tsx @@ -109,7 +109,7 @@ export default function ChangeDescription() { await saveDescription(saveData) .unwrap() .then(() => { - navigate(`/${PAGES.APPOVERVIEW}`, { + navigate(`/${PAGES.APP_OVERVIEW}`, { state: 'change-description-success', }) success(t('content.changeDescription.successMsg')) @@ -319,7 +319,7 @@ export default function ChangeDescription() { ) diff --git a/src/components/pages/IDPManagement/index.tsx b/src/components/pages/IDPManagement/index.tsx index fa9b4cdc0..7f71e40d7 100644 --- a/src/components/pages/IDPManagement/index.tsx +++ b/src/components/pages/IDPManagement/index.tsx @@ -38,7 +38,7 @@ export default function IDPManagement() {
- {t('idpmanagement.title')} + {t('idpManagement.title')} diff --git a/src/components/pages/NotificationCenter/NotificationItem.tsx b/src/components/pages/NotificationCenter/NotificationItem.tsx index df18b13ae..60bd90892 100644 --- a/src/components/pages/NotificationCenter/NotificationItem.tsx +++ b/src/components/pages/NotificationCenter/NotificationItem.tsx @@ -184,7 +184,7 @@ const NotificationConfig = ({ item }: { item: CXNotificationContent }) => { ) case NotificationType.APP_SUBSCRIPTION_REQUEST: return ( - + ) case NotificationType.APP_RELEASE_REQUEST: return @@ -193,24 +193,27 @@ const NotificationConfig = ({ item }: { item: CXNotificationContent }) => { ) case NotificationType.APP_RELEASE_REJECTION: - return + return case NotificationType.TECHNICAL_USER_CREATION: return ( ) case NotificationType.SERVICE_REQUEST: return ( ) case NotificationType.SERVICE_RELEASE_REQUEST: return ( - + ) case NotificationType.ROLE_UPDATE_APP_OFFER: return diff --git a/src/components/pages/OSPConsent/CompanyDetails.tsx b/src/components/pages/OSPConsent/CompanyDetails.tsx index 0962334c5..c5348b7cd 100644 --- a/src/components/pages/OSPConsent/CompanyDetails.tsx +++ b/src/components/pages/OSPConsent/CompanyDetails.tsx @@ -239,7 +239,7 @@ export const CompanyDetails = ({
{allConsentData?.companyRoles.map((role) => (
diff --git a/src/components/pages/OSPConsent/style.scss b/src/components/pages/OSPConsent/style.scss index 8a90f7e9d..b3c88e56f 100644 --- a/src/components/pages/OSPConsent/style.scss +++ b/src/components/pages/OSPConsent/style.scss @@ -81,7 +81,7 @@ margin: 30px 0 50px; .rolesList { - .company-role-section { + .companyRole-section { margin-bottom: 20px; .role-checkbox-row { diff --git a/src/components/pages/ServiceAdminBoard/index.tsx b/src/components/pages/ServiceAdminBoard/index.tsx index c6848d8a6..a10e70a5e 100644 --- a/src/components/pages/ServiceAdminBoard/index.tsx +++ b/src/components/pages/ServiceAdminBoard/index.tsx @@ -39,7 +39,7 @@ export default function ServiceAdminBoard() { }} fetchQuery={useFetchInReviewServicesQuery} isDynamicSearchEnabled={true} - type={PAGES.SERVICEADMINBOARD_DETAIL} + type={PAGES.SERVICE_ADMIN_BOARD_DETAIL} successApproveMsg={t('adminBoard.successApproveMsg')} errorApproveMsg={t('adminBoard.errorApproveMsg')} successDeclineMsg={t('adminBoard.successDeclineMsg')} diff --git a/src/components/pages/ServiceAdminBoardDetail/index.tsx b/src/components/pages/ServiceAdminBoardDetail/index.tsx index 5731be743..356680a28 100644 --- a/src/components/pages/ServiceAdminBoardDetail/index.tsx +++ b/src/components/pages/ServiceAdminBoardDetail/index.tsx @@ -122,7 +122,7 @@ export default function ServiceAdminBoardDetail() { color="secondary" size="small" onClick={() => { - navigate(`/${PAGES.SERVICEADMINBOARD}`) + navigate(`/${PAGES.SERVICE_ADMIN_BOARD}`) }} > {t('adminboardDetail.action.back')} @@ -284,7 +284,7 @@ export default function ServiceAdminBoardDetail() { color="secondary" size="small" onClick={() => { - navigate('/serviceadminboard') + navigate('/serviceAdminBoard') }} > {t('adminboardDetail.backToBoard')} diff --git a/src/components/pages/ServiceMarketplace/RecommendedServices.tsx b/src/components/pages/ServiceMarketplace/RecommendedServices.tsx index 3ba358825..ace4c3c83 100644 --- a/src/components/pages/ServiceMarketplace/RecommendedServices.tsx +++ b/src/components/pages/ServiceMarketplace/RecommendedServices.tsx @@ -53,7 +53,7 @@ export default function RecommendedServices({ }, []) const handleClick = (id: string) => { - navigate(`/servicemarketplacedetail/${id}`) + navigate(`/serviceMarketplaceDetail/${id}`) } if (services && services.length === 0) { diff --git a/src/components/pages/ServiceMarketplace/ServicesElements.tsx b/src/components/pages/ServiceMarketplace/ServicesElements.tsx index 0a93d7f08..ce48f2e15 100644 --- a/src/components/pages/ServiceMarketplace/ServicesElements.tsx +++ b/src/components/pages/ServiceMarketplace/ServicesElements.tsx @@ -50,7 +50,7 @@ export default function ServicesElements({ }, []) const handleClick = (id: string) => { - navigate(`/servicemarketplacedetail/${id}`) + navigate(`/serviceMarketplaceDetail/${id}`) } return ( diff --git a/src/components/pages/ServiceReleaseProcess/components/ServiceDeactivate.tsx b/src/components/pages/ServiceReleaseProcess/components/ServiceDeactivate.tsx index 4f9cf337c..1789e6cef 100644 --- a/src/components/pages/ServiceReleaseProcess/components/ServiceDeactivate.tsx +++ b/src/components/pages/ServiceReleaseProcess/components/ServiceDeactivate.tsx @@ -58,12 +58,12 @@ export default function ServiceDeactivate() { await deactivateService(service[0].id) .unwrap() .then(() => { - navigate(`/${PAGES.SERVICEOVERVIEW}`, { + navigate(`/${PAGES.SERVICE_OVERVIEW}`, { state: ServiceDeactivateEnum.SERVICE_DEACTIVATE_SUCCESS, }) }) .catch(() => { - navigate(`/${PAGES.SERVICEOVERVIEW}`, { + navigate(`/${PAGES.SERVICE_OVERVIEW}`, { state: ServiceDeactivateEnum.SERVICE_DEACTIVATE_ERROR, }) }) @@ -81,10 +81,10 @@ export default function ServiceDeactivate() { {service?.[0]?.title} - {t('serviceoverview.serviceDeactivate.headerTitle')} + {t('serviceOverview.serviceDeactivate.headerTitle')} - {t('serviceoverview.serviceDeactivate.description')} + {t('serviceOverview.serviceDeactivate.description')}
@@ -110,7 +110,7 @@ export default function ServiceDeactivate() { { e.target.checked ? setChecked(true) : setChecked(false) @@ -130,7 +130,7 @@ export default function ServiceDeactivate() { size="small" color="secondary" onClick={() => { - navigate('/serviceoverview') + navigate('/serviceOverview') }} > {t('global.actions.cancel')} @@ -139,7 +139,7 @@ export default function ServiceDeactivate() { tooltipPlacement="bottom-start" tooltipText={ !checked - ? t('serviceoverview.serviceDeactivate.checkboxErrorMsg') + ? t('serviceOverview.serviceDeactivate.checkboxErrorMsg') : '' } children={ diff --git a/src/components/pages/ServiceReleaseProcess/components/ServiceDetail.scss b/src/components/pages/ServiceReleaseProcess/components/ServiceDetail.scss index 68672884c..facf62b98 100644 --- a/src/components/pages/ServiceReleaseProcess/components/ServiceDetail.scss +++ b/src/components/pages/ServiceReleaseProcess/components/ServiceDetail.scss @@ -18,7 +18,7 @@ * SPDX-License-Identifier: Apache-2.0 ********************************************************************************/ -.servicedetail-main { +.serviceDetail-main { background-color: #eee; margin-left: auto; margin-right: auto; diff --git a/src/components/pages/ServiceReleaseProcess/components/ServiceDetails.tsx b/src/components/pages/ServiceReleaseProcess/components/ServiceDetails.tsx index ce082a542..19063b0bd 100644 --- a/src/components/pages/ServiceReleaseProcess/components/ServiceDetails.tsx +++ b/src/components/pages/ServiceReleaseProcess/components/ServiceDetails.tsx @@ -88,7 +88,7 @@ export default function ServiceDetails() {
{fetchServiceStatus && ( <> -
+
{ - navigate(`/${PAGES.SERVICERELEASEPROCESS}/form`) + navigate(`/${PAGES.SERVICE_RELEASE_PROCESS}/form`) dispatch(setServiceId('')) dispatch(setServiceReleaseActiveStep()) dispatch(setServiceStatus(initialState.serviceStatusData)) @@ -198,7 +198,7 @@ export default function ServiceListOverview() { return (
@@ -218,7 +218,7 @@ export default function ServiceListOverview() { onChange={(e) => { onSearch(e.target.value) }} - placeholder={t('serviceoverview.inputPlaceholder')} + placeholder={t('serviceOverview.inputPlaceholder')} /> @@ -258,7 +258,7 @@ export default function ServiceListOverview() { imageSize={'small'} imageLoader={fetchImageWithToken} showAddNewCard={false} - newButtonText={t('serviceoverview.addbtn')} + newButtonText={t('serviceOverview.addbtn')} onNewCardButton={onNewServiceCardClick} onCardClick={(item: CardItems) => { // TODO: workaround - fix CardItems type @@ -268,7 +268,7 @@ export default function ServiceListOverview() { cardItem.status === ProvidedServiceStatusEnum.CREATED ) { dispatch(setServiceId(item.id ?? '')) - navigate(`/${PAGES.SERVICERELEASEPROCESS}/form`) + navigate(`/${PAGES.SERVICE_RELEASE_PROCESS}/form`) } else { navigate(`/${PAGES.SERVICE_DETAIL}/${item.id}`) } @@ -281,12 +281,12 @@ export default function ServiceListOverview() { id: string | undefined ) => { sortMenu === ServiceSubMenuItems.DEACTIVATE && - navigate(`/${PAGES.SERVICEDEACTIVATE}/${id}`, { + navigate(`/${PAGES.SERVICE_DEACTIVATE}/${id}`, { state: items, }) return undefined }} - tooltipText={t('serviceoverview.submenuNotAvailable')} + tooltipText={t('serviceOverview.submenuNotAvailable')} />
) : ( @@ -318,8 +318,8 @@ export default function ServiceListOverview() { } description={ state === ServiceDeactivateEnum.SERVICE_DEACTIVATE_SUCCESS - ? t('serviceoverview.serviceDeactivate.successMsg') - : t('serviceoverview.serviceDeactivate.errorMsg') + ? t('serviceOverview.serviceDeactivate.successMsg') + : t('serviceOverview.serviceDeactivate.errorMsg') } showIcon={true} autoClose={true} diff --git a/src/components/pages/ServiceReleaseProcess/components/index.tsx b/src/components/pages/ServiceReleaseProcess/components/index.tsx index 00357a482..f32180f31 100644 --- a/src/components/pages/ServiceReleaseProcess/components/index.tsx +++ b/src/components/pages/ServiceReleaseProcess/components/index.tsx @@ -37,7 +37,7 @@ export default function ServiceReleaseProcessForm() { const dispatch = useDispatch() const onServiceOverviewClick = () => { - navigate('/serviceoverview') + navigate('/serviceOverview') dispatch(setServiceReleaseActiveStep()) } const serviceStatusData = useSelector(serviceStatusDataSelector) diff --git a/src/components/pages/ServiceReleaseProcess/index.tsx b/src/components/pages/ServiceReleaseProcess/index.tsx index b2281b999..39233c032 100644 --- a/src/components/pages/ServiceReleaseProcess/index.tsx +++ b/src/components/pages/ServiceReleaseProcess/index.tsx @@ -69,14 +69,14 @@ export default function ServiceReleaseProcess() { ] const onStartServiceClick = () => { - navigate(`/${PAGES.SERVICERELEASEPROCESS}/form`) + navigate(`/${PAGES.SERVICE_RELEASE_PROCESS}/form`) dispatch(setServiceReleaseActiveStep()) dispatch(setServiceId('')) dispatch(setServiceStatus(initialState.serviceStatusData)) } const onOverviewServiceButton = () => { - navigate('/serviceoverview') + navigate('/serviceOverview') } const requeredButtons = [ diff --git a/src/components/pages/TechnicalUserDetails/TechnicalUserDetailsContent.tsx b/src/components/pages/TechnicalUserDetails/TechnicalUserDetailsContent.tsx index ef22ea71d..ce8978b9a 100644 --- a/src/components/pages/TechnicalUserDetails/TechnicalUserDetailsContent.tsx +++ b/src/components/pages/TechnicalUserDetails/TechnicalUserDetailsContent.tsx @@ -115,7 +115,7 @@ export default function TechnicalUserDetailsContent({ variant="outlined" startIcon={} onClick={() => - dispatch(show(OVERLAYS.DELETE_TECHUSER, newData.serviceAccountId)) + dispatch(show(OVERLAYS.DELETE_TECH_USER, newData.serviceAccountId)) } > {t('content.usermanagement.technicalUser.delete')} diff --git a/src/components/pages/TechnicalUserDetails/index.tsx b/src/components/pages/TechnicalUserDetails/index.tsx index 88ee8f7dd..4b96d3a0f 100644 --- a/src/components/pages/TechnicalUserDetails/index.tsx +++ b/src/components/pages/TechnicalUserDetails/index.tsx @@ -33,8 +33,8 @@ export default function TechnicalUserDetails() { {data ? : } diff --git a/src/components/pages/TechnicalUserManagement/TechnicalUserTable.tsx b/src/components/pages/TechnicalUserManagement/TechnicalUserTable.tsx index 767cdc71d..49b7bcd6f 100644 --- a/src/components/pages/TechnicalUserManagement/TechnicalUserTable.tsx +++ b/src/components/pages/TechnicalUserManagement/TechnicalUserTable.tsx @@ -155,7 +155,7 @@ export const TechnicalUserTable = () => { //dispatch(show(OVERLAYS.TECHUSER, row.serviceAccountId)) { navigate( - `/${PAGES.TECHUSER_DETAILS}/${row.serviceAccountId}` + `/${PAGES.TECH_USER_DETAILS}/${row.serviceAccountId}` ) } } diff --git a/src/components/pages/TechnicalUserManagement/index.tsx b/src/components/pages/TechnicalUserManagement/index.tsx index 7ec7a9b1a..06735fd0a 100644 --- a/src/components/pages/TechnicalUserManagement/index.tsx +++ b/src/components/pages/TechnicalUserManagement/index.tsx @@ -45,7 +45,7 @@ export default function TechnicalUserManagement() { return (
@@ -65,7 +65,7 @@ export default function TechnicalUserManagement() { diff --git a/src/components/pages/UsecaseParticipation/UsecaseParticipation.scss b/src/components/pages/UsecaseParticipation/UsecaseParticipation.scss index d1c34fe23..64f98c3c3 100644 --- a/src/components/pages/UsecaseParticipation/UsecaseParticipation.scss +++ b/src/components/pages/UsecaseParticipation/UsecaseParticipation.scss @@ -17,8 +17,8 @@ * SPDX-License-Identifier: Apache-2.0 ********************************************************************************/ -.usecase-participation { - .usecase-main { +.useCaseParticipation { + .useCase-main { margin-top: 72px; } .container { @@ -67,7 +67,7 @@ border-bottom: 1px solid #dcdcdc; padding: 30px; } - .usecase-list-main { + .useCase-list-main { max-width: 850px; width: 100%; margin: 0 auto 50px; @@ -82,12 +82,12 @@ border: 0; border-top: 1px solid #dcdcdc; } - .usecase-list { + .useCase-list { margin-bottom: 30px; - .usecase-list-item { + .useCase-list-item { margin-bottom: 20px; display: flex; - .usecase-detail { + .useCase-detail { display: flex; width: 80%; svg { diff --git a/src/components/pages/UsecaseParticipation/index.tsx b/src/components/pages/UsecaseParticipation/index.tsx index 398bb07a1..bc8f10b27 100644 --- a/src/components/pages/UsecaseParticipation/index.tsx +++ b/src/components/pages/UsecaseParticipation/index.tsx @@ -139,8 +139,8 @@ export default function UsecaseParticipation() { } return ( -
-
+
+
{t('content.usecaseParticipation.heading')} @@ -176,7 +176,7 @@ export default function UsecaseParticipation() { {t('content.usecaseParticipation.noteDetail')}
-
+
    {isLoading ? (
    @@ -194,14 +194,14 @@ export default function UsecaseParticipation() { ) : ( data?.map((item) => { return ( -
    -
  • -
    +
    +
  • +
    {item.useCase} diff --git a/src/components/pages/UserManagement/AppArea/index.tsx b/src/components/pages/UserManagement/AppArea/index.tsx index fb94b12f1..db0c79c14 100644 --- a/src/components/pages/UserManagement/AppArea/index.tsx +++ b/src/components/pages/UserManagement/AppArea/index.tsx @@ -61,7 +61,7 @@ export const AppArea = () => { expandOnHover={false} filledBackground={true} onClick={() => { - navigate(`/appusermanagement/${item.offerId}`) + navigate(`/appUserManagement/${item.offerId}`) }} /> ) diff --git a/src/components/pages/UserManagement/StageSubNavigation/StageSubNavigation.tsx b/src/components/pages/UserManagement/StageSubNavigation/StageSubNavigation.tsx index e9a0faa86..7d3cc8db8 100644 --- a/src/components/pages/UserManagement/StageSubNavigation/StageSubNavigation.tsx +++ b/src/components/pages/UserManagement/StageSubNavigation/StageSubNavigation.tsx @@ -46,7 +46,7 @@ export const StageSubNavigation = () => { { - navigate('/technicaluser') + navigate('/technicalUserManagement') }} link1Label={t('navigation.subNavigation.link1Label')} onLink1Click={() => { diff --git a/src/components/shared/basic/ReleaseProcess/AppMarketCard/index.tsx b/src/components/shared/basic/ReleaseProcess/AppMarketCard/index.tsx index 27673a300..efee886a8 100644 --- a/src/components/shared/basic/ReleaseProcess/AppMarketCard/index.tsx +++ b/src/components/shared/basic/ReleaseProcess/AppMarketCard/index.tsx @@ -834,7 +834,7 @@ export default function AppMarketCard() { setAppCardSnackbar(false) }} onBackIconClick={() => { - navigate('/appmanagement') + navigate('/appManagement') }} // Add an ESLint exception until there is a solution // eslint-disable-next-line diff --git a/src/components/shared/basic/ReleaseProcess/ReleaseProcess.scss b/src/components/shared/basic/ReleaseProcess/ReleaseProcess.scss index 0110b3197..565e799bb 100644 --- a/src/components/shared/basic/ReleaseProcess/ReleaseProcess.scss +++ b/src/components/shared/basic/ReleaseProcess/ReleaseProcess.scss @@ -22,7 +22,7 @@ margin: 0 auto; } -.appoverview-main { +.appOverview-main { .desc-section { text-align: center; margin-top: 112px; diff --git a/src/components/shared/basic/ReleaseProcess/index.tsx b/src/components/shared/basic/ReleaseProcess/index.tsx index 7a36be410..bd2d051cb 100644 --- a/src/components/shared/basic/ReleaseProcess/index.tsx +++ b/src/components/shared/basic/ReleaseProcess/index.tsx @@ -79,7 +79,7 @@ export const ReleaseProcess = ({ registerButton, }: ReleaseProcessProps) => { return ( -
    +
    diff --git a/src/components/shared/frame/Footer/index.tsx b/src/components/shared/frame/Footer/index.tsx index 0a5c1425a..73229eff9 100644 --- a/src/components/shared/frame/Footer/index.tsx +++ b/src/components/shared/frame/Footer/index.tsx @@ -44,9 +44,9 @@ export const Footer = ({ pages }: { pages: string[] }) => { }) } const isAppOverviewPage = [ - PAGES.APPOVERVIEW, + PAGES.APP_OVERVIEW, PAGES.APP_MANAGEMENT, - PAGES.APPRELEASEPROCESS, + PAGES.APP_RELEASE_PROCESS, PAGES.SERVICE_MARKETPLACE, ].find((e) => location.pathname.split('/').includes(e)) @@ -54,8 +54,8 @@ export const Footer = ({ pages }: { pages: string[] }) => { location.pathname.split('/').includes(e) ) - const isAppReleaseProcessForm = [`${PAGES.APPRELEASEPROCESS}/form`].find(() => - location.pathname.split('/').includes('form') + const isAppReleaseProcessForm = [`${PAGES.APP_RELEASE_PROCESS}/form`].find( + () => location.pathname.split('/').includes('form') ) const [showScrollToTop, setShowScrollToTop] = useState(false) diff --git a/src/components/shared/templates/AdminBoard/AdminBoardElements.tsx b/src/components/shared/templates/AdminBoard/AdminBoardElements.tsx index 6203cdd61..e0f8df3ea 100644 --- a/src/components/shared/templates/AdminBoard/AdminBoardElements.tsx +++ b/src/components/shared/templates/AdminBoard/AdminBoardElements.tsx @@ -93,7 +93,7 @@ export default function AdminBoardElements({ const handleApprove = async (appId: string) => { setActionApprove(true) - if (type === PAGES.SERVICEADMINBOARD_DETAIL) { + if (type === PAGES.SERVICE_ADMIN_BOARD_DETAIL) { await approveServiceRequest(appId) .unwrap() .then(() => { @@ -140,7 +140,7 @@ export default function AdminBoardElements({ items={apps} onDelete={(appId: string) => { setActionApprove(false) - if (type === PAGES.SERVICEADMINBOARD_DETAIL) { + if (type === PAGES.SERVICE_ADMIN_BOARD_DETAIL) { dispatch(show(OVERLAYS.SERVICE_DECLINE_ADMINBOARD, appId)) } else { dispatch(show(OVERLAYS.APP_DECLINE_ADMINBOARD, appId)) diff --git a/src/services/AccessService.tsx b/src/services/AccessService.tsx index 86d5bfd42..7fb032325 100644 --- a/src/services/AccessService.tsx +++ b/src/services/AccessService.tsx @@ -133,9 +133,9 @@ export const getOverlay = (overlay: OverlayState) => { return case OVERLAYS.USER: return - case OVERLAYS.ADD_TECHUSER: + case OVERLAYS.ADD_TECH_USER: return - case OVERLAYS.DELETE_TECHUSER: + case OVERLAYS.DELETE_TECH_USER: return case OVERLAYS.ADD_APP_USER_ROLES: return diff --git a/src/types/Config.tsx b/src/types/Config.tsx index 83ddfec0c..387b73f24 100644 --- a/src/types/Config.tsx +++ b/src/types/Config.tsx @@ -214,37 +214,37 @@ export const ALL_PAGES: IPage[] = [ element: , }, { - name: PAGES.APPOVERVIEW, + name: PAGES.APP_OVERVIEW, role: ROLES.APPOVERVIEW_VIEW, element: , }, { - name: PAGES.APPOVERVIEW_NEW, + name: PAGES.APP_OVERVIEW_NEW, role: ROLES.APPOVERVIEW_VIEW, element: , }, { - name: PAGES.SERVICEOVERVIEW, + name: PAGES.SERVICE_OVERVIEW, role: ROLES.SERVICEOVERVIEW_VIEW, element: , }, { - name: PAGES.APPRELEASEPROCESS, + name: PAGES.APP_RELEASE_PROCESS, role: ROLES.APPOVERVIEW_VIEW, element: , }, { - name: PAGES.SERVICERELEASEPROCESS, + name: PAGES.SERVICE_RELEASE_PROCESS, role: ROLES.VIEW_SERVICE_RELEASE, element: , }, { - name: PAGES.APPSUBSCRIPTION, + name: PAGES.APP_SUBSCRIPTION, role: ROLES.APP_MANAGEMENT, element: , }, { - name: PAGES.SERVICESUBSCRIPTION, + name: PAGES.SERVICE_SUBSCRIPTION, role: ROLES.SERVICE_SUBSCRIPTION_MANAGEMENT, element: , }, @@ -254,7 +254,7 @@ export const ALL_PAGES: IPage[] = [ element: , }, { - name: PAGES.SERVICEADMINBOARD, + name: PAGES.SERVICE_ADMIN_BOARD, role: ROLES.APPROVE_SERVICE_RELEASE || ROLES.DECLINE_SERVICE_RELEASE, element: , }, @@ -274,13 +274,13 @@ export const ALL_PAGES: IPage[] = [ ), }, { - name: PAGES.SERVICEADMINBOARD_DETAIL, + name: PAGES.SERVICE_ADMIN_BOARD_DETAIL, role: ROLES.APPROVE_SERVICE_RELEASE || ROLES.DECLINE_SERVICE_RELEASE, isRoute: true, element: ( } > @@ -294,8 +294,8 @@ export const ALL_PAGES: IPage[] = [ role: ROLES.APPOVERVIEW_VIEW, element: ( } /> ), @@ -306,8 +306,8 @@ export const ALL_PAGES: IPage[] = [ role: ROLES.VIEW_SERVICE_RELEASE, element: ( } /> ), @@ -332,18 +332,18 @@ export const ALL_PAGES: IPage[] = [ ), }, { - name: PAGES.TECHUSER_MANAGEMENT, - role: ROLES.TECHUSER_VIEW, + name: PAGES.TECH_USER_MANAGEMENT, + role: ROLES.TECH_USER_VIEW, element: , }, { - name: PAGES.TECHUSER_DETAILS, - role: ROLES.TECHUSER_VIEW, + name: PAGES.TECH_USER_DETAILS, + role: ROLES.TECH_USER_VIEW, isRoute: true, element: ( } > } /> @@ -420,12 +420,12 @@ export const ALL_PAGES: IPage[] = [ ), }, { - name: PAGES.SERVICEDEACTIVATE, + name: PAGES.SERVICE_DEACTIVATE, isRoute: true, element: ( } > } /> @@ -491,9 +491,9 @@ export const ALL_PAGES: IPage[] = [ } + element={} > - } /> + } /> ), }, @@ -537,7 +537,7 @@ export const ALL_PAGES: IPage[] = [ element: , }, { - name: PAGES.ONBOARDING_SERVICEPROVIDER, + name: PAGES.ONBOARDING_SERVICE_PROVIDER, role: ROLES.IDP_VIEW, element: , }, @@ -595,12 +595,12 @@ export const ALL_OVERLAYS: IOverlay[] = [ role: ROLES.USERMANAGEMENT_ADD, }, { - name: OVERLAYS.ADD_TECHUSER, - role: ROLES.TECHUSER_ADD, + name: OVERLAYS.ADD_TECH_USER, + role: ROLES.TECH_USER_ADD, }, { - name: OVERLAYS.DELETE_TECHUSER, - role: ROLES.TECHUSER_DELETE, + name: OVERLAYS.DELETE_TECH_USER, + role: ROLES.TECH_USER_DELETE, }, { name: OVERLAYS.ADD_APP_USER_ROLES, @@ -769,22 +769,22 @@ export const mainMenuFullTree = [ { name: PAGES.APP_MANAGEMENT, children: [ - { name: PAGES.APPOVERVIEW, hint: HINTS.NEW }, - { name: PAGES.APPRELEASEPROCESS }, - { name: PAGES.APPSUBSCRIPTION, hint: HINTS.NEW }, + { name: PAGES.APP_OVERVIEW, hint: HINTS.NEW }, + { name: PAGES.APP_RELEASE_PROCESS }, + { name: PAGES.APP_SUBSCRIPTION, hint: HINTS.NEW }, { name: PAGES.ADMINBOARD, hint: HINTS.NEW }, ], }, { name: PAGES.SERVICE_MANAGEMENT, children: [ - { name: PAGES.SERVICEOVERVIEW, hint: HINTS.NEW }, - { name: PAGES.SERVICERELEASEPROCESS, hint: HINTS.NEW }, + { name: PAGES.SERVICE_OVERVIEW, hint: HINTS.NEW }, + { name: PAGES.SERVICE_RELEASE_PROCESS, hint: HINTS.NEW }, { - name: PAGES.SERVICESUBSCRIPTION, + name: PAGES.SERVICE_SUBSCRIPTION, hint: HINTS.NEW, }, - { name: PAGES.SERVICEADMINBOARD, hint: HINTS.NEW }, + { name: PAGES.SERVICE_ADMIN_BOARD, hint: HINTS.NEW }, ], }, ] diff --git a/src/types/Constants.ts b/src/types/Constants.ts index daeb9924d..3e4888a2f 100644 --- a/src/types/Constants.ts +++ b/src/types/Constants.ts @@ -28,30 +28,30 @@ export enum PAGES { REGISTRATION = 'registration', SWAGGER = 'swagger', STORYBOOK = 'storybook', - APPSUBSCRIPTION = 'appsubscription', + APP_SUBSCRIPTION = 'appSubscription', ADMINBOARD = 'adminboard', - ADMINBOARD_DETAIL = 'adminboarddetail', + ADMINBOARD_DETAIL = 'adminboardDetail', MARKETPLACE = 'marketplace', - APP_MARKETPLACE = 'appmarketplace', - SERVICE_MARKETPLACE = 'servicemarketplace', - SERVICE_MARKETPLACE_DETAIL = 'servicemarketplacedetail', + APP_MARKETPLACE = 'appMarketplace', + SERVICE_MARKETPLACE = 'serviceMarketplace', + SERVICE_MARKETPLACE_DETAIL = 'serviceMarketplaceDetail', APP_DETAIL = 'appdetail', - DATA_MANAGEMENT = 'datamanagement', + DATA_MANAGEMENT = 'dataManagement', SEMANTICHUB = 'semantichub', CONNECTOR = 'connector', ACCOUNT = 'account', USER_DETAILS = 'userdetails', NOTIFICATIONS = 'notifications', ORGANIZATION = 'organization', - PARTNER_NETWORK = 'partnernetwork', - USER_MANAGEMENT = 'usermanagement', - TECHNICAL_SETUP = 'technicalsetup', - CONNECTOR_MANAGEMENT = 'connectormanagement', - TECHUSER_MANAGEMENT = 'technicaluser', - TECHUSER_DETAILS = 'techuserdetails', - IDP_MANAGEMENT = 'idpmanagement', - APPLICATION_REQUESTS = 'applicationrequests', - APP_USER_MANAGEMENT = 'appusermanagement', + PARTNER_NETWORK = 'partnerNetwork', + USER_MANAGEMENT = 'userManagement', + TECHNICAL_SETUP = 'technicalSetup', + CONNECTOR_MANAGEMENT = 'connectorManagement', + TECH_USER_MANAGEMENT = 'technicalUserManagement', + TECH_USER_DETAILS = 'techUserDetails', + IDP_MANAGEMENT = 'idpManagement', + APPLICATION_REQUESTS = 'applicationRequests', + APP_USER_MANAGEMENT = 'appUserManagement', INVITE = 'invite', ADMINISTRATION = 'admin', HELP = 'help', @@ -60,101 +60,101 @@ export enum PAGES { IMPRINT = 'imprint', PRIVACY = 'privacy', TERMS = 'terms', - COOKIE_POLICY = 'cookiepolicy', + COOKIE_POLICY = 'cookiePolicy', SETTINGS = 'settings', DEVELOPER = 'developer', TEST = 'test', LOGOUT = 'logout', ERROR = 'error', - APP_MANAGEMENT = 'appmanagement', - APPOVERVIEW = 'appoverview', - APPOVERVIEW_NEW = 'appoverview-new', + APP_MANAGEMENT = 'appManagement', + APP_OVERVIEW = 'appOverview', + APP_OVERVIEW_NEW = 'appoverviewNew', DEACTIVATE = 'deactivate', - CHANGE_IMAGE = 'changeimage', - CHANGE_DESCRIPTION = 'changedescription', - ADD_ROLES = 'addroles', - CHANGE_DOCUMENTS = 'changedocuments', + CHANGE_IMAGE = 'changeImage', + CHANGE_DESCRIPTION = 'changeDescription', + ADD_ROLES = 'addRoles', + CHANGE_DOCUMENTS = 'changeDocuments', VIEW_DETAILS = 'viewDetails', - APPRELEASEPROCESS = 'appreleaseprocess', - APP_RELEASE_PROCESS_FORM = 'appreleaseprocess_form', - INTRODUCTION = 'companyroles', - INTRODUCTION_PARTICIPANT = 'companyrolesparticipant', - INTRODUCTION_APP_PROVIDER = 'companyrolesappprovider', - INTRODUCTION_SERVICE_PROVIDER = 'companyrolesserviceprovider', - INTRODUCTION_CONFORMITY_BODY = 'companyrolesconformitybody', - INTRODUCTION_OSP_BODY = 'companyrolesonboardingserviceprovider', - USE_CASE = 'usecase', - USE_CASE_TRACABILITY = 'usecasetraceablity', - SERVICE_MANAGEMENT = 'servicemanagement', - SERVICEOVERVIEW = 'serviceoverview', - SERVICEDEACTIVATE = 'servicedeactivate', - SERVICERELEASEPROCESS = 'servicereleaseprocess', - SERVICEADMINBOARD = 'serviceadminboard', - SERVICEADMINBOARD_DETAIL = 'serviceadminboarddetail', - SERVICESUBSCRIPTION = 'servicesubscription', - SERVICE_RELEASE_PROCESS_FORM = 'servicereleaseprocess_form', - ROLE_DETAILS = 'role-details', - SERVICE_DETAIL = 'servicedetail', - COMPANY_ROLE = 'company-role', - USECASE_PARTICIPATION = 'usecase-participation', + APP_RELEASE_PROCESS = 'appReleaseProcess', + APP_RELEASE_PROCESS_FORM = 'appReleaseProcessForm', + INTRODUCTION = 'companyRoles', + INTRODUCTION_PARTICIPANT = 'companyRolesParticipant', + INTRODUCTION_APP_PROVIDER = 'companyRolesAppProvider', + INTRODUCTION_SERVICE_PROVIDER = 'companyRolesServiceProvider', + INTRODUCTION_CONFORMITY_BODY = 'companyRolesConformityBody', + INTRODUCTION_OSP_BODY = 'companyRolesOnboardingServiceProvider', + USE_CASE = 'useCase', + USE_CASE_TRACABILITY = 'useCaseTraceablity', + SERVICE_MANAGEMENT = 'serviceManagement', + SERVICE_OVERVIEW = 'serviceOverview', + SERVICE_DEACTIVATE = 'serviceDeactivate', + SERVICE_RELEASE_PROCESS = 'serviceReleaseProcess', + SERVICE_ADMIN_BOARD = 'serviceAdminBoard', + SERVICE_ADMIN_BOARD_DETAIL = 'serviceAdminBoardDetail', + SERVICE_SUBSCRIPTION = 'serviceSubscription', + SERVICE_RELEASE_PROCESS_FORM = 'serviceReleaseProcessForm', + ROLE_DETAILS = 'roleDetails', + SERVICE_DETAIL = 'serviceDetail', + COMPANY_ROLE = 'companyRole', + USECASE_PARTICIPATION = 'useCaseParticipation', ABOUTPAGE = 'about', - CERTIFICATE_CREDENTIAL = 'certificate-credential', - DATA_SPACE = 'dataspace', - ADMIN_CREDENTIAL = 'admin-credential', - ONBOARDING_SERVICEPROVIDER = 'onboarding-serviceprovider', + CERTIFICATE_CREDENTIAL = 'certificateCredential', + DATA_SPACE = 'dataSpace', + ADMIN_CREDENTIAL = 'adminCredential', + ONBOARDING_SERVICE_PROVIDER = 'onboardingServiceProvider', COMPANY_CERTIFICATE = 'companyCertificate', COMPANY_WALLET = 'companyWallet', DECLINE = 'decline', - CONSENT_OSP = 'consent_osp', - COMPANY_SUBSCRIPTIONS = 'company-subscriptions', - COMPANY_SUBSCRIPTIONS_DETAIL = 'company-subscriptions-detail', - COMPANY_DATA = 'company_data', + CONSENT_OSP = 'consentOsp', + COMPANY_SUBSCRIPTIONS = 'companySubscriptions', + COMPANY_SUBSCRIPTIONS_DETAIL = 'companySubscriptionsDetail', + COMPANY_DATA = 'companyData', } export enum OVERLAYS { - NOT_FOUND = 'notfound', + NOT_FOUND = 'notFound', NONE = 'none', - ADD_USER = 'add_user', - ADD_MULTIPLE_USER = 'add_multiple_user', - ADD_APP_USER_ROLES = 'add_app_user_roles', - EDIT_APP_USER_ROLES = 'edit_app_user_roles', + ADD_USER = 'addUser', + ADD_MULTIPLE_USER = 'addMultipleUser', + ADD_APP_USER_ROLES = 'addAppUserRoles', + EDIT_APP_USER_ROLES = 'editAppUserRoles', USER = 'user', - ADD_TECHUSER = 'add_techuser', - DELETE_TECHUSER = 'delete_techuser', + ADD_TECH_USER = 'addTechUser', + DELETE_TECH_USER = 'deleteTechUser', NEWS = 'news', - ADD_BPN = 'add_bpn', - ADD_SUBSCRIPTION = 'add_subscription', + ADD_BPN = 'addBpn', + ADD_SUBSCRIPTION = 'addSubscription', INVITE = 'invite', PARTNER = 'partner', APP = 'app', - SERVICE_REQUEST = 'service_request', - APPMARKETPLACE_REQUEST = 'appmarketplace_request', - ADD_IDP = 'add_idp', - UPDATE_IDP = 'update_idp', - UPDATE_IDP_SUCCESS = 'update_idp_success', - ENABLE_IDP = 'enable_idp', - DISABLE_IDP = 'disable_idp', - DISABLE_MANAGED_IDP = 'disable_managed_idp', - DELETE_MANAGED_IDP = 'delete_managed_idp', - ADDUSERS_IDP = 'addusers_idp', - IDP_DETAILS = 'idp_details', - IDP_CONFIRM = 'idp_confirm', - ENABLE_IDP_SUCCESS = 'enable_idp_success', - REGISTER_OSP = 'register_osp', - REGISTER_NEXT_OSP = 'register_next_osp', - CONSENT_OSP = 'consent_osp', - APP_OVERVIEW_CONFIRM = 'app_overview_confirm', - APP_DETAILS_OVERLAY = 'app_details_overlay', - CONFIRM_USER_ACTION = 'confirm_user_action', - ADD_SERVICE_PROVIDER = 'add_service_provider', - APP_DECLINE_ADMINBOARD = 'app_decline_adminboard', - EDIT_PORTAL_ROLES = 'edit_portal_roles', - SERVICE_DECLINE_ADMINBOARD = 'decline_service_release', - UPDATE_COMPANY_ROLE = 'update_company_role', - EDIT_USECASE = 'edit_usecase', - UPDATE_CERTIFICATE = 'update_certificate', - COMPANY_CERTIFICATE_DETAILS = 'company_certificate_details', - COMPANY_CERTIFICATE_CONFIRM_DELETE = 'company_certificate_confirm_delete', + SERVICE_REQUEST = 'serviceRequest', + APPMARKETPLACE_REQUEST = 'appmarketplaceRequest', + ADD_IDP = 'addIdp', + UPDATE_IDP = 'updateIdp', + UPDATE_IDP_SUCCESS = 'updateIdpSuccess', + ENABLE_IDP = 'enableIdp', + DISABLE_IDP = 'disableIdp', + DISABLE_MANAGED_IDP = 'disableManagedIdp', + DELETE_MANAGED_IDP = 'deleteManagedIdp', + ADDUSERS_IDP = 'addUsersIdp', + IDP_DETAILS = 'idpDetails', + IDP_CONFIRM = 'idpConfirm', + ENABLE_IDP_SUCCESS = 'enableIdpSuccess', + REGISTER_OSP = 'registerOsp', + REGISTER_NEXT_OSP = 'registerNextOsp', + CONSENT_OSP = 'consentOsp', + APP_OVERVIEW_CONFIRM = 'appOverviewConfirm', + APP_DETAILS_OVERLAY = 'appDetailsOverlay', + CONFIRM_USER_ACTION = 'confirmUserAction', + ADD_SERVICE_PROVIDER = 'addServiceProvider', + APP_DECLINE_ADMINBOARD = 'appDeclineAdminboard', + EDIT_PORTAL_ROLES = 'editPortalRoles', + SERVICE_DECLINE_ADMINBOARD = 'declineServiceRelease', + UPDATE_COMPANY_ROLE = 'updateCompanyRole', + EDIT_USECASE = 'editUsecase', + UPDATE_CERTIFICATE = 'updateCertificate', + COMPANY_CERTIFICATE_DETAILS = 'companyCertificateDetails', + COMPANY_CERTIFICATE_CONFIRM_DELETE = 'companyCertificateConfirmDelete', } export enum ACTIONS { @@ -193,9 +193,9 @@ export enum ROLES { USERMANAGEMENT_VIEW = 'view_user_management', USERMANAGEMENT_ADD = 'add_user_account', USERMANAGEMENT_DELETE = 'delete_user_account', - TECHUSER_VIEW = 'view_tech_user_management', - TECHUSER_ADD = 'add_tech_user_management', - TECHUSER_DELETE = 'delete_tech_user_management', + TECH_USER_VIEW = 'view_tech_user_management', + TECH_USER_ADD = 'add_tech_user_management', + TECH_USER_DELETE = 'delete_tech_user_management', IDP_VIEW = 'view_idp', IDP_ADD = 'add_idp', IDP_DELETE = 'delete_idp', diff --git a/yarn.lock b/yarn.lock index 3d7217421..67f71462a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6034,4 +6034,4 @@ yn@3.1.1: yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" - integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== \ No newline at end of file