From 4b9cd170544e5a2a126e7651a960ad8ae864f1a4 Mon Sep 17 00:00:00 2001 From: Mohammad Torkashvand <mohammad.torkashvand@geant.org> Date: Sat, 21 Sep 2024 10:46:31 +0200 Subject: [PATCH] upgrade core-lib to 2.1.0 --- configuration/configuration.ts | 6 ++++++ package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/configuration/configuration.ts b/configuration/configuration.ts index 9864906..c48a5d1 100644 --- a/configuration/configuration.ts +++ b/configuration/configuration.ts @@ -17,6 +17,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => { WORKFLOW_INFORMATION_LINK_URL, SHOW_WORKFLOW_INFORMATION_LINK, OAUTH2_ACTIVE, + ENABLE_SUPPORT_MENU_ITEM, + SUPPORT_MENU_ITEM_URL, } = getEnvironmentVariables([ 'USE_THEME_TOGGLE', 'ENVIRONMENT_NAME', @@ -29,6 +31,8 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => { 'WORKFLOW_INFORMATION_LINK_URL', 'SHOW_WORKFLOW_INFORMATION_LINK', 'OAUTH2_ACTIVE', + 'ENABLE_SUPPORT_MENU_ITEM', + 'SUPPORT_MENU_ITEM_URL', ]); const graphqlEndpointCore = `${ORCHESTRATOR_GRAPHQL_HOST}${ORCHESTRATOR_GRAPHQL_PATH}`; @@ -45,5 +49,7 @@ export const getInitialOrchestratorConfig = (): OrchestratorConfig => { workflowInformationLinkUrl: WORKFLOW_INFORMATION_LINK_URL, showWorkflowInformationLink: SHOW_WORKFLOW_INFORMATION_LINK?.toLowerCase() === 'true', + enableSupportMenuItem: ENABLE_SUPPORT_MENU_ITEM?.toLowerCase() === 'true', + supportMenuItemUrl: SUPPORT_MENU_ITEM_URL, }; }; diff --git a/package-lock.json b/package-lock.json index d626043..a842e9f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@emotion/css": "^11.11.2", "@emotion/react": "^11.11.1", "@open-policy-agent/opa-wasm": "^1.8.1", - "@orchestrator-ui/orchestrator-ui-components": "1.37.1", + "@orchestrator-ui/orchestrator-ui-components": "2.1.0", "@reduxjs/toolkit": "^2.0.1", "axios": "^1.7.2", "cytoscape": "^3.29.2", @@ -2474,9 +2474,9 @@ } }, "node_modules/@orchestrator-ui/orchestrator-ui-components": { - "version": "1.37.1", - "resolved": "https://registry.npmjs.org/@orchestrator-ui/orchestrator-ui-components/-/orchestrator-ui-components-1.37.1.tgz", - "integrity": "sha512-RObgbUsIn2zRBUjv21HrQzNWK5FmiyQmOQ+L2uiJkDeDhtJ9VBSJYqu+X5ZL5qNcO/QW5EAfl8I4xH+wfXTofg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@orchestrator-ui/orchestrator-ui-components/-/orchestrator-ui-components-2.1.0.tgz", + "integrity": "sha512-f+VumJfyDiRQN9On6U+9lNyYUvSp5zYkcu3MqblhuXWbpQmuaWyQqfOrM9VQ/mPcpADSErXUdNLZHAhhE03JOw==", "license": "Apache-2.0", "dependencies": { "@elastic/eui": "^95.1.0", diff --git a/package.json b/package.json index 0c1107d..ca18198 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@emotion/css": "^11.11.2", "@emotion/react": "^11.11.1", "@open-policy-agent/opa-wasm": "^1.8.1", - "@orchestrator-ui/orchestrator-ui-components": "1.37.1", + "@orchestrator-ui/orchestrator-ui-components": "2.1.0", "@reduxjs/toolkit": "^2.0.1", "axios": "^1.7.2", "cytoscape": "^3.29.2", -- GitLab