diff --git a/packages/manager/apps/hub/README.md b/packages/manager/apps/hub-react/README.md similarity index 100% rename from packages/manager/apps/hub/README.md rename to packages/manager/apps/hub-react/README.md diff --git a/packages/manager/apps/hub/cucumber.js b/packages/manager/apps/hub-react/cucumber.js similarity index 100% rename from packages/manager/apps/hub/cucumber.js rename to packages/manager/apps/hub-react/cucumber.js diff --git a/packages/manager/apps/hub/index.html b/packages/manager/apps/hub-react/index.html similarity index 100% rename from packages/manager/apps/hub/index.html rename to packages/manager/apps/hub-react/index.html diff --git a/packages/manager/apps/hub-react/package.json b/packages/manager/apps/hub-react/package.json new file mode 100644 index 000000000000..77c74e62a07f --- /dev/null +++ b/packages/manager/apps/hub-react/package.json @@ -0,0 +1,68 @@ +{ + "name": "@ovh-ux/manager-hub-react-app", + "version": "0.0.0", + "private": true, + "description": "OVHcloud Dashboard control panel.", + "repository": { + "type": "git", + "url": "git+https://github.com/ovh/manager.git", + "directory": "packages/manager/apps/hub-react" + }, + "license": "BSD-3-Clause", + "author": "OVH SAS", + "scripts": { + "build": "tsc && vite build", + "dev": "tsc && vite", + "start": "lerna exec --stream --scope='@ovh-ux/manager-hub-react-app' --include-dependencies -- npm run build --if-present", + "start:dev": "lerna exec --stream --scope='@ovh-ux/manager-hub-react-app' --include-dependencies -- npm run dev --if-present", + "start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-hub-react-app' --include-dependencies -- npm run dev:watch --if-present", + "test": "vitest run", + "test:e2e": "tsc && node ../../../../scripts/run-playwright-bdd.js", + "test:e2e:ci": "tsc && node ../../../../scripts/run-playwright-bdd.js --ci", + "test:watch": "vitest watch" + }, + "dependencies": { + "@ovh-ux/manager-config": "^7.3.3", + "@ovh-ux/manager-core-api": "^0.8.0", + "@ovh-ux/manager-models": "^1.14.13", + "@ovh-ux/manager-react-components": "^1.31.0", + "@ovh-ux/manager-react-shell-client": "^0.7.0", + "@ovh-ux/manager-tailwind-config": "^0.2.0", + "@ovh-ux/request-tagger": "^0.3.0", + "@ovhcloud/ods-common-core": "17.2.1", + "@ovhcloud/ods-common-theming": "17.2.1", + "@ovhcloud/ods-components": "17.2.1", + "@ovhcloud/ods-theme-blue-jeans": "17.2.1", + "@tanstack/react-query": "^5.51.21", + "@tanstack/react-query-devtools": "^5.51.21", + "axios": "^1.1.2", + "clsx": "^1.2.1", + "i18next": "^23.8.2", + "i18next-http-backend": "^2.4.2", + "punycode": "^2.3.1", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-i18next": "^14.0.5", + "react-router-dom": "^6.3.0", + "tailwindcss": "^3.4.4" + }, + "devDependencies": { + "@cucumber/cucumber": "^10.3.1", + "@ovh-ux/manager-vite-config": "^0.8.0", + "@playwright/test": "^1.41.2", + "@testing-library/jest-dom": "^6.4.6", + "@testing-library/react": "^14.1.2", + "@types/punycode": "^2.1.4", + "@vitejs/plugin-react": "^4.2.1", + "@vitest/coverage-v8": "^1.2.0", + "element-internals-polyfill": "^1.3.10", + "typescript": "^5.1.6", + "vite": "^5.2.13", + "vitest": "^1.2.0" + }, + "regions": [ + "CA", + "EU", + "US" + ] +} diff --git a/packages/manager/apps/hub/playwright.config.ts b/packages/manager/apps/hub-react/playwright.config.ts similarity index 100% rename from packages/manager/apps/hub/playwright.config.ts rename to packages/manager/apps/hub-react/playwright.config.ts diff --git a/packages/manager/apps/hub/postcss.config.js b/packages/manager/apps/hub-react/postcss.config.js similarity index 100% rename from packages/manager/apps/hub/postcss.config.js rename to packages/manager/apps/hub-react/postcss.config.js diff --git a/packages/manager/apps/hub/public/translations/billing/actions/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/billing/actions/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/actions/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/billing/actions/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/billing/actions/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/billing/actions/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/actions/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/billing/actions/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/billing/actions/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/billing/actions/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/actions/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/billing/actions/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/billing/actions/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/billing/actions/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/actions/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/billing/actions/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/billing/actions/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/billing/actions/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/actions/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/billing/actions/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/billing/actions/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/billing/actions/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/actions/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/billing/actions/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/billing/actions/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/billing/actions/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/actions/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/billing/actions/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/billing/actions/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/billing/actions/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/actions/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/billing/actions/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/billing/status/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/billing/status/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/status/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/billing/status/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/billing/status/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/billing/status/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/status/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/billing/status/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/billing/status/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/billing/status/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/status/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/billing/status/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/billing/status/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/billing/status/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/status/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/billing/status/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/billing/status/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/billing/status/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/status/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/billing/status/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/billing/status/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/billing/status/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/status/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/billing/status/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/billing/status/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/billing/status/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/status/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/billing/status/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/billing/status/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/billing/status/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/billing/status/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/billing/status/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/hub/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/hub/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/hub/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/hub/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/hub/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/hub/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/hub/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/hub/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/hub/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/hub/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/hub/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/hub/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/hub/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/hub/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/hub/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/hub/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/hub/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/hub/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/hub/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/hub/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/hub/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/hub/billing/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/hub/billing/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/billing/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/hub/billing/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/hub/billing/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/hub/billing/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/billing/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/hub/billing/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/hub/billing/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/hub/billing/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/billing/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/hub/billing/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/hub/billing/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/hub/billing/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/billing/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/hub/billing/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/hub/billing/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/billing/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/billing/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/billing/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/billing/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/hub/billing/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/billing/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/hub/billing/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/hub/billing/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/hub/billing/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/billing/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/hub/billing/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/hub/billing/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/hub/billing/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/billing/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/hub/billing/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/hub/catalog/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/catalog/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/hub/catalog/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/catalog/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/hub/catalog/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/catalog/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/hub/catalog/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/catalog/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/hub/catalog/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/catalog/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/catalog/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/catalog/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/hub/catalog/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/catalog/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/hub/catalog/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/catalog/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/hub/catalog/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/hub/error/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/hub/error/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/error/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/hub/error/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/hub/error/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/hub/error/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/error/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/hub/error/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/hub/error/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/hub/error/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/error/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/hub/error/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/hub/error/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/hub/error/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/error/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/hub/error/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/hub/error/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/error/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/error/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/error/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/error/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/hub/error/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/error/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/hub/error/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/hub/error/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/hub/error/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/error/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/hub/error/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/hub/error/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/hub/error/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/error/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/hub/error/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/hub/kyc/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/kyc/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/kyc/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/kyc/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/order/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/hub/order/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/order/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/hub/order/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/hub/order/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/hub/order/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/order/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/hub/order/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/hub/order/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/hub/order/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/order/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/hub/order/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/hub/order/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/hub/order/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/order/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/hub/order/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/hub/order/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/order/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/order/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/order/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/order/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/hub/order/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/order/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/hub/order/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/hub/order/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/hub/order/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/order/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/hub/order/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/hub/order/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/hub/order/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/order/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/hub/order/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/hub/payment-status/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/payment-status/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/hub/payment-status/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/payment-status/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/hub/payment-status/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/payment-status/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/hub/payment-status/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/payment-status/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/hub/payment-status/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/payment-status/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/payment-status/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/payment-status/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/hub/payment-status/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/payment-status/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/hub/payment-status/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/payment-status/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/hub/payment-status/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/hub/products/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/hub/products/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/products/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/hub/products/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/hub/products/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/hub/products/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/products/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/hub/products/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/hub/products/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/hub/products/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/products/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/hub/products/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/hub/products/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/hub/products/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/products/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/hub/products/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/hub/products/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/products/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/products/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/products/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/products/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/hub/products/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/products/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/hub/products/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/hub/products/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/hub/products/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/products/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/hub/products/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/hub/products/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/hub/products/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/products/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/hub/products/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/public/translations/hub/siret/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/siret/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/siret/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/siret/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/support/Messages_de_DE.json b/packages/manager/apps/hub-react/public/translations/hub/support/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/support/Messages_de_DE.json rename to packages/manager/apps/hub-react/public/translations/hub/support/Messages_de_DE.json diff --git a/packages/manager/apps/hub/public/translations/hub/support/Messages_en_GB.json b/packages/manager/apps/hub-react/public/translations/hub/support/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/support/Messages_en_GB.json rename to packages/manager/apps/hub-react/public/translations/hub/support/Messages_en_GB.json diff --git a/packages/manager/apps/hub/public/translations/hub/support/Messages_es_ES.json b/packages/manager/apps/hub-react/public/translations/hub/support/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/support/Messages_es_ES.json rename to packages/manager/apps/hub-react/public/translations/hub/support/Messages_es_ES.json diff --git a/packages/manager/apps/hub/public/translations/hub/support/Messages_fr_CA.json b/packages/manager/apps/hub-react/public/translations/hub/support/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/support/Messages_fr_CA.json rename to packages/manager/apps/hub-react/public/translations/hub/support/Messages_fr_CA.json diff --git a/packages/manager/apps/hub/public/translations/hub/support/Messages_fr_FR.json b/packages/manager/apps/hub-react/public/translations/hub/support/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/support/Messages_fr_FR.json rename to packages/manager/apps/hub-react/public/translations/hub/support/Messages_fr_FR.json diff --git a/packages/manager/apps/hub/public/translations/hub/support/Messages_it_IT.json b/packages/manager/apps/hub-react/public/translations/hub/support/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/support/Messages_it_IT.json rename to packages/manager/apps/hub-react/public/translations/hub/support/Messages_it_IT.json diff --git a/packages/manager/apps/hub/public/translations/hub/support/Messages_pl_PL.json b/packages/manager/apps/hub-react/public/translations/hub/support/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/support/Messages_pl_PL.json rename to packages/manager/apps/hub-react/public/translations/hub/support/Messages_pl_PL.json diff --git a/packages/manager/apps/hub/public/translations/hub/support/Messages_pt_PT.json b/packages/manager/apps/hub-react/public/translations/hub/support/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub/public/translations/hub/support/Messages_pt_PT.json rename to packages/manager/apps/hub-react/public/translations/hub/support/Messages_pt_PT.json diff --git a/packages/manager/apps/hub/src/App.tsx b/packages/manager/apps/hub-react/src/App.tsx similarity index 100% rename from packages/manager/apps/hub/src/App.tsx rename to packages/manager/apps/hub-react/src/App.tsx diff --git a/packages/manager/apps/hub/src/_mock_/billingServices.ts b/packages/manager/apps/hub-react/src/_mock_/billingServices.ts similarity index 100% rename from packages/manager/apps/hub/src/_mock_/billingServices.ts rename to packages/manager/apps/hub-react/src/_mock_/billingServices.ts diff --git a/packages/manager/apps/hub/src/_mock_/catalog.ts b/packages/manager/apps/hub-react/src/_mock_/catalog.ts similarity index 100% rename from packages/manager/apps/hub/src/_mock_/catalog.ts rename to packages/manager/apps/hub-react/src/_mock_/catalog.ts diff --git a/packages/manager/apps/hub/src/_mock_/products.ts b/packages/manager/apps/hub-react/src/_mock_/products.ts similarity index 100% rename from packages/manager/apps/hub/src/_mock_/products.ts rename to packages/manager/apps/hub-react/src/_mock_/products.ts diff --git a/packages/manager/apps/hub/src/billing.constants.ts b/packages/manager/apps/hub-react/src/billing.constants.ts similarity index 100% rename from packages/manager/apps/hub/src/billing.constants.ts rename to packages/manager/apps/hub-react/src/billing.constants.ts diff --git a/packages/manager/apps/hub/src/billing/components/billing-status/BillingStatus.component.tsx b/packages/manager/apps/hub-react/src/billing/components/billing-status/BillingStatus.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/billing/components/billing-status/BillingStatus.component.tsx rename to packages/manager/apps/hub-react/src/billing/components/billing-status/BillingStatus.component.tsx diff --git a/packages/manager/apps/hub/src/billing/components/billing-status/BillingStatus.constants.ts b/packages/manager/apps/hub-react/src/billing/components/billing-status/BillingStatus.constants.ts similarity index 100% rename from packages/manager/apps/hub/src/billing/components/billing-status/BillingStatus.constants.ts rename to packages/manager/apps/hub-react/src/billing/components/billing-status/BillingStatus.constants.ts diff --git a/packages/manager/apps/hub/src/billing/components/services-actions/ServicesActions.component.tsx b/packages/manager/apps/hub-react/src/billing/components/services-actions/ServicesActions.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/billing/components/services-actions/ServicesActions.component.tsx rename to packages/manager/apps/hub-react/src/billing/components/services-actions/ServicesActions.component.tsx diff --git a/packages/manager/apps/hub/src/billing/hooks/useServiceActions.ts b/packages/manager/apps/hub-react/src/billing/hooks/useServiceActions.ts similarity index 100% rename from packages/manager/apps/hub/src/billing/hooks/useServiceActions.ts rename to packages/manager/apps/hub-react/src/billing/hooks/useServiceActions.ts diff --git a/packages/manager/apps/hub/src/billing/hooks/useServiceLinks.tsx b/packages/manager/apps/hub-react/src/billing/hooks/useServiceLinks.tsx similarity index 100% rename from packages/manager/apps/hub/src/billing/hooks/useServiceLinks.tsx rename to packages/manager/apps/hub-react/src/billing/hooks/useServiceLinks.tsx diff --git a/packages/manager/apps/hub/src/billing/types/billingServices.type.ts b/packages/manager/apps/hub-react/src/billing/types/billingServices.type.ts similarity index 100% rename from packages/manager/apps/hub/src/billing/types/billingServices.type.ts rename to packages/manager/apps/hub-react/src/billing/types/billingServices.type.ts diff --git a/packages/manager/apps/hub/src/billing/types/service-links.type.ts b/packages/manager/apps/hub-react/src/billing/types/service-links.type.ts similarity index 100% rename from packages/manager/apps/hub/src/billing/types/service-links.type.ts rename to packages/manager/apps/hub-react/src/billing/types/service-links.type.ts diff --git a/packages/manager/apps/hub/src/components/banner/Banner.component.tsx b/packages/manager/apps/hub-react/src/components/banner/Banner.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/banner/Banner.component.tsx rename to packages/manager/apps/hub-react/src/components/banner/Banner.component.tsx diff --git a/packages/manager/apps/hub/src/components/banner/Banner.spec.tsx b/packages/manager/apps/hub-react/src/components/banner/Banner.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/banner/Banner.spec.tsx rename to packages/manager/apps/hub-react/src/components/banner/Banner.spec.tsx diff --git a/packages/manager/apps/hub/src/components/hub-order-tracking/HubOrderTracking.component.tsx b/packages/manager/apps/hub-react/src/components/hub-order-tracking/HubOrderTracking.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-order-tracking/HubOrderTracking.component.tsx rename to packages/manager/apps/hub-react/src/components/hub-order-tracking/HubOrderTracking.component.tsx diff --git a/packages/manager/apps/hub/src/components/hub-order-tracking/HubOrderTracking.spec.tsx b/packages/manager/apps/hub-react/src/components/hub-order-tracking/HubOrderTracking.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-order-tracking/HubOrderTracking.spec.tsx rename to packages/manager/apps/hub-react/src/components/hub-order-tracking/HubOrderTracking.spec.tsx diff --git a/packages/manager/apps/hub/src/components/hub-support/HubSupport.component.tsx b/packages/manager/apps/hub-react/src/components/hub-support/HubSupport.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/HubSupport.component.tsx rename to packages/manager/apps/hub-react/src/components/hub-support/HubSupport.component.tsx diff --git a/packages/manager/apps/hub/src/components/hub-support/HubSupport.constants.ts b/packages/manager/apps/hub-react/src/components/hub-support/HubSupport.constants.ts similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/HubSupport.constants.ts rename to packages/manager/apps/hub-react/src/components/hub-support/HubSupport.constants.ts diff --git a/packages/manager/apps/hub/src/components/hub-support/HubSupport.spec.tsx b/packages/manager/apps/hub-react/src/components/hub-support/HubSupport.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/HubSupport.spec.tsx rename to packages/manager/apps/hub-react/src/components/hub-support/HubSupport.spec.tsx diff --git a/packages/manager/apps/hub/src/components/hub-support/assets/assistance.png b/packages/manager/apps/hub-react/src/components/hub-support/assets/assistance.png similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/assets/assistance.png rename to packages/manager/apps/hub-react/src/components/hub-support/assets/assistance.png diff --git a/packages/manager/apps/hub/src/components/hub-support/hub-support-help/HubSupportHelp.component.tsx b/packages/manager/apps/hub-react/src/components/hub-support/hub-support-help/HubSupportHelp.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/hub-support-help/HubSupportHelp.component.tsx rename to packages/manager/apps/hub-react/src/components/hub-support/hub-support-help/HubSupportHelp.component.tsx diff --git a/packages/manager/apps/hub/src/components/hub-support/hub-support-help/HubSupportHelp.spec.tsx b/packages/manager/apps/hub-react/src/components/hub-support/hub-support-help/HubSupportHelp.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/hub-support-help/HubSupportHelp.spec.tsx rename to packages/manager/apps/hub-react/src/components/hub-support/hub-support-help/HubSupportHelp.spec.tsx diff --git a/packages/manager/apps/hub/src/components/hub-support/hub-support-table/HubSupportTable.component.tsx b/packages/manager/apps/hub-react/src/components/hub-support/hub-support-table/HubSupportTable.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/hub-support-table/HubSupportTable.component.tsx rename to packages/manager/apps/hub-react/src/components/hub-support/hub-support-table/HubSupportTable.component.tsx diff --git a/packages/manager/apps/hub/src/components/hub-support/hub-support-table/HubSupportTable.spec.tsx b/packages/manager/apps/hub-react/src/components/hub-support/hub-support-table/HubSupportTable.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/hub-support-table/HubSupportTable.spec.tsx rename to packages/manager/apps/hub-react/src/components/hub-support/hub-support-table/HubSupportTable.spec.tsx diff --git a/packages/manager/apps/hub/src/components/hub-support/hub-support-table/hub-support-table-item/HubSupportTableItem.component.tsx b/packages/manager/apps/hub-react/src/components/hub-support/hub-support-table/hub-support-table-item/HubSupportTableItem.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/hub-support-table/hub-support-table-item/HubSupportTableItem.component.tsx rename to packages/manager/apps/hub-react/src/components/hub-support/hub-support-table/hub-support-table-item/HubSupportTableItem.component.tsx diff --git a/packages/manager/apps/hub/src/components/hub-support/hub-support-table/hub-support-table-item/HubSupportTableItem.spec.tsx b/packages/manager/apps/hub-react/src/components/hub-support/hub-support-table/hub-support-table-item/HubSupportTableItem.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/hub-support/hub-support-table/hub-support-table-item/HubSupportTableItem.spec.tsx rename to packages/manager/apps/hub-react/src/components/hub-support/hub-support-table/hub-support-table-item/HubSupportTableItem.spec.tsx diff --git a/packages/manager/apps/hub/src/components/products/Products.component.tsx b/packages/manager/apps/hub-react/src/components/products/Products.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/products/Products.component.tsx rename to packages/manager/apps/hub-react/src/components/products/Products.component.tsx diff --git a/packages/manager/apps/hub/src/components/products/Products.constants.ts b/packages/manager/apps/hub-react/src/components/products/Products.constants.ts similarity index 100% rename from packages/manager/apps/hub/src/components/products/Products.constants.ts rename to packages/manager/apps/hub-react/src/components/products/Products.constants.ts diff --git a/packages/manager/apps/hub/src/components/products/Products.spec.tsx b/packages/manager/apps/hub-react/src/components/products/Products.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/products/Products.spec.tsx rename to packages/manager/apps/hub-react/src/components/products/Products.spec.tsx diff --git a/packages/manager/apps/hub/src/components/products/Products.style.scss b/packages/manager/apps/hub-react/src/components/products/Products.style.scss similarity index 100% rename from packages/manager/apps/hub/src/components/products/Products.style.scss rename to packages/manager/apps/hub-react/src/components/products/Products.style.scss diff --git a/packages/manager/apps/hub/src/components/skeletons/Skeletons.component.tsx b/packages/manager/apps/hub-react/src/components/skeletons/Skeletons.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/skeletons/Skeletons.component.tsx rename to packages/manager/apps/hub-react/src/components/skeletons/Skeletons.component.tsx diff --git a/packages/manager/apps/hub/src/components/skeletons/Skeletons.spec.tsx b/packages/manager/apps/hub-react/src/components/skeletons/Skeletons.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/skeletons/Skeletons.spec.tsx rename to packages/manager/apps/hub-react/src/components/skeletons/Skeletons.spec.tsx diff --git a/packages/manager/apps/hub/src/components/tile-error/TileError.component.spec.tsx b/packages/manager/apps/hub-react/src/components/tile-error/TileError.component.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/tile-error/TileError.component.spec.tsx rename to packages/manager/apps/hub-react/src/components/tile-error/TileError.component.spec.tsx diff --git a/packages/manager/apps/hub/src/components/tile-error/TileError.component.tsx b/packages/manager/apps/hub-react/src/components/tile-error/TileError.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/tile-error/TileError.component.tsx rename to packages/manager/apps/hub-react/src/components/tile-error/TileError.component.tsx diff --git a/packages/manager/apps/hub/src/components/tile-grid-skeleton/TileGridSkeleton.component.tsx b/packages/manager/apps/hub-react/src/components/tile-grid-skeleton/TileGridSkeleton.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/tile-grid-skeleton/TileGridSkeleton.component.tsx rename to packages/manager/apps/hub-react/src/components/tile-grid-skeleton/TileGridSkeleton.component.tsx diff --git a/packages/manager/apps/hub/src/components/tile-grid-skeleton/TileGridSkeleton.spec.tsx b/packages/manager/apps/hub-react/src/components/tile-grid-skeleton/TileGridSkeleton.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/tile-grid-skeleton/TileGridSkeleton.spec.tsx rename to packages/manager/apps/hub-react/src/components/tile-grid-skeleton/TileGridSkeleton.spec.tsx diff --git a/packages/manager/apps/hub/src/components/tile-grid-skeleton/tile-skeleton/TileSkeleton.component.tsx b/packages/manager/apps/hub-react/src/components/tile-grid-skeleton/tile-skeleton/TileSkeleton.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/tile-grid-skeleton/tile-skeleton/TileSkeleton.component.tsx rename to packages/manager/apps/hub-react/src/components/tile-grid-skeleton/tile-skeleton/TileSkeleton.component.tsx diff --git a/packages/manager/apps/hub/src/components/tile-grid-skeleton/tile-skeleton/TileSkeleton.spec.tsx b/packages/manager/apps/hub-react/src/components/tile-grid-skeleton/tile-skeleton/TileSkeleton.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/tile-grid-skeleton/tile-skeleton/TileSkeleton.spec.tsx rename to packages/manager/apps/hub-react/src/components/tile-grid-skeleton/tile-skeleton/TileSkeleton.spec.tsx diff --git a/packages/manager/apps/hub/src/components/welcome/Welcome.component.tsx b/packages/manager/apps/hub-react/src/components/welcome/Welcome.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/welcome/Welcome.component.tsx rename to packages/manager/apps/hub-react/src/components/welcome/Welcome.component.tsx diff --git a/packages/manager/apps/hub/src/components/welcome/Welcome.spec.tsx b/packages/manager/apps/hub-react/src/components/welcome/Welcome.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/components/welcome/Welcome.spec.tsx rename to packages/manager/apps/hub-react/src/components/welcome/Welcome.spec.tsx diff --git a/packages/manager/apps/hub/src/data/api/apiHubSupport.ts b/packages/manager/apps/hub-react/src/data/api/apiHubSupport.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/apiHubSupport.ts rename to packages/manager/apps/hub-react/src/data/api/apiHubSupport.ts diff --git a/packages/manager/apps/hub/src/data/api/apiOrder/apiOrder.constants.ts b/packages/manager/apps/hub-react/src/data/api/apiOrder/apiOrder.constants.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/apiOrder/apiOrder.constants.ts rename to packages/manager/apps/hub-react/src/data/api/apiOrder/apiOrder.constants.ts diff --git a/packages/manager/apps/hub/src/data/api/apiOrder/apiOrder.ts b/packages/manager/apps/hub-react/src/data/api/apiOrder/apiOrder.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/apiOrder/apiOrder.ts rename to packages/manager/apps/hub-react/src/data/api/apiOrder/apiOrder.ts diff --git a/packages/manager/apps/hub/src/data/api/banner.ts b/packages/manager/apps/hub-react/src/data/api/banner.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/banner.ts rename to packages/manager/apps/hub-react/src/data/api/banner.ts diff --git a/packages/manager/apps/hub/src/data/api/billingServices.ts b/packages/manager/apps/hub-react/src/data/api/billingServices.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/billingServices.ts rename to packages/manager/apps/hub-react/src/data/api/billingServices.ts diff --git a/packages/manager/apps/hub/src/data/api/bills.ts b/packages/manager/apps/hub-react/src/data/api/bills.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/bills.ts rename to packages/manager/apps/hub-react/src/data/api/bills.ts diff --git a/packages/manager/apps/hub/src/data/api/catalog.ts b/packages/manager/apps/hub-react/src/data/api/catalog.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/catalog.ts rename to packages/manager/apps/hub-react/src/data/api/catalog.ts diff --git a/packages/manager/apps/hub/src/data/api/debt.ts b/packages/manager/apps/hub-react/src/data/api/debt.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/debt.ts rename to packages/manager/apps/hub-react/src/data/api/debt.ts diff --git a/packages/manager/apps/hub/src/data/api/kyc.ts b/packages/manager/apps/hub-react/src/data/api/kyc.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/kyc.ts rename to packages/manager/apps/hub-react/src/data/api/kyc.ts diff --git a/packages/manager/apps/hub/src/data/api/lastOrder.ts b/packages/manager/apps/hub-react/src/data/api/lastOrder.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/lastOrder.ts rename to packages/manager/apps/hub-react/src/data/api/lastOrder.ts diff --git a/packages/manager/apps/hub/src/data/api/notifications.ts b/packages/manager/apps/hub-react/src/data/api/notifications.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/notifications.ts rename to packages/manager/apps/hub-react/src/data/api/notifications.ts diff --git a/packages/manager/apps/hub/src/data/api/services.ts b/packages/manager/apps/hub-react/src/data/api/services.ts similarity index 100% rename from packages/manager/apps/hub/src/data/api/services.ts rename to packages/manager/apps/hub-react/src/data/api/services.ts diff --git a/packages/manager/apps/hub/src/data/hooks/apiHubSupport/useHubSupport.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/apiHubSupport/useHubSupport.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/apiHubSupport/useHubSupport.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/apiHubSupport/useHubSupport.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/apiHubSupport/useHubSupport.tsx b/packages/manager/apps/hub-react/src/data/hooks/apiHubSupport/useHubSupport.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/apiHubSupport/useHubSupport.tsx rename to packages/manager/apps/hub-react/src/data/hooks/apiHubSupport/useHubSupport.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/apiOrder/useLastOrder.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/apiOrder/useLastOrder.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/apiOrder/useLastOrder.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/apiOrder/useLastOrder.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/apiOrder/useLastOrder.tsx b/packages/manager/apps/hub-react/src/data/hooks/apiOrder/useLastOrder.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/apiOrder/useLastOrder.tsx rename to packages/manager/apps/hub-react/src/data/hooks/apiOrder/useLastOrder.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/banner/useBanner.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/banner/useBanner.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/banner/useBanner.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/banner/useBanner.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/banner/useBanner.tsx b/packages/manager/apps/hub-react/src/data/hooks/banner/useBanner.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/banner/useBanner.tsx rename to packages/manager/apps/hub-react/src/data/hooks/banner/useBanner.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/billingServices/useBillingServices.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/billingServices/useBillingServices.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/billingServices/useBillingServices.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/billingServices/useBillingServices.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/billingServices/useBillingServices.tsx b/packages/manager/apps/hub-react/src/data/hooks/billingServices/useBillingServices.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/billingServices/useBillingServices.tsx rename to packages/manager/apps/hub-react/src/data/hooks/billingServices/useBillingServices.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/bills/useBills.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/bills/useBills.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/bills/useBills.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/bills/useBills.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/bills/useBills.tsx b/packages/manager/apps/hub-react/src/data/hooks/bills/useBills.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/bills/useBills.tsx rename to packages/manager/apps/hub-react/src/data/hooks/bills/useBills.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/catalog/useCatalog.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/catalog/useCatalog.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/catalog/useCatalog.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/catalog/useCatalog.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/catalog/useCatalog.tsx b/packages/manager/apps/hub-react/src/data/hooks/catalog/useCatalog.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/catalog/useCatalog.tsx rename to packages/manager/apps/hub-react/src/data/hooks/catalog/useCatalog.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/debt/useDebt.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/debt/useDebt.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/debt/useDebt.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/debt/useDebt.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/debt/useDebt.tsx b/packages/manager/apps/hub-react/src/data/hooks/debt/useDebt.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/debt/useDebt.tsx rename to packages/manager/apps/hub-react/src/data/hooks/debt/useDebt.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/kyc/useKyc.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/kyc/useKyc.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/kyc/useKyc.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/kyc/useKyc.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/kyc/useKyc.tsx b/packages/manager/apps/hub-react/src/data/hooks/kyc/useKyc.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/kyc/useKyc.tsx rename to packages/manager/apps/hub-react/src/data/hooks/kyc/useKyc.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/lastOrder/useLastOrder.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/lastOrder/useLastOrder.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/lastOrder/useLastOrder.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/lastOrder/useLastOrder.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/lastOrder/useLastOrder.tsx b/packages/manager/apps/hub-react/src/data/hooks/lastOrder/useLastOrder.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/lastOrder/useLastOrder.tsx rename to packages/manager/apps/hub-react/src/data/hooks/lastOrder/useLastOrder.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/notifications/useNotifications.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/notifications/useNotifications.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/notifications/useNotifications.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/notifications/useNotifications.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/notifications/useNotifications.tsx b/packages/manager/apps/hub-react/src/data/hooks/notifications/useNotifications.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/notifications/useNotifications.tsx rename to packages/manager/apps/hub-react/src/data/hooks/notifications/useNotifications.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/services/useServices.spec.tsx b/packages/manager/apps/hub-react/src/data/hooks/services/useServices.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/services/useServices.spec.tsx rename to packages/manager/apps/hub-react/src/data/hooks/services/useServices.spec.tsx diff --git a/packages/manager/apps/hub/src/data/hooks/services/useServices.tsx b/packages/manager/apps/hub-react/src/data/hooks/services/useServices.tsx similarity index 100% rename from packages/manager/apps/hub/src/data/hooks/services/useServices.tsx rename to packages/manager/apps/hub-react/src/data/hooks/services/useServices.tsx diff --git a/packages/manager/apps/hub/src/hooks/dateFormat/useDateFormat.spec.tsx b/packages/manager/apps/hub-react/src/hooks/dateFormat/useDateFormat.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/hooks/dateFormat/useDateFormat.spec.tsx rename to packages/manager/apps/hub-react/src/hooks/dateFormat/useDateFormat.spec.tsx diff --git a/packages/manager/apps/hub/src/hooks/dateFormat/useDateFormat.tsx b/packages/manager/apps/hub-react/src/hooks/dateFormat/useDateFormat.tsx similarity index 100% rename from packages/manager/apps/hub/src/hooks/dateFormat/useDateFormat.tsx rename to packages/manager/apps/hub-react/src/hooks/dateFormat/useDateFormat.tsx diff --git a/packages/manager/apps/hub/src/hooks/guideUtils/useGuideUtils.constants.ts b/packages/manager/apps/hub-react/src/hooks/guideUtils/useGuideUtils.constants.ts similarity index 100% rename from packages/manager/apps/hub/src/hooks/guideUtils/useGuideUtils.constants.ts rename to packages/manager/apps/hub-react/src/hooks/guideUtils/useGuideUtils.constants.ts diff --git a/packages/manager/apps/hub/src/hooks/guideUtils/useGuideUtils.spec.tsx b/packages/manager/apps/hub-react/src/hooks/guideUtils/useGuideUtils.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/hooks/guideUtils/useGuideUtils.spec.tsx rename to packages/manager/apps/hub-react/src/hooks/guideUtils/useGuideUtils.spec.tsx diff --git a/packages/manager/apps/hub/src/hooks/guideUtils/useGuideUtils.tsx b/packages/manager/apps/hub-react/src/hooks/guideUtils/useGuideUtils.tsx similarity index 100% rename from packages/manager/apps/hub/src/hooks/guideUtils/useGuideUtils.tsx rename to packages/manager/apps/hub-react/src/hooks/guideUtils/useGuideUtils.tsx diff --git a/packages/manager/apps/hub/src/hooks/periodFilter/usePeriodFilter.tsx b/packages/manager/apps/hub-react/src/hooks/periodFilter/usePeriodFilter.tsx similarity index 100% rename from packages/manager/apps/hub/src/hooks/periodFilter/usePeriodFilter.tsx rename to packages/manager/apps/hub-react/src/hooks/periodFilter/usePeriodFilter.tsx diff --git a/packages/manager/apps/hub/src/hooks/priceFormat/usePriceFormat.tsx b/packages/manager/apps/hub-react/src/hooks/priceFormat/usePriceFormat.tsx similarity index 100% rename from packages/manager/apps/hub/src/hooks/priceFormat/usePriceFormat.tsx rename to packages/manager/apps/hub-react/src/hooks/priceFormat/usePriceFormat.tsx diff --git a/packages/manager/apps/hub/src/hooks/products/useProducts.spec.tsx b/packages/manager/apps/hub-react/src/hooks/products/useProducts.spec.tsx similarity index 100% rename from packages/manager/apps/hub/src/hooks/products/useProducts.spec.tsx rename to packages/manager/apps/hub-react/src/hooks/products/useProducts.spec.tsx diff --git a/packages/manager/apps/hub/src/hooks/products/useProducts.ts b/packages/manager/apps/hub-react/src/hooks/products/useProducts.ts similarity index 100% rename from packages/manager/apps/hub/src/hooks/products/useProducts.ts rename to packages/manager/apps/hub-react/src/hooks/products/useProducts.ts diff --git a/packages/manager/apps/hub/src/hub.config.ts b/packages/manager/apps/hub-react/src/hub.config.ts similarity index 100% rename from packages/manager/apps/hub/src/hub.config.ts rename to packages/manager/apps/hub-react/src/hub.config.ts diff --git a/packages/manager/apps/hub/src/hub.constants.ts b/packages/manager/apps/hub-react/src/hub.constants.ts similarity index 100% rename from packages/manager/apps/hub/src/hub.constants.ts rename to packages/manager/apps/hub-react/src/hub.constants.ts diff --git a/packages/manager/apps/hub-react/src/index.scss b/packages/manager/apps/hub-react/src/index.scss new file mode 100644 index 000000000000..4a0044ae7e05 --- /dev/null +++ b/packages/manager/apps/hub-react/src/index.scss @@ -0,0 +1,102 @@ +@tailwind components; +@tailwind utilities; + +h1, +h2 { + margin-top: 1rem; +} + +$ovh-sidebar-width: 18.75rem; +$device-breakpoint-medium-max-width: 1279px; + +$hub-brand-color: #001191; + +$hub-subtitle-color: #001758; + +$hub-text-color: #4d5592; +$hub-text-weight: 400; + +$hub-button-bg-color: #3046d1; +$hub-button-fg-color: white; + +$hub-tile-border-radius: 0.5rem; +$hub-tile-padding: 1rem 0 1rem 0; + +$hub-border-radius-default: 6pt; + +@mixin hub-pill { + background-color: #bef1ff; + border-radius: 1rem; + font-size: 0.9rem; + color: #0050d7; + margin-left: 0.5rem; + padding: 0.3rem 0.5rem; +} + +ovh-manager-banner-text .notification-banner { + padding-right: $ovh-sidebar-width !important; +} + +@media screen and (min-width: $device-breakpoint-medium-max-width) { + .hub-main-view_sidebar_expanded { + margin-right: $ovh-sidebar-width; + max-width: calc(100% - $ovh-sidebar-width); + } +} + +@media screen and (max-width: $device-breakpoint-medium-max-width) { + .hub-main-view { + margin-right: 0; + } + ovh-manager-banner-text .notification-banner { + padding-right: 0 !important; + } +} + +#root { + height: inherit; + + .hub-main-view { + .minw-0 { + min-width: 0; + } + + &_container { + max-width: 80rem; // 1280px with 16px font size + margin: auto; + } + } + + .skipnav osds-button { + width: 1px; + height: 1px; + position: fixed; + left: -100%; + top: auto; + overflow: hidden; + z-index: -1; + + &:focus, + &:active { + width: auto; + height: auto; + left: 0.625rem; + top: 0.625rem; + overflow: auto; + outline-width: 1px !important; + outline-style: dotted !important; + outline-color: initial !important; + outline-offset: -2px !important; + background-color: #fff; + z-index: 1100; + } + } + + .skiptarget { + width: 1px; + height: 1px; + overflow: hidden; + float: right; + position: absolute; + } +} diff --git a/packages/manager/apps/hub/src/index.tsx b/packages/manager/apps/hub-react/src/index.tsx similarity index 100% rename from packages/manager/apps/hub/src/index.tsx rename to packages/manager/apps/hub-react/src/index.tsx diff --git a/packages/manager/apps/hub/src/pages/404.tsx b/packages/manager/apps/hub-react/src/pages/404.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/404.tsx rename to packages/manager/apps/hub-react/src/pages/404.tsx diff --git a/packages/manager/apps/hub/src/pages/layout.test.tsx b/packages/manager/apps/hub-react/src/pages/layout.test.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout.test.tsx rename to packages/manager/apps/hub-react/src/pages/layout.test.tsx diff --git a/packages/manager/apps/hub/src/pages/layout.tsx b/packages/manager/apps/hub-react/src/pages/layout.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout.tsx rename to packages/manager/apps/hub-react/src/pages/layout.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/BillingSummary.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/BillingSummary.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/BillingSummary.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/BillingSummary.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/BillingSummary.style.scss b/packages/manager/apps/hub-react/src/pages/layout/BillingSummary.style.scss similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/BillingSummary.style.scss rename to packages/manager/apps/hub-react/src/pages/layout/BillingSummary.style.scss diff --git a/packages/manager/apps/hub/src/pages/layout/Catalog.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/Catalog.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/Catalog.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/Catalog.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/EnterpriseBillingSummary.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/EnterpriseBillingSummary.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/EnterpriseBillingSummary.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/EnterpriseBillingSummary.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/KycFraudBanner.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/KycFraudBanner.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/KycFraudBanner.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/KycFraudBanner.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/KycIndiaBanner.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/KycIndiaBanner.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/KycIndiaBanner.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/KycIndiaBanner.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/NotificationsCarousel.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/NotificationsCarousel.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/NotificationsCarousel.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/NotificationsCarousel.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/PaymentStatus.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/PaymentStatus.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/PaymentStatus.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/PaymentStatus.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/SiretBanner.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/SiretBanner.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/SiretBanner.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/SiretBanner.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/SiretModal.component.tsx b/packages/manager/apps/hub-react/src/pages/layout/SiretModal.component.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/SiretModal.component.tsx rename to packages/manager/apps/hub-react/src/pages/layout/SiretModal.component.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/assets/billing-background.svg b/packages/manager/apps/hub-react/src/pages/layout/assets/billing-background.svg similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/assets/billing-background.svg rename to packages/manager/apps/hub-react/src/pages/layout/assets/billing-background.svg diff --git a/packages/manager/apps/hub/src/pages/layout/layout.constants.ts b/packages/manager/apps/hub-react/src/pages/layout/layout.constants.ts similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/layout.constants.ts rename to packages/manager/apps/hub-react/src/pages/layout/layout.constants.ts diff --git a/packages/manager/apps/hub/src/pages/layout/layout.test.tsx b/packages/manager/apps/hub-react/src/pages/layout/layout.test.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/layout.test.tsx rename to packages/manager/apps/hub-react/src/pages/layout/layout.test.tsx diff --git a/packages/manager/apps/hub/src/pages/layout/layout.tsx b/packages/manager/apps/hub-react/src/pages/layout/layout.tsx similarity index 100% rename from packages/manager/apps/hub/src/pages/layout/layout.tsx rename to packages/manager/apps/hub-react/src/pages/layout/layout.tsx diff --git a/packages/manager/apps/hub/src/routes/routes.constant.ts b/packages/manager/apps/hub-react/src/routes/routes.constant.ts similarity index 100% rename from packages/manager/apps/hub/src/routes/routes.constant.ts rename to packages/manager/apps/hub-react/src/routes/routes.constant.ts diff --git a/packages/manager/apps/hub/src/routes/routes.tsx b/packages/manager/apps/hub-react/src/routes/routes.tsx similarity index 100% rename from packages/manager/apps/hub/src/routes/routes.tsx rename to packages/manager/apps/hub-react/src/routes/routes.tsx diff --git a/packages/manager/apps/hub/src/setupTests.ts b/packages/manager/apps/hub-react/src/setupTests.ts similarity index 100% rename from packages/manager/apps/hub/src/setupTests.ts rename to packages/manager/apps/hub-react/src/setupTests.ts diff --git a/packages/manager/apps/hub/src/tracking.constant.ts b/packages/manager/apps/hub-react/src/tracking.constant.ts similarity index 100% rename from packages/manager/apps/hub/src/tracking.constant.ts rename to packages/manager/apps/hub-react/src/tracking.constant.ts diff --git a/packages/manager/apps/hub/src/types/apiEnvelope.type.ts b/packages/manager/apps/hub-react/src/types/apiEnvelope.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/apiEnvelope.type.ts rename to packages/manager/apps/hub-react/src/types/apiEnvelope.type.ts diff --git a/packages/manager/apps/hub/src/types/banner.type.ts b/packages/manager/apps/hub-react/src/types/banner.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/banner.type.ts rename to packages/manager/apps/hub-react/src/types/banner.type.ts diff --git a/packages/manager/apps/hub/src/types/bills.type.ts b/packages/manager/apps/hub-react/src/types/bills.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/bills.type.ts rename to packages/manager/apps/hub-react/src/types/bills.type.ts diff --git a/packages/manager/apps/hub/src/types/catalog.ts b/packages/manager/apps/hub-react/src/types/catalog.ts similarity index 100% rename from packages/manager/apps/hub/src/types/catalog.ts rename to packages/manager/apps/hub-react/src/types/catalog.ts diff --git a/packages/manager/apps/hub/src/types/debt.type.ts b/packages/manager/apps/hub-react/src/types/debt.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/debt.type.ts rename to packages/manager/apps/hub-react/src/types/debt.type.ts diff --git a/packages/manager/apps/hub/src/types/kyc.type.ts b/packages/manager/apps/hub-react/src/types/kyc.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/kyc.type.ts rename to packages/manager/apps/hub-react/src/types/kyc.type.ts diff --git a/packages/manager/apps/hub/src/types/lastOrder.type.ts b/packages/manager/apps/hub-react/src/types/lastOrder.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/lastOrder.type.ts rename to packages/manager/apps/hub-react/src/types/lastOrder.type.ts diff --git a/packages/manager/apps/hub/src/types/notifications.type.ts b/packages/manager/apps/hub-react/src/types/notifications.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/notifications.type.ts rename to packages/manager/apps/hub-react/src/types/notifications.type.ts diff --git a/packages/manager/apps/hub/src/types/order.type.ts b/packages/manager/apps/hub-react/src/types/order.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/order.type.ts rename to packages/manager/apps/hub-react/src/types/order.type.ts diff --git a/packages/manager/apps/hub/src/types/services.type.ts b/packages/manager/apps/hub-react/src/types/services.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/services.type.ts rename to packages/manager/apps/hub-react/src/types/services.type.ts diff --git a/packages/manager/apps/hub/src/types/support.type.ts b/packages/manager/apps/hub-react/src/types/support.type.ts similarity index 100% rename from packages/manager/apps/hub/src/types/support.type.ts rename to packages/manager/apps/hub-react/src/types/support.type.ts diff --git a/packages/manager/apps/hub/src/vite-hmr.ts b/packages/manager/apps/hub-react/src/vite-hmr.ts similarity index 100% rename from packages/manager/apps/hub/src/vite-hmr.ts rename to packages/manager/apps/hub-react/src/vite-hmr.ts diff --git a/packages/manager/apps/hub/tailwind.config.js b/packages/manager/apps/hub-react/tailwind.config.js similarity index 100% rename from packages/manager/apps/hub/tailwind.config.js rename to packages/manager/apps/hub-react/tailwind.config.js diff --git a/packages/manager/apps/hub/tsconfig.json b/packages/manager/apps/hub-react/tsconfig.json similarity index 100% rename from packages/manager/apps/hub/tsconfig.json rename to packages/manager/apps/hub-react/tsconfig.json diff --git a/packages/manager/apps/hub/tsconfig.test.json b/packages/manager/apps/hub-react/tsconfig.test.json similarity index 100% rename from packages/manager/apps/hub/tsconfig.test.json rename to packages/manager/apps/hub-react/tsconfig.test.json diff --git a/packages/manager/apps/hub/vite.config.mjs b/packages/manager/apps/hub-react/vite.config.mjs similarity index 100% rename from packages/manager/apps/hub/vite.config.mjs rename to packages/manager/apps/hub-react/vite.config.mjs diff --git a/packages/manager/apps/hub/vitest.config.js b/packages/manager/apps/hub-react/vitest.config.js similarity index 100% rename from packages/manager/apps/hub/vitest.config.js rename to packages/manager/apps/hub-react/vitest.config.js diff --git a/packages/manager/apps/hub_old/.eslintrc.json b/packages/manager/apps/hub/.eslintrc.json similarity index 100% rename from packages/manager/apps/hub_old/.eslintrc.json rename to packages/manager/apps/hub/.eslintrc.json diff --git a/packages/manager/apps/hub_old/CHANGELOG.md b/packages/manager/apps/hub/CHANGELOG.md similarity index 100% rename from packages/manager/apps/hub_old/CHANGELOG.md rename to packages/manager/apps/hub/CHANGELOG.md diff --git a/packages/manager/apps/hub/package.json b/packages/manager/apps/hub/package.json index 25b5d6c718d1..3d70c9e14092 100644 --- a/packages/manager/apps/hub/package.json +++ b/packages/manager/apps/hub/package.json @@ -1,6 +1,6 @@ { "name": "@ovh-ux/manager-hub-app", - "version": "0.0.0", + "version": "5.10.14", "private": true, "description": "OVHcloud Dashboard control panel.", "repository": { @@ -11,54 +11,79 @@ "license": "BSD-3-Clause", "author": "OVH SAS", "scripts": { - "build": "tsc && vite build", - "dev": "tsc && vite", + "build": "webpack --env production", + "dev": "webpack-dev-server", + "dev:watch": "yarn run dev", "start": "lerna exec --stream --scope='@ovh-ux/manager-hub-app' --include-dependencies -- npm run build --if-present", "start:dev": "lerna exec --stream --scope='@ovh-ux/manager-hub-app' --include-dependencies -- npm run dev --if-present", - "start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-hub-app' --include-dependencies -- npm run dev:watch --if-present", - "test": "vitest run", - "test:e2e": "tsc && node ../../../../scripts/run-playwright-bdd.js", - "test:e2e:ci": "tsc && node ../../../../scripts/run-playwright-bdd.js --ci", - "test:watch": "vitest watch" + "start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-hub-app' --include-dependencies -- npm run dev:watch --if-present" }, "dependencies": { - "@ovh-ux/manager-config": "^7.3.3", - "@ovh-ux/manager-core-api": "^0.8.0", - "@ovh-ux/manager-models": "^1.14.13", - "@ovh-ux/manager-react-components": "^1.31.0", - "@ovh-ux/manager-react-shell-client": "^0.7.0", - "@ovh-ux/manager-tailwind-config": "^0.2.0", + "@ovh-ux/manager-at-internet-configuration": "^1.5.0", + "@ovh-ux/manager-banner": "^1.3.1", + "@ovh-ux/manager-billing-components": "^3.21.1", + "@ovh-ux/manager-config": "^7.4.0", + "@ovh-ux/manager-core": "^12.17.1", + "@ovh-ux/manager-error-page": "^2.4.1", + "@ovh-ux/manager-hub": "^3.17.1", + "@ovh-ux/manager-models": "^1.14.14", + "@ovh-ux/manager-ng-layout-helpers": "^2.9.1", + "@ovh-ux/manager-trusted-nic": "^1.2.1", + "@ovh-ux/ng-at-internet": "^5.11.13", + "@ovh-ux/ng-at-internet-ui-router-plugin": "^3.5.0", + "@ovh-ux/ng-ovh-api-wrappers": "^5.1.0", + "@ovh-ux/ng-ovh-cloud-universe-components": "^2.14.2", + "@ovh-ux/ng-ovh-contracts": "^4.6.0", + "@ovh-ux/ng-ovh-feature-flipping": "^1.1.2", + "@ovh-ux/ng-ovh-http": "^5.1.1", + "@ovh-ux/ng-ovh-order-tracking": "^2.5.1", + "@ovh-ux/ng-ovh-payment-method": "^9.16.1", + "@ovh-ux/ng-ovh-proxy-request": "^2.1.1", + "@ovh-ux/ng-ovh-request-tagger": "^1.2.3", + "@ovh-ux/ng-ovh-sso-auth": "^4.8.1", + "@ovh-ux/ng-ovh-swimming-poll": "^5.1.1", + "@ovh-ux/ng-ovh-user-pref": "^2.1.1", + "@ovh-ux/ng-shell-tracking": "^0.5.10", + "@ovh-ux/ng-translate-async-loader": "^2.2.1", + "@ovh-ux/ng-ui-router-breadcrumb": "^1.3.1", + "@ovh-ux/ng-ui-router-layout": "^4.3.1", "@ovh-ux/request-tagger": "^0.3.0", - "@ovhcloud/ods-common-core": "17.2.1", - "@ovhcloud/ods-common-theming": "17.2.1", - "@ovhcloud/ods-components": "17.2.1", - "@ovhcloud/ods-theme-blue-jeans": "17.2.1", - "@tanstack/react-query": "^5.51.21", - "@tanstack/react-query-devtools": "^5.51.21", - "axios": "^1.1.2", - "clsx": "^1.2.1", - "i18next": "^23.8.2", - "i18next-http-backend": "^2.4.2", - "punycode": "^2.3.1", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-i18next": "^14.0.5", - "react-router-dom": "^6.3.0", - "tailwindcss": "^3.4.4" + "@ovh-ux/shell": "^3.8.0", + "@ovh-ux/ui-kit": "^6.10.5", + "@ovh-ux/url-builder": "^1.2.0", + "@uirouter/angularjs": "^1.0.23", + "angular": "^1.7.5", + "angular-animate": "^1.7.5", + "angular-aria": "^1.7.8", + "angular-cookies": "^1.7.8", + "angular-dynamic-locale": "^0.1.37", + "angular-i18n": "^1.7.8", + "angular-resource": "^1.7.8", + "angular-sanitize": "^1.7.8", + "angular-translate": "^2.18.1", + "angular-translate-loader-pluggable": "^1.3.1", + "angular-ui-bootstrap": "1.3.3", + "bloodhound-js": "^1.2.3", + "bootstrap": "^4.4.1", + "clipboard": "^2.0.4", + "core-js": "^3.6.5", + "flatpickr": "^4.6.3", + "jquery": "^2.1.3", + "lodash-es": "^4.17.15", + "moment": "^2.24.0", + "oclazyload": "^1.1.0", + "ovh-api-services": "^17.0.0", + "ovh-ui-kit-bs": "^4.2.0", + "popper.js": "^1.16.1", + "regenerator-runtime": "^0.13.7", + "ui-select": "^0.19.8", + "whatwg-fetch": "^3.5.0" }, "devDependencies": { - "@cucumber/cucumber": "^10.3.1", - "@ovh-ux/manager-vite-config": "^0.8.0", - "@playwright/test": "^1.41.2", - "@testing-library/jest-dom": "^6.4.6", - "@testing-library/react": "^14.1.2", - "@types/punycode": "^2.1.4", - "@vitejs/plugin-react": "^4.2.1", - "@vitest/coverage-v8": "^1.2.0", - "element-internals-polyfill": "^1.3.10", - "typescript": "^5.1.6", - "vite": "^5.2.13", - "vitest": "^1.2.0" + "@ovh-ux/manager-webpack-config": "^7.0.2", + "glob": "^7.1.6", + "lodash": "^4.17.15", + "webpack-merge": "^4.2.2" }, "regions": [ "CA", diff --git a/packages/manager/apps/hub_old/src/app.module.js b/packages/manager/apps/hub/src/app.module.js similarity index 100% rename from packages/manager/apps/hub_old/src/app.module.js rename to packages/manager/apps/hub/src/app.module.js diff --git a/packages/manager/apps/hub_old/src/assets/images/favicon.png b/packages/manager/apps/hub/src/assets/images/favicon.png similarity index 100% rename from packages/manager/apps/hub_old/src/assets/images/favicon.png rename to packages/manager/apps/hub/src/assets/images/favicon.png diff --git a/packages/manager/apps/hub_old/src/assets/images/touchicon-180.png b/packages/manager/apps/hub/src/assets/images/touchicon-180.png similarity index 100% rename from packages/manager/apps/hub_old/src/assets/images/touchicon-180.png rename to packages/manager/apps/hub/src/assets/images/touchicon-180.png diff --git a/packages/manager/apps/hub_old/src/assets/theme/index.scss b/packages/manager/apps/hub/src/assets/theme/index.scss similarity index 100% rename from packages/manager/apps/hub_old/src/assets/theme/index.scss rename to packages/manager/apps/hub/src/assets/theme/index.scss diff --git a/packages/manager/apps/hub_old/src/assets/theme/typography.scss b/packages/manager/apps/hub/src/assets/theme/typography.scss similarity index 100% rename from packages/manager/apps/hub_old/src/assets/theme/typography.scss rename to packages/manager/apps/hub/src/assets/theme/typography.scss diff --git a/packages/manager/apps/hub_old/src/components/at-internet/at-internet.constant.js b/packages/manager/apps/hub/src/components/at-internet/at-internet.constant.js similarity index 100% rename from packages/manager/apps/hub_old/src/components/at-internet/at-internet.constant.js rename to packages/manager/apps/hub/src/components/at-internet/at-internet.constant.js diff --git a/packages/manager/apps/hub_old/src/components/at-internet/index.js b/packages/manager/apps/hub/src/components/at-internet/index.js similarity index 100% rename from packages/manager/apps/hub_old/src/components/at-internet/index.js rename to packages/manager/apps/hub/src/components/at-internet/index.js diff --git a/packages/manager/apps/hub_old/src/components/error-page/error-page.routing.js b/packages/manager/apps/hub/src/components/error-page/error-page.routing.js similarity index 100% rename from packages/manager/apps/hub_old/src/components/error-page/error-page.routing.js rename to packages/manager/apps/hub/src/components/error-page/error-page.routing.js diff --git a/packages/manager/apps/hub_old/src/components/error-page/index.js b/packages/manager/apps/hub/src/components/error-page/index.js similarity index 100% rename from packages/manager/apps/hub_old/src/components/error-page/index.js rename to packages/manager/apps/hub/src/components/error-page/index.js diff --git a/packages/manager/apps/hub_old/src/constants.js b/packages/manager/apps/hub/src/constants.js similarity index 100% rename from packages/manager/apps/hub_old/src/constants.js rename to packages/manager/apps/hub/src/constants.js diff --git a/packages/manager/apps/hub_old/src/controller.js b/packages/manager/apps/hub/src/controller.js similarity index 100% rename from packages/manager/apps/hub_old/src/controller.js rename to packages/manager/apps/hub/src/controller.js diff --git a/packages/manager/apps/hub_old/src/dashboard/dashboard.component.js b/packages/manager/apps/hub/src/dashboard/dashboard.component.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/dashboard.component.js rename to packages/manager/apps/hub/src/dashboard/dashboard.component.js diff --git a/packages/manager/apps/hub_old/src/dashboard/dashboard.constant.js b/packages/manager/apps/hub/src/dashboard/dashboard.constant.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/dashboard.constant.js rename to packages/manager/apps/hub/src/dashboard/dashboard.constant.js diff --git a/packages/manager/apps/hub_old/src/dashboard/dashboard.controller.js b/packages/manager/apps/hub/src/dashboard/dashboard.controller.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/dashboard.controller.js rename to packages/manager/apps/hub/src/dashboard/dashboard.controller.js diff --git a/packages/manager/apps/hub_old/src/dashboard/dashboard.html b/packages/manager/apps/hub/src/dashboard/dashboard.html similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/dashboard.html rename to packages/manager/apps/hub/src/dashboard/dashboard.html diff --git a/packages/manager/apps/hub_old/src/dashboard/dashboard.module.js b/packages/manager/apps/hub/src/dashboard/dashboard.module.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/dashboard.module.js rename to packages/manager/apps/hub/src/dashboard/dashboard.module.js diff --git a/packages/manager/apps/hub_old/src/dashboard/dashboard.scss b/packages/manager/apps/hub/src/dashboard/dashboard.scss similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/dashboard.scss rename to packages/manager/apps/hub/src/dashboard/dashboard.scss diff --git a/packages/manager/apps/hub_old/src/dashboard/index.js b/packages/manager/apps/hub/src/dashboard/index.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/index.js rename to packages/manager/apps/hub/src/dashboard/index.js diff --git a/packages/manager/apps/hub_old/src/dashboard/order-dashboard/index.js b/packages/manager/apps/hub/src/dashboard/order-dashboard/index.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/order-dashboard/index.js rename to packages/manager/apps/hub/src/dashboard/order-dashboard/index.js diff --git a/packages/manager/apps/hub_old/src/dashboard/order-dashboard/order-dashboard.component.js b/packages/manager/apps/hub/src/dashboard/order-dashboard/order-dashboard.component.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/order-dashboard/order-dashboard.component.js rename to packages/manager/apps/hub/src/dashboard/order-dashboard/order-dashboard.component.js diff --git a/packages/manager/apps/hub_old/src/dashboard/order-dashboard/template.html b/packages/manager/apps/hub/src/dashboard/order-dashboard/template.html similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/order-dashboard/template.html rename to packages/manager/apps/hub/src/dashboard/order-dashboard/template.html diff --git a/packages/manager/apps/hub_old/src/dashboard/routing.js b/packages/manager/apps/hub/src/dashboard/routing.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/routing.js rename to packages/manager/apps/hub/src/dashboard/routing.js diff --git a/packages/manager/apps/hub_old/src/dashboard/translations/Messages_de_DE.json b/packages/manager/apps/hub/src/dashboard/translations/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/translations/Messages_de_DE.json rename to packages/manager/apps/hub/src/dashboard/translations/Messages_de_DE.json diff --git a/packages/manager/apps/hub_old/src/dashboard/translations/Messages_en_GB.json b/packages/manager/apps/hub/src/dashboard/translations/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/translations/Messages_en_GB.json rename to packages/manager/apps/hub/src/dashboard/translations/Messages_en_GB.json diff --git a/packages/manager/apps/hub_old/src/dashboard/translations/Messages_es_ES.json b/packages/manager/apps/hub/src/dashboard/translations/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/translations/Messages_es_ES.json rename to packages/manager/apps/hub/src/dashboard/translations/Messages_es_ES.json diff --git a/packages/manager/apps/hub_old/src/dashboard/translations/Messages_fr_CA.json b/packages/manager/apps/hub/src/dashboard/translations/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/translations/Messages_fr_CA.json rename to packages/manager/apps/hub/src/dashboard/translations/Messages_fr_CA.json diff --git a/packages/manager/apps/hub_old/src/dashboard/translations/Messages_fr_FR.json b/packages/manager/apps/hub/src/dashboard/translations/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/translations/Messages_fr_FR.json rename to packages/manager/apps/hub/src/dashboard/translations/Messages_fr_FR.json diff --git a/packages/manager/apps/hub_old/src/dashboard/translations/Messages_it_IT.json b/packages/manager/apps/hub/src/dashboard/translations/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/translations/Messages_it_IT.json rename to packages/manager/apps/hub/src/dashboard/translations/Messages_it_IT.json diff --git a/packages/manager/apps/hub_old/src/dashboard/translations/Messages_pl_PL.json b/packages/manager/apps/hub/src/dashboard/translations/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/translations/Messages_pl_PL.json rename to packages/manager/apps/hub/src/dashboard/translations/Messages_pl_PL.json diff --git a/packages/manager/apps/hub_old/src/dashboard/translations/Messages_pt_PT.json b/packages/manager/apps/hub/src/dashboard/translations/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/translations/Messages_pt_PT.json rename to packages/manager/apps/hub/src/dashboard/translations/Messages_pt_PT.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/index.js b/packages/manager/apps/hub/src/dashboard/welcome/index.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/index.js rename to packages/manager/apps/hub/src/dashboard/welcome/index.js diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/template.html b/packages/manager/apps/hub/src/dashboard/welcome/template.html similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/template.html rename to packages/manager/apps/hub/src/dashboard/welcome/template.html diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_de_DE.json b/packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_de_DE.json rename to packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_de_DE.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_en_GB.json b/packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_en_GB.json rename to packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_en_GB.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_es_ES.json b/packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_es_ES.json rename to packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_es_ES.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_fr_CA.json b/packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_fr_CA.json rename to packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_fr_CA.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_fr_FR.json b/packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_fr_FR.json rename to packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_fr_FR.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_it_IT.json b/packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_it_IT.json rename to packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_it_IT.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_pl_PL.json b/packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_pl_PL.json rename to packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_pl_PL.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_pt_PT.json b/packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/translations/Messages_pt_PT.json rename to packages/manager/apps/hub/src/dashboard/welcome/translations/Messages_pt_PT.json diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/welcome.component.js b/packages/manager/apps/hub/src/dashboard/welcome/welcome.component.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/welcome.component.js rename to packages/manager/apps/hub/src/dashboard/welcome/welcome.component.js diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/welcome.controller.js b/packages/manager/apps/hub/src/dashboard/welcome/welcome.controller.js similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/welcome.controller.js rename to packages/manager/apps/hub/src/dashboard/welcome/welcome.controller.js diff --git a/packages/manager/apps/hub_old/src/dashboard/welcome/welcome.scss b/packages/manager/apps/hub/src/dashboard/welcome/welcome.scss similarity index 100% rename from packages/manager/apps/hub_old/src/dashboard/welcome/welcome.scss rename to packages/manager/apps/hub/src/dashboard/welcome/welcome.scss diff --git a/packages/manager/apps/hub_old/src/index.html b/packages/manager/apps/hub/src/index.html similarity index 100% rename from packages/manager/apps/hub_old/src/index.html rename to packages/manager/apps/hub/src/index.html diff --git a/packages/manager/apps/hub_old/src/index.js b/packages/manager/apps/hub/src/index.js similarity index 100% rename from packages/manager/apps/hub_old/src/index.js rename to packages/manager/apps/hub/src/index.js diff --git a/packages/manager/apps/hub_old/src/index.less b/packages/manager/apps/hub/src/index.less similarity index 100% rename from packages/manager/apps/hub_old/src/index.less rename to packages/manager/apps/hub/src/index.less diff --git a/packages/manager/apps/hub/src/index.scss b/packages/manager/apps/hub/src/index.scss index 4a0044ae7e05..a552f43c37d8 100644 --- a/packages/manager/apps/hub/src/index.scss +++ b/packages/manager/apps/hub/src/index.scss @@ -1,102 +1,52 @@ -@tailwind components; -@tailwind utilities; - -h1, -h2 { - margin-top: 1rem; -} - -$ovh-sidebar-width: 18.75rem; -$device-breakpoint-medium-max-width: 1279px; - -$hub-brand-color: #001191; - -$hub-subtitle-color: #001758; - -$hub-text-color: #4d5592; -$hub-text-weight: 400; - -$hub-button-bg-color: #3046d1; -$hub-button-fg-color: white; - -$hub-tile-border-radius: 0.5rem; -$hub-tile-padding: 1rem 0 1rem 0; - -$hub-border-radius-default: 6pt; - -@mixin hub-pill { - background-color: #bef1ff; - border-radius: 1rem; - font-size: 0.9rem; - color: #0050d7; - margin-left: 0.5rem; - padding: 0.3rem 0.5rem; -} - -ovh-manager-banner-text .notification-banner { - padding-right: $ovh-sidebar-width !important; -} - -@media screen and (min-width: $device-breakpoint-medium-max-width) { - .hub-main-view_sidebar_expanded { - margin-right: $ovh-sidebar-width; - max-width: calc(100% - $ovh-sidebar-width); +@import 'bootstrap/scss/_functions'; +@import 'bootstrap/scss/_variables'; +@import 'bootstrap/scss/_mixins'; +@import 'bootstrap/scss/_utilities.scss'; +@import 'bootstrap/scss/_grid.scss'; + +.hub-main-view { + @import '@ovh-ux/manager-hub/src/variables.scss'; + @import './assets/theme/index.scss'; + + .minw-0 { + min-width: 0; } -} -@media screen and (max-width: $device-breakpoint-medium-max-width) { - .hub-main-view { - margin-right: 0; - } - ovh-manager-banner-text .notification-banner { - padding-right: 0 !important; + &_container { + max-width: 80rem; // 1280px with 16px font size + margin: auto; } } -#root { - height: inherit; - - .hub-main-view { - .minw-0 { - min-width: 0; - } - - &_container { - max-width: 80rem; // 1280px with 16px font size - margin: auto; - } - } - - .skipnav osds-button { - width: 1px; - height: 1px; - position: fixed; - left: -100%; - top: auto; - overflow: hidden; - z-index: -1; - - &:focus, - &:active { - width: auto; - height: auto; - left: 0.625rem; - top: 0.625rem; - overflow: auto; - outline-width: 1px !important; - outline-style: dotted !important; - outline-color: initial !important; - outline-offset: -2px !important; - background-color: #fff; - z-index: 1100; - } +.skipnav a { + width: 1px; + height: 1px; + position: fixed; + left: -100%; + top: auto; + overflow: hidden; + z-index: -1; + + &:focus, + &:active { + width: auto; + height: auto; + left: 0.625rem; + top: 0.625rem; + overflow: auto; + outline-width: 1px !important; + outline-style: dotted !important; + outline-color: initial !important; + outline-offset: -2px !important; + background-color: #fff; + z-index: 1100; } +} - .skiptarget { - width: 1px; - height: 1px; - overflow: hidden; - float: right; - position: absolute; - } +.skiptarget { + width: 1px; + height: 1px; + overflow: hidden; + float: right; + position: absolute; } diff --git a/packages/manager/apps/hub_old/src/routing.js b/packages/manager/apps/hub/src/routing.js similarity index 100% rename from packages/manager/apps/hub_old/src/routing.js rename to packages/manager/apps/hub/src/routing.js diff --git a/packages/manager/apps/hub_old/src/shell.js b/packages/manager/apps/hub/src/shell.js similarity index 100% rename from packages/manager/apps/hub_old/src/shell.js rename to packages/manager/apps/hub/src/shell.js diff --git a/packages/manager/apps/hub_old/src/translations/Messages_de_DE.json b/packages/manager/apps/hub/src/translations/Messages_de_DE.json similarity index 100% rename from packages/manager/apps/hub_old/src/translations/Messages_de_DE.json rename to packages/manager/apps/hub/src/translations/Messages_de_DE.json diff --git a/packages/manager/apps/hub_old/src/translations/Messages_en_GB.json b/packages/manager/apps/hub/src/translations/Messages_en_GB.json similarity index 100% rename from packages/manager/apps/hub_old/src/translations/Messages_en_GB.json rename to packages/manager/apps/hub/src/translations/Messages_en_GB.json diff --git a/packages/manager/apps/hub_old/src/translations/Messages_es_ES.json b/packages/manager/apps/hub/src/translations/Messages_es_ES.json similarity index 100% rename from packages/manager/apps/hub_old/src/translations/Messages_es_ES.json rename to packages/manager/apps/hub/src/translations/Messages_es_ES.json diff --git a/packages/manager/apps/hub_old/src/translations/Messages_fr_CA.json b/packages/manager/apps/hub/src/translations/Messages_fr_CA.json similarity index 100% rename from packages/manager/apps/hub_old/src/translations/Messages_fr_CA.json rename to packages/manager/apps/hub/src/translations/Messages_fr_CA.json diff --git a/packages/manager/apps/hub_old/src/translations/Messages_fr_FR.json b/packages/manager/apps/hub/src/translations/Messages_fr_FR.json similarity index 100% rename from packages/manager/apps/hub_old/src/translations/Messages_fr_FR.json rename to packages/manager/apps/hub/src/translations/Messages_fr_FR.json diff --git a/packages/manager/apps/hub_old/src/translations/Messages_it_IT.json b/packages/manager/apps/hub/src/translations/Messages_it_IT.json similarity index 100% rename from packages/manager/apps/hub_old/src/translations/Messages_it_IT.json rename to packages/manager/apps/hub/src/translations/Messages_it_IT.json diff --git a/packages/manager/apps/hub_old/src/translations/Messages_pl_PL.json b/packages/manager/apps/hub/src/translations/Messages_pl_PL.json similarity index 100% rename from packages/manager/apps/hub_old/src/translations/Messages_pl_PL.json rename to packages/manager/apps/hub/src/translations/Messages_pl_PL.json diff --git a/packages/manager/apps/hub_old/src/translations/Messages_pt_PT.json b/packages/manager/apps/hub/src/translations/Messages_pt_PT.json similarity index 100% rename from packages/manager/apps/hub_old/src/translations/Messages_pt_PT.json rename to packages/manager/apps/hub/src/translations/Messages_pt_PT.json diff --git a/packages/manager/apps/hub_old/webpack.config.js b/packages/manager/apps/hub/webpack.config.js similarity index 100% rename from packages/manager/apps/hub_old/webpack.config.js rename to packages/manager/apps/hub/webpack.config.js diff --git a/packages/manager/apps/hub_old/package.json b/packages/manager/apps/hub_old/package.json deleted file mode 100644 index 198eab377941..000000000000 --- a/packages/manager/apps/hub_old/package.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "name": "@ovh-ux/manager-hub-old-app", - "version": "5.10.14", - "private": true, - "description": "OVHcloud Dashboard control panel.", - "repository": { - "type": "git", - "url": "git+https://github.com/ovh/manager.git", - "directory": "packages/manager/apps/hub" - }, - "license": "BSD-3-Clause", - "author": "OVH SAS", - "scripts": { - "build": "webpack --env production", - "dev": "webpack-dev-server", - "dev:watch": "yarn run dev", - "start": "lerna exec --stream --scope='@ovh-ux/manager-hub-app' --include-dependencies -- npm run build --if-present", - "start:dev": "lerna exec --stream --scope='@ovh-ux/manager-hub-app' --include-dependencies -- npm run dev --if-present", - "start:watch": "lerna exec --stream --parallel --scope='@ovh-ux/manager-hub-app' --include-dependencies -- npm run dev:watch --if-present" - }, - "dependencies": { - "@ovh-ux/manager-at-internet-configuration": "^1.5.0", - "@ovh-ux/manager-banner": "^1.3.1", - "@ovh-ux/manager-billing-components": "^3.21.1", - "@ovh-ux/manager-config": "^7.4.0", - "@ovh-ux/manager-core": "^12.17.1", - "@ovh-ux/manager-error-page": "^2.4.1", - "@ovh-ux/manager-hub": "^3.17.1", - "@ovh-ux/manager-models": "^1.14.14", - "@ovh-ux/manager-ng-layout-helpers": "^2.9.1", - "@ovh-ux/manager-trusted-nic": "^1.2.1", - "@ovh-ux/ng-at-internet": "^5.11.13", - "@ovh-ux/ng-at-internet-ui-router-plugin": "^3.5.0", - "@ovh-ux/ng-ovh-api-wrappers": "^5.1.0", - "@ovh-ux/ng-ovh-cloud-universe-components": "^2.14.2", - "@ovh-ux/ng-ovh-contracts": "^4.6.0", - "@ovh-ux/ng-ovh-feature-flipping": "^1.1.2", - "@ovh-ux/ng-ovh-http": "^5.1.1", - "@ovh-ux/ng-ovh-order-tracking": "^2.5.1", - "@ovh-ux/ng-ovh-payment-method": "^9.16.1", - "@ovh-ux/ng-ovh-proxy-request": "^2.1.1", - "@ovh-ux/ng-ovh-request-tagger": "^1.2.3", - "@ovh-ux/ng-ovh-sso-auth": "^4.8.1", - "@ovh-ux/ng-ovh-swimming-poll": "^5.1.1", - "@ovh-ux/ng-ovh-user-pref": "^2.1.1", - "@ovh-ux/ng-shell-tracking": "^0.5.10", - "@ovh-ux/ng-translate-async-loader": "^2.2.1", - "@ovh-ux/ng-ui-router-breadcrumb": "^1.3.1", - "@ovh-ux/ng-ui-router-layout": "^4.3.1", - "@ovh-ux/request-tagger": "^0.3.0", - "@ovh-ux/shell": "^3.8.0", - "@ovh-ux/ui-kit": "^6.10.5", - "@ovh-ux/url-builder": "^1.2.0", - "@uirouter/angularjs": "^1.0.23", - "angular": "^1.7.5", - "angular-animate": "^1.7.5", - "angular-aria": "^1.7.8", - "angular-cookies": "^1.7.8", - "angular-dynamic-locale": "^0.1.37", - "angular-i18n": "^1.7.8", - "angular-resource": "^1.7.8", - "angular-sanitize": "^1.7.8", - "angular-translate": "^2.18.1", - "angular-translate-loader-pluggable": "^1.3.1", - "angular-ui-bootstrap": "1.3.3", - "bloodhound-js": "^1.2.3", - "bootstrap": "^4.4.1", - "clipboard": "^2.0.4", - "core-js": "^3.6.5", - "flatpickr": "^4.6.3", - "jquery": "^2.1.3", - "lodash-es": "^4.17.15", - "moment": "^2.24.0", - "oclazyload": "^1.1.0", - "ovh-api-services": "^17.0.0", - "ovh-ui-kit-bs": "^4.2.0", - "popper.js": "^1.16.1", - "regenerator-runtime": "^0.13.7", - "ui-select": "^0.19.8", - "whatwg-fetch": "^3.5.0" - }, - "devDependencies": { - "@ovh-ux/manager-webpack-config": "^7.0.2", - "glob": "^7.1.6", - "lodash": "^4.17.15", - "webpack-merge": "^4.2.2" - }, - "regions": [ - "CA", - "EU", - "US" - ] -} diff --git a/packages/manager/apps/hub_old/src/index.scss b/packages/manager/apps/hub_old/src/index.scss deleted file mode 100644 index a552f43c37d8..000000000000 --- a/packages/manager/apps/hub_old/src/index.scss +++ /dev/null @@ -1,52 +0,0 @@ -@import 'bootstrap/scss/_functions'; -@import 'bootstrap/scss/_variables'; -@import 'bootstrap/scss/_mixins'; -@import 'bootstrap/scss/_utilities.scss'; -@import 'bootstrap/scss/_grid.scss'; - -.hub-main-view { - @import '@ovh-ux/manager-hub/src/variables.scss'; - @import './assets/theme/index.scss'; - - .minw-0 { - min-width: 0; - } - - &_container { - max-width: 80rem; // 1280px with 16px font size - margin: auto; - } -} - -.skipnav a { - width: 1px; - height: 1px; - position: fixed; - left: -100%; - top: auto; - overflow: hidden; - z-index: -1; - - &:focus, - &:active { - width: auto; - height: auto; - left: 0.625rem; - top: 0.625rem; - overflow: auto; - outline-width: 1px !important; - outline-style: dotted !important; - outline-color: initial !important; - outline-offset: -2px !important; - background-color: #fff; - z-index: 1100; - } -} - -.skiptarget { - width: 1px; - height: 1px; - overflow: hidden; - float: right; - position: absolute; -}