diff --git a/.circleci/config.yml b/.circleci/config.yml index 07f29ff52..a9a73ee39 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -180,8 +180,27 @@ jobs: - aws-s3/sync: from: build to: "s3://rome-online-test/" - - jira/notify + - jira/notify + rome-app-beta-build: + docker: + - image: cimg/node:18.18.2 + resource_class: large + working_directory: ~/repo/client + + steps: + - checkout: + path: ~/repo + - run: + name: Install Dependencies + command: npm i + + - run: npm run build + + - aws-s3/sync: + from: build + to: "s3://rome-online-production-beta/" + - jira/notify test-hasura-migrate: docker: @@ -233,6 +252,49 @@ jobs: to: "s3://imex-online-test/" - jira/notify + test-app-beta-build: + docker: + - image: cimg/node:18.18.2 + resource_class: large + working_directory: ~/repo/client + + steps: + - checkout: + path: ~/repo + + - run: + name: Install Dependencies + command: npm i + + - run: npm run build:test + + - aws-s3/sync: + from: build + to: "s3://imex-online-test-beta/" + - jira/notify + + rome-test-app-beta-build: + docker: + - image: cimg/node:18.18.2 + resource_class: large + working_directory: ~/repo/client + + steps: + - checkout: + path: ~/repo + + - run: + name: Install Dependencies + command: npm i + + - run: npm run build:test + + - aws-s3/sync: + from: build + to: "s3://rome-online-test-beta/" + - jira/notify + + admin-app-build: docker: - image: cimg/node:16.15.0 @@ -274,6 +336,14 @@ workflows: filters: branches: only: master + - app-beta-build: + filters: + branches: + only: master-beta + - rome-app-beta-build: + filters: + branches: + only: rome/master-beta - hasura-migrate: secret: ${HASURA_PROD_SECRET} filters: @@ -296,6 +366,14 @@ workflows: filters: branches: only: test + - rome-test-app-beta-build: + filters: + branches: + only: rome/test-beta + - test-app-beta-build: + filters: + branches: + only: test-beta - test-hasura-migrate: secret: ${HASURA_TEST_SECRET} filters: diff --git a/client/src/components/header/header.component.jsx b/client/src/components/header/header.component.jsx index 356f3a50f..5c0014132 100644 --- a/client/src/components/header/header.component.jsx +++ b/client/src/components/header/header.component.jsx @@ -13,7 +13,8 @@ import Icon, { FileFilled, //GlobalOutlined, HomeFilled, - ImportOutlined, InfoCircleOutlined, + ImportOutlined, + InfoCircleOutlined, LineChartOutlined, PaperClipOutlined, PhoneOutlined, @@ -26,8 +27,8 @@ import Icon, { UserOutlined, } from "@ant-design/icons"; import { useTreatments } from "@splitsoftware/splitio-react"; -import {Layout, Menu, Switch, Tooltip} from "antd"; -import React, {useEffect, useState} from "react"; +import { Layout, Menu, Switch, Tooltip } from "antd"; +import React, { useEffect, useState } from "react"; import { useTranslation } from "react-i18next"; import { BsKanban } from "react-icons/bs"; import { @@ -52,7 +53,7 @@ import { selectBodyshop, selectCurrentUser, } from "../../redux/user/user.selectors"; -import {handleBeta, setBeta, checkBeta} from "../../utils/handleBeta"; +import { handleBeta, setBeta, checkBeta } from "../../utils/handleBeta"; const mapStateToProps = createStructuredSelector({ currentUser: selectCurrentUser, @@ -116,7 +117,7 @@ function Header({ setBeta(checked); setBetaSwitch(checked); handleBeta(); - } + }; return ( @@ -443,17 +444,18 @@ function Header({ ))} - - - - Try the new ImEX Online - - - - + { + // + // + // + // Try the new ImEX Online + // + // + // + } );