Skip to content

Commit

Permalink
Update copy based on bug party (#1973)
Browse files Browse the repository at this point in the history
* Update copy from team debug party
- closes #1945
- Lack of green space description
- Lack of indoor plumbing

* Update copy
- closes #1950

* Update copy
- closes #1951

* Update survey button
- Text and link
- closes 1967

* Update copy

- correct tool tip copy
- closes #1959
  • Loading branch information
vim-usds authored Oct 4, 2022
1 parent 55af21c commit 9eca504
Show file tree
Hide file tree
Showing 14 changed files with 38 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ exports[`J40Footer renders correctly 1`] = `
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -230,7 +230,7 @@ exports[`J40Footer renders correctly 1`] = `
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/J40Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import AreaDetail from './AreaDetail';
import MapInfoPanel from './mapInfoPanel';
import MapSearch from './MapSearch';
import MapTractLayers from './MapTractLayers/MapTractLayers';
import MapTribalLayer from './MapTribalLayers/MapTribalLayers';
// import MapTribalLayer from './MapTribalLayers/MapTribalLayers';
import TerritoryFocusControl from './territoryFocusControl';
import {getOSBaseMap} from '../data/getOSBaseMap';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ exports[`rendering of PrioritizationCopy Component - checks if component renders
<DocumentFragment>
<div>
<div>
This tract is considered disadvantaged because it meets one burden threshold AND the associated socio-economic threshold..
This tract is considered disadvantaged because it meets one burden threshold AND the associated socio-economic threshold.
</div>
</div>
</DocumentFragment>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ exports[`rendering of the SurveyButton checks if component renders 1`] = `
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -16,7 +16,7 @@ exports[`rendering of the SurveyButton checks if component renders 1`] = `
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down
4 changes: 2 additions & 2 deletions client/src/data/copy/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ export const PAGE_INTRO = defineMessages({
},
SURVEY_TEXT: {
id: 'contact.page.fab.survey.text',
defaultMessage: `Help improve the site & data`,
defaultMessage: `Help us improve the site & data`,
description: 'Navigate to the contact page, this is the text for floating action button',
},
SURVEY_URL: {
id: 'contact.page.fab.survey.link',
defaultMessage: 'https://www.surveymonkey.com/r/cejst-survey',
defaultMessage: 'https://www.surveymonkey.com/r/P3LWTSB',
description: 'The footer sticky link that links to the CEJST survey',
},
});
Expand Down
14 changes: 7 additions & 7 deletions client/src/data/copy/explore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ export const PRIORITIZATION_COPY = {
/>,
PRIO_1_BURD: <FormattedMessage
id={'explore.map.page.side.panel.prio.copy.prio.one.burden'}
defaultMessage={'This tract is considered disadvantaged because it meets one burden threshold AND the associated socio-economic threshold..'}
defaultMessage={'This tract is considered disadvantaged because it meets one burden threshold AND the associated socio-economic threshold.'}
description={`Navigate to the explore the map page. Click on tract, The side panel will show This tract is considered disadvantaged because it meets one burden threshold AND the associated socio-economic threshold..`}
/>,
DONUT: <FormattedMessage
Expand Down Expand Up @@ -852,8 +852,8 @@ export const SIDE_PANEL_INDICATORS = defineMessages({
},
LACK_PLUMBING: {
id: 'explore.map.page.side.panel.indicator.lack.plumbing',
defaultMessage: 'Lack of plumbing',
description: `Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show Lack of plumbing`,
defaultMessage: 'Lack of indoor plumbing',
description: `Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show Lack of indoor plumbing`,
},
LEAD_PAINT: {
id: 'explore.map.page.side.panel.indicator.leadPaint',
Expand Down Expand Up @@ -1111,8 +1111,8 @@ export const SIDE_PANEL_INDICATOR_DESCRIPTION = defineMessages({
},
LACK_GREEN_SPACE: {
id: 'explore.map.page.side.panel.indicator.description.lack.green.space',
defaultMessage: 'Share of land covered with artificial materials like concrete or pavement and crop land',
description: `Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show an indicator description Share of land covered with artificial materials like concrete or pavement and crop land`,
defaultMessage: 'Share of non-crop land covered with artificial materials like concrete or pavement',
description: `Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show an indicator description Share of non-crop land covered with artificial materials like concrete or pavement`,
},
LACK_PLUMBING: {
id: 'explore.map.page.side.panel.indicator.description.lack.plumbing',
Expand Down Expand Up @@ -1268,7 +1268,7 @@ export const SIDE_PANEL_SPACERS = {
export const LOW_INCOME_TOOLTIP = defineMessages({
IMP_NO_ADJ_YES: {
id: 'explore.map.page.side.panel.indicator.low.income.tooltip.imp.no.adj.yes',
defaultMessage: `Tracts that are surrounded by tracts<br />that are considered disadvantaged<br />have a low income threshold.`,
defaultMessage: `Tracts that are surrounded by tracts<br />that are considered disadvantaged<br />have an adjusted low income threshold.`,
description: 'Hover over the low income icon and it will show Tracts that are surrounded by tracts that are considered disadvantaged have a low income threshold.',
},
IMP_YES_ADJ_NO: {
Expand All @@ -1278,7 +1278,7 @@ export const LOW_INCOME_TOOLTIP = defineMessages({
},
IMP_YES_ADJ_YES: {
id: 'explore.map.page.side.panel.indicator.low.income.tooltip.imp.yes.adj.no',
defaultMessage: `Tracts with missing income data<br />are given estimated incomes<br />based on an average of the<br />incomes of the surrounding tracts.<br /> Tracts that are surrounded by<br />tracts that are considered<br />disadvantaged have a<br />low incomethreshold.`,
defaultMessage: `Tracts with missing income data<br />are given estimated incomes<br />based on an average of the<br />incomes of the surrounding tracts.<br /> Tracts that are surrounded by<br />tracts that are considered<br />disadvantaged have a<br />low income threshold.`,
description: 'Hover over the low income icon and it will show Tracts with missing income data are given estimated incomes based on an average of the incomes of the surrounding tracts. Tracts that are surrounded by tracts that are considered disadvantaged have a low income threshold.',
},
});
Expand Down
18 changes: 9 additions & 9 deletions client/src/intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,11 @@
"description": "Navigate to the contact page, this is the census tract feedback section"
},
"contact.page.fab.survey.link": {
"defaultMessage": "https://www.surveymonkey.com/r/cejst-survey",
"defaultMessage": "https://www.surveymonkey.com/r/P3LWTSB",
"description": "The footer sticky link that links to the CEJST survey"
},
"contact.page.fab.survey.text": {
"defaultMessage": "Help improve the site & data",
"defaultMessage": "Help us improve the site & data",
"description": "Navigate to the contact page, this is the text for floating action button"
},
"contact.page.general": {
Expand Down Expand Up @@ -648,8 +648,8 @@
"description": "Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show an indicator description of Share of households making less than 80% of the area median family income and spending more than 30% of income on housing"
},
"explore.map.page.side.panel.indicator.description.lack.green.space": {
"defaultMessage": "Share of land covered with artificial materials like concrete or pavement and crop land",
"description": "Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show an indicator description Share of land covered with artificial materials like concrete or pavement and crop land"
"defaultMessage": "Share of non-crop land covered with artificial materials like concrete or pavement",
"description": "Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show an indicator description Share of non-crop land covered with artificial materials like concrete or pavement"
},
"explore.map.page.side.panel.indicator.description.lack.plumbing": {
"defaultMessage": "Share of homes without indoor kitchens or plumbing",
Expand Down Expand Up @@ -776,8 +776,8 @@
"description": "Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show Lack of green space"
},
"explore.map.page.side.panel.indicator.lack.plumbing": {
"defaultMessage": "Lack of plumbing",
"description": "Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show Lack of plumbing"
"defaultMessage": "Lack of indoor plumbing",
"description": "Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show Lack of indoor plumbing"
},
"explore.map.page.side.panel.indicator.leadPaint": {
"defaultMessage": "Lead paint",
Expand All @@ -800,11 +800,11 @@
"description": "Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show low income"
},
"explore.map.page.side.panel.indicator.low.income.tooltip.imp.no.adj.yes": {
"defaultMessage": "Tracts that are surrounded by tracts<br />that are considered disadvantaged<br />have a low income threshold.",
"defaultMessage": "Tracts that are surrounded by tracts<br />that are considered disadvantaged<br />have an adjusted low income threshold.",
"description": "Hover over the low income icon and it will show Tracts that are surrounded by tracts that are considered disadvantaged have a low income threshold."
},
"explore.map.page.side.panel.indicator.low.income.tooltip.imp.yes.adj.no": {
"defaultMessage": "Tracts with missing income data<br />are given estimated incomes<br />based on an average of the<br />incomes of the surrounding tracts.<br /> Tracts that are surrounded by<br />tracts that are considered<br />disadvantaged have a<br />low incomethreshold.",
"defaultMessage": "Tracts with missing income data<br />are given estimated incomes<br />based on an average of the<br />incomes of the surrounding tracts.<br /> Tracts that are surrounded by<br />tracts that are considered<br />disadvantaged have a<br />low income threshold.",
"description": "Hover over the low income icon and it will show Tracts with missing income data are given estimated incomes based on an average of the incomes of the surrounding tracts. Tracts that are surrounded by tracts that are considered disadvantaged have a low income threshold."
},
"explore.map.page.side.panel.indicator.low.med.income": {
Expand Down Expand Up @@ -1060,7 +1060,7 @@
"description": "Navigate to the explore the map page. Click on tract, This tract is considered disadvantaged because it meets {burdens} burden thresholds AND the associated socio-economic threshold."
},
"explore.map.page.side.panel.prio.copy.prio.one.burden": {
"defaultMessage": "This tract is considered disadvantaged because it meets one burden threshold AND the associated socio-economic threshold..",
"defaultMessage": "This tract is considered disadvantaged because it meets one burden threshold AND the associated socio-economic threshold.",
"description": "Navigate to the explore the map page. Click on tract, The side panel will show This tract is considered disadvantaged because it meets one burden threshold AND the associated socio-economic threshold.."
},
"explore.map.page.side.panel.send.feedback.alt.img": {
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/tests/__snapshots__/about.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -997,7 +997,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/tests/__snapshots__/contact.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -697,7 +697,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/tests/__snapshots__/downloads.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -697,7 +697,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -610,7 +610,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2568,7 +2568,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -2577,7 +2577,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down
4 changes: 2 additions & 2 deletions client/src/pages/tests/__snapshots__/publicEng.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -1208,7 +1208,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer"
>
<a
href="https://www.surveymonkey.com/r/cejst-survey"
href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer"
target="_blank"
>
Expand All @@ -610,7 +610,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button"
type="button"
>
Help improve the site & data
Help us improve the site & data
<img
alt="launch icon"
src="test-file-stub"
Expand Down

0 comments on commit 9eca504

Please sign in to comment.