From 1681a720452ce9bd42ddd5f53703bbdcffb2ef6e Mon Sep 17 00:00:00 2001 From: Vim <86254807+vim-usds@users.noreply.github.com> Date: Mon, 6 Jun 2022 13:52:37 -0400 Subject: [PATCH] Remove threshold line in side panel (#1666) * Remove categories * Remove disadvantaged in sidepanel * Add comment --- .github/workflows/deploy_fe_staging.yml | 14 +++++++------- .../src/components/AreaDetail/AreaDetail.tsx | 4 ++-- .../AreaDetail/areaDetail.module.scss | 9 ++++----- .../__snapshots__/areaDetail.test.tsx.snap | 15 +++------------ client/src/data/copy/explore.tsx | 19 ++++++++++--------- client/src/intl/en.json | 6 +----- client/src/intl/es.json | 2 +- 7 files changed, 28 insertions(+), 41 deletions(-) diff --git a/.github/workflows/deploy_fe_staging.yml b/.github/workflows/deploy_fe_staging.yml index 54e8492c..58d8ea9d 100644 --- a/.github/workflows/deploy_fe_staging.yml +++ b/.github/workflows/deploy_fe_staging.yml @@ -49,13 +49,13 @@ jobs: run: npm test - name: Check for security vulnerabilities run: npm audit --production - # - name: Cypress / Gherkin integration tests 🌃 - # uses: cypress-io/github-action@v2 - # with: - # working-directory: ${{env.WORKING_DIRECTORY}} - # browser: chrome - # start: npm start - # wait-on: "http://localhost:8000/en" + - name: Cypress / Gherkin integration tests 🌃 + uses: cypress-io/github-action@v2 + with: + working-directory: ${{env.WORKING_DIRECTORY}} + browser: chrome + start: npm start + wait-on: "http://localhost:8000/en" - name: Upload Artifact uses: actions/upload-artifact@v2 with: diff --git a/client/src/components/AreaDetail/AreaDetail.tsx b/client/src/components/AreaDetail/AreaDetail.tsx index 2e6669d5..82bacb05 100644 --- a/client/src/components/AreaDetail/AreaDetail.tsx +++ b/client/src/components/AreaDetail/AreaDetail.tsx @@ -599,9 +599,9 @@ const AreaDetail = ({properties, hash}: IAreaDetailProps) => { {/* Number of thresholds exceeded */} -
+ {/*
{EXPLORE_COPY.numberOfThresholdsExceeded(properties[constants.TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS])} -
+
*/} {/* Send Feedback button */}
- Disadvantaged in 5 categories -
-
- At or above 3 thresholds + in 5 categories
- Disadvantaged in 5 categories -
-
- At or above 3 thresholds + in 5 categories