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
From 8e5f9ca8589d571928a1e0a1a1ef7e5ec4acd7d8 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Fri, 12 Jul 2024 17:38:29 +0200
Subject: [PATCH 8/9] build(deps): bump the dependencies group across 1
directory with 8 updates (#908)
Bumps the dependencies group with 8 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `4.1.6` | `4.1.7` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `3.3.0` | `3.4.0` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `5.3.0` | `6.3.0` |
| [github/codeql-action](https://github.com/github/codeql-action) | `3.25.6` | `3.25.11` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4.3.3` | `4.3.4` |
| [checkmarx/kics-github-action](https://github.com/checkmarx/kics-github-action) | `2.0.0` | `2.1.1` |
| [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) | `5.5.2` | `5.5.3` |
| [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) | `0.21.0` | `0.23.0` |
Updates `actions/checkout` from 4.1.6 to 4.1.7
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/a5ac7e51b41094c92402da3b24376905380afc29...692973e3d937129bcbf40652eb9f2f61becf3332)
Updates `docker/setup-buildx-action` from 3.3.0 to 3.4.0
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/d70bba72b1f3fd22344832f00baa16ece964efeb...4fd812986e6c8c2a69e18311145f9371337f27d4)
Updates `docker/build-push-action` from 5.3.0 to 6.3.0
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/2cdde995de11925a030ce8070c3d77a52ffcf1c0...1a162644f9a7e87d8f4b053101d1d9a712edc18c)
Updates `github/codeql-action` from 3.25.6 to 3.25.11
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/9fdb3e49720b44c48891d036bb502feb25684276...b611370bb5703a7efb587f9d136a52ea24c5c38c)
Updates `actions/upload-artifact` from 4.3.3 to 4.3.4
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/65462800fd760344b1a7b4382951275a0abb4808...0b2256b8c012f0828dc542b3febcab082c67f72b)
Updates `checkmarx/kics-github-action` from 2.0.0 to 2.1.1
- [Release notes](https://github.com/checkmarx/kics-github-action/releases)
- [Commits](https://github.com/checkmarx/kics-github-action/compare/d1b692d84c536f4e8696954ce7aab6818f95f5bc...252e73959bd4809a14863cbfbb42d7a90d5a4860)
Updates `amannn/action-semantic-pull-request` from 5.5.2 to 5.5.3
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/cfb60706e18bc85e8aec535e3c577abe8f70378e...0723387faaf9b38adef4775cd42cfd5155ed6017)
Updates `aquasecurity/trivy-action` from 0.21.0 to 0.23.0
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](https://github.com/aquasecurity/trivy-action/compare/fd25fed6972e341ff0007ddb61f77e88103953c2...7c2007bcb556501da015201bcba5aa14069b74e2)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: checkmarx/kics-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: amannn/action-semantic-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
.github/workflows/build.yml | 6 +++---
.github/workflows/checks.yml | 4 ++--
.github/workflows/codeql.yml | 8 ++++----
.github/workflows/dependencies.yaml | 4 ++--
.github/workflows/kics.yml | 6 +++---
.github/workflows/pullRequest-lint.yaml | 2 +-
.github/workflows/release-release_candidate.yml | 6 +++---
.github/workflows/release.yml | 8 ++++----
.github/workflows/release_candidate.yml | 6 +++---
.github/workflows/trivy-main.yml | 12 ++++++------
.github/workflows/trivy.yml | 12 ++++++------
11 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c9d54e513..949dfca27 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -43,7 +43,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -70,7 +70,7 @@ jobs:
run: yarn test:ci
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
+ uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
- name: Login to DockerHub
if: github.event_name != 'pull_request'
@@ -89,7 +89,7 @@ jobs:
type=raw,value=${{ github.sha }}
- name: Build and push Docker image
- uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
+ uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
with:
context: .
file: .conf/Dockerfile.prebuilt
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index 37b54afec..ef9f70af8 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -31,10 +31,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
node-version: 20
registry-url: https://registry.npmjs.org/
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 31046b433..2aa6d64d2 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -71,11 +71,11 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@9fdb3e49720b44c48891d036bb502feb25684276 # v2.227
+ uses: github/codeql-action/init@b611370bb5703a7efb587f9d136a52ea24c5c38c # v2.227
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -89,7 +89,7 @@ jobs:
# Automates dependency installation for Python, Ruby, and JavaScript, optimizing the CodeQL analysis setup.
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
- uses: github/codeql-action/autobuild@9fdb3e49720b44c48891d036bb502feb25684276 # v2.227
+ uses: github/codeql-action/autobuild@b611370bb5703a7efb587f9d136a52ea24c5c38c # v2.227
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -102,6 +102,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@9fdb3e49720b44c48891d036bb502feb25684276 # v2.227
+ uses: github/codeql-action/analyze@b611370bb5703a7efb587f9d136a52ea24c5c38c # v2.227
with:
category: '/language:${{matrix.language}}'
diff --git a/.github/workflows/dependencies.yaml b/.github/workflows/dependencies.yaml
index 62f0faba1..14c53e9e5 100644
--- a/.github/workflows/dependencies.yaml
+++ b/.github/workflows/dependencies.yaml
@@ -38,7 +38,7 @@ jobs:
java-version: '17'
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Generate Dependencies file
run: java -jar ./scripts/download/org.eclipse.dash.licenses-1.1.1.jar yarn.lock -project automotive.tractusx -summary DEPENDENCIES || true
@@ -65,7 +65,7 @@ jobs:
if: steps.dependencies-changed.outputs.changed == 'true'
- name: Upload DEPENDENCIES file
- uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
+ uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
with:
path: DEPENDENCIES
if: steps.dependencies-changed.outputs.changed == 'true'
diff --git a/.github/workflows/kics.yml b/.github/workflows/kics.yml
index 5d959db8a..2cbdea938 100644
--- a/.github/workflows/kics.yml
+++ b/.github/workflows/kics.yml
@@ -42,10 +42,10 @@ jobs:
security-events: write
steps:
- - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: KICS scan
- uses: checkmarx/kics-github-action@d1b692d84c536f4e8696954ce7aab6818f95f5bc # v2.0.0
+ uses: checkmarx/kics-github-action@252e73959bd4809a14863cbfbb42d7a90d5a4860 # v2.1.1
with:
# Scanning directory .
path: '.'
@@ -67,6 +67,6 @@ jobs:
# Upload findings to GitHub Advanced Security Dashboard
- name: Upload SARIF file for GitHub Advanced Security Dashboard
if: always()
- uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
+ uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
with:
sarif_file: kicsResults/results.sarif
diff --git a/.github/workflows/pullRequest-lint.yaml b/.github/workflows/pullRequest-lint.yaml
index ad251299f..af0a3c3ae 100644
--- a/.github/workflows/pullRequest-lint.yaml
+++ b/.github/workflows/pullRequest-lint.yaml
@@ -31,7 +31,7 @@ jobs:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- - uses: amannn/action-semantic-pull-request@cfb60706e18bc85e8aec535e3c577abe8f70378e # v5.5.2
+ - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
id: lint_pr_title
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/release-release_candidate.yml b/.github/workflows/release-release_candidate.yml
index 2bb68643f..8d8ea0a5f 100644
--- a/.github/workflows/release-release_candidate.yml
+++ b/.github/workflows/release-release_candidate.yml
@@ -43,7 +43,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -86,7 +86,7 @@ jobs:
run: yarn test:ci
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
+ uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
- name: Login to DockerHub
if: github.event_name != 'pull_request'
@@ -111,7 +111,7 @@ jobs:
type=semver,pattern=v{{major}}.{{minor}}
- name: Build and push Docker image
- uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
+ uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
with:
context: .
file: .conf/Dockerfile.prebuilt
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 669ce9015..d9be363cc 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -44,7 +44,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -87,7 +87,7 @@ jobs:
run: yarn test:ci
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
+ uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
- name: Login to DockerHub
if: github.event_name != 'pull_request'
@@ -112,7 +112,7 @@ jobs:
type=semver,pattern=v{{major}}.{{minor}}
- name: Build and push Docker image
- uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
+ uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
with:
context: .
file: .conf/Dockerfile.prebuilt
@@ -140,7 +140,7 @@ jobs:
run: echo "RELEASE_VERSION=${{ env.REF_NAME }}" >> $GITHUB_ENV
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Check for hotfix version
id: hf-check
diff --git a/.github/workflows/release_candidate.yml b/.github/workflows/release_candidate.yml
index e9b71775b..a3804dde7 100644
--- a/.github/workflows/release_candidate.yml
+++ b/.github/workflows/release_candidate.yml
@@ -43,7 +43,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Node
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -67,7 +67,7 @@ jobs:
run: yarn test:ci
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@d70bba72b1f3fd22344832f00baa16ece964efeb # v3.3.0
+ uses: docker/setup-buildx-action@4fd812986e6c8c2a69e18311145f9371337f27d4 # v3.4.0
- name: Login to DockerHub
if: github.event_name != 'pull_request'
@@ -86,7 +86,7 @@ jobs:
type=raw,value=${{ github.sha }}
- name: Build and push Docker image
- uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
+ uses: docker/build-push-action@1a162644f9a7e87d8f4b053101d1d9a712edc18c # v6.3.0
with:
context: .
file: .conf/Dockerfile.prebuilt
diff --git a/.github/workflows/trivy-main.yml b/.github/workflows/trivy-main.yml
index c6a3955cc..5b55d3abf 100644
--- a/.github/workflows/trivy-main.yml
+++ b/.github/workflows/trivy-main.yml
@@ -51,10 +51,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Run Trivy vulnerability scanner in repo mode
- uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2 # v0.21.0
+ uses: aquasecurity/trivy-action@7c2007bcb556501da015201bcba5aa14069b74e2 # v0.23.0
with:
scan-type: 'config'
hide-progress: false
@@ -63,7 +63,7 @@ jobs:
vuln-type: 'os,library'
- name: Upload Trivy scan results to GitHub Security tab
- uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
+ uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
if: always()
with:
sarif_file: 'trivy-results1.sarif'
@@ -77,7 +77,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# It's also possible to scan your private registry with Trivy's built-in image scan.
# All you have to do is set ENV vars.
@@ -86,7 +86,7 @@ jobs:
# For public images, no ENV vars must be set.
- name: Run Trivy vulnerability scanner
if: always()
- uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2 # v0.21.0
+ uses: aquasecurity/trivy-action@7c2007bcb556501da015201bcba5aa14069b74e2 # v0.23.0
with:
# Path to Docker image
image-ref: '${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:main'
@@ -96,6 +96,6 @@ jobs:
- name: Upload Trivy scan results to GitHub Security tab
if: always()
- uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
+ uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
with:
sarif_file: 'trivy-results2.sarif'
diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml
index 305d85800..d80163843 100644
--- a/.github/workflows/trivy.yml
+++ b/.github/workflows/trivy.yml
@@ -51,10 +51,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Run Trivy vulnerability scanner in repo mode
- uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2 # v0.21.0
+ uses: aquasecurity/trivy-action@7c2007bcb556501da015201bcba5aa14069b74e2 # v0.23.0
with:
scan-type: 'config'
hide-progress: false
@@ -63,7 +63,7 @@ jobs:
vuln-type: 'os,library'
- name: Upload Trivy scan results to GitHub Security tab
- uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
+ uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
if: always()
with:
sarif_file: 'trivy-results1.sarif'
@@ -77,7 +77,7 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
+ uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
# It's also possible to scan your private registry with Trivy's built-in image scan.
# All you have to do is set ENV vars.
@@ -86,7 +86,7 @@ jobs:
# For public images, no ENV vars must be set.
- name: Run Trivy vulnerability scanner
if: always()
- uses: aquasecurity/trivy-action@fd25fed6972e341ff0007ddb61f77e88103953c2 # v0.21.0
+ uses: aquasecurity/trivy-action@7c2007bcb556501da015201bcba5aa14069b74e2 # v0.23.0
with:
# Path to Docker image
image-ref: '${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}:latest'
@@ -96,6 +96,6 @@ jobs:
- name: Upload Trivy scan results to GitHub Security tab
if: always()
- uses: github/codeql-action/upload-sarif@9fdb3e49720b44c48891d036bb502feb25684276 # v3.25.6
+ uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
with:
sarif_file: 'trivy-results2.sarif'
From 8c6da7a47864e63b9f0454dca90614b497a3691b Mon Sep 17 00:00:00 2001
From: Manojava Koushik <111366021+manojava-gk@users.noreply.github.com>
Date: Tue, 16 Jul 2024 14:51:33 +0530
Subject: [PATCH 9/9] fix(read me): enhance cread me file and add coding
guidelines (#916)
---
README.md | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 76 insertions(+)
diff --git a/README.md b/README.md
index 940045976..13d07e386 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,82 @@ yarn start
Note: if you'd like to run the complete frontend application, follow the `Run frontend on localhost.md` guide available within the technical documentation of [portal-assets](https://github.com/eclipse-tractusx/portal-assets).
+## Coding guidelines
+
+### Naming conventions for custom components
+
+Folder, File and component name to be in Camel Case\
+Scss files to be in Camel Case\
+RTK folders and files to be in small case
+
+### Import Components
+
+Always use components from [portal-shared-components library](https://github.com/eclipse-tractusx/portal-shared-components)\
+Do not import components directly from mui
+
+### Allowed imports from mui
+
+Box, useMediaQuery
+
+### Guidelines for consistent styling and theming
+
+Do not use useTheme from mui\
+Use theme from the [portal-shared-components library](https://github.com/eclipse-tractusx/portal-shared-components)\
+Use custom class names to override default or mui styles\
+Use appropriate `Typography` for the text and do not override font family of it
+
+### Create new text locale file
+
+Create a new file in the respective `language` folder with the module name in `assets/locales`\
+Use small cases for the `json` file\
+
+ex: notifications.json
+
+### Add new text values in locale file
+
+Keys inside `json` file should be in Camel Case\
+
+ex: notificationTitle
+
+### Read text values from locale file
+
+Import `useTranslation` from `react-i18next`\
+Declare translation object using the specific module\
+
+```
+const { t } = useTranslation('notification')
+```
+
+Empty in the usetransation() will pull the data from `main.json` file
+
+```
+const { t } = useTranslation()
+```
+
+Usage ex:
+
+```
+t('header.title')
+```
+
+### Code formatting and linting
+
+Before committing your changes,
+
+s1. Remove all the disabled linter rules from `.eslintrc.json` and run `yarn lint` on your newly created file or folder to see the results 2. Disable linter rules is allowd only for the exceptional cases. Code comments with proper reason is mandatory
+
+### Handling of API responses and error states
+
+1. All the api call has to be addressed with a throbber in the UI
+2. Empty response to be shown with a proper message to the user
+3. API error has to be shown in a component with appropriate action\
+ a. Error code 4xx needs to show error component with message\
+ b. Error code 5xx should allow user to refetch the api once again.
+
+### State Managment
+
+URL path names to be in Camel Case
+
## Known Issues and Limitations
See [Known Knowns](/CHANGELOG.md#known-knowns).