Update copy based on bug party (#1973)

* 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
This commit is contained in:
Vim 2022-10-03 19:23:39 -07:00 committed by GitHub
parent 55af21cd13
commit 9eca504cfc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 38 additions and 38 deletions

View file

@ -221,7 +221,7 @@ exports[`J40Footer renders correctly 1`] = `
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -230,7 +230,7 @@ exports[`J40Footer renders correctly 1`] = `
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"

View file

@ -28,7 +28,7 @@ import AreaDetail from './AreaDetail';
import MapInfoPanel from './mapInfoPanel'; import MapInfoPanel from './mapInfoPanel';
import MapSearch from './MapSearch'; import MapSearch from './MapSearch';
import MapTractLayers from './MapTractLayers/MapTractLayers'; import MapTractLayers from './MapTractLayers/MapTractLayers';
import MapTribalLayer from './MapTribalLayers/MapTribalLayers'; // import MapTribalLayer from './MapTribalLayers/MapTribalLayers';
import TerritoryFocusControl from './territoryFocusControl'; import TerritoryFocusControl from './territoryFocusControl';
import {getOSBaseMap} from '../data/getOSBaseMap'; import {getOSBaseMap} from '../data/getOSBaseMap';

View file

@ -352,7 +352,7 @@ exports[`rendering of PrioritizationCopy Component - checks if component renders
<DocumentFragment> <DocumentFragment>
<div> <div>
<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>
</div> </div>
</DocumentFragment> </DocumentFragment>

View file

@ -7,7 +7,7 @@ exports[`rendering of the SurveyButton checks if component renders 1`] = `
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -16,7 +16,7 @@ exports[`rendering of the SurveyButton checks if component renders 1`] = `
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"

View file

@ -28,12 +28,12 @@ export const PAGE_INTRO = defineMessages({
}, },
SURVEY_TEXT: { SURVEY_TEXT: {
id: 'contact.page.fab.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', description: 'Navigate to the contact page, this is the text for floating action button',
}, },
SURVEY_URL: { SURVEY_URL: {
id: 'contact.page.fab.survey.link', 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', description: 'The footer sticky link that links to the CEJST survey',
}, },
}); });

View file

@ -560,7 +560,7 @@ export const PRIORITIZATION_COPY = {
/>, />,
PRIO_1_BURD: <FormattedMessage PRIO_1_BURD: <FormattedMessage
id={'explore.map.page.side.panel.prio.copy.prio.one.burden'} 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..`} 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 DONUT: <FormattedMessage
@ -852,8 +852,8 @@ export const SIDE_PANEL_INDICATORS = defineMessages({
}, },
LACK_PLUMBING: { LACK_PLUMBING: {
id: 'explore.map.page.side.panel.indicator.lack.plumbing', id: 'explore.map.page.side.panel.indicator.lack.plumbing',
defaultMessage: '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 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: { LEAD_PAINT: {
id: 'explore.map.page.side.panel.indicator.leadPaint', id: 'explore.map.page.side.panel.indicator.leadPaint',
@ -1111,8 +1111,8 @@ export const SIDE_PANEL_INDICATOR_DESCRIPTION = defineMessages({
}, },
LACK_GREEN_SPACE: { LACK_GREEN_SPACE: {
id: 'explore.map.page.side.panel.indicator.description.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', 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 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 non-crop land covered with artificial materials like concrete or pavement`,
}, },
LACK_PLUMBING: { LACK_PLUMBING: {
id: 'explore.map.page.side.panel.indicator.description.lack.plumbing', id: 'explore.map.page.side.panel.indicator.description.lack.plumbing',
@ -1268,7 +1268,7 @@ export const SIDE_PANEL_SPACERS = {
export const LOW_INCOME_TOOLTIP = defineMessages({ export const LOW_INCOME_TOOLTIP = defineMessages({
IMP_NO_ADJ_YES: { IMP_NO_ADJ_YES: {
id: 'explore.map.page.side.panel.indicator.low.income.tooltip.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.', 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: { IMP_YES_ADJ_NO: {
@ -1278,7 +1278,7 @@ export const LOW_INCOME_TOOLTIP = defineMessages({
}, },
IMP_YES_ADJ_YES: { IMP_YES_ADJ_YES: {
id: 'explore.map.page.side.panel.indicator.low.income.tooltip.imp.yes.adj.no', 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.', 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.',
}, },
}); });

View file

@ -256,11 +256,11 @@
"description": "Navigate to the contact page, this is the census tract feedback section" "description": "Navigate to the contact page, this is the census tract feedback section"
}, },
"contact.page.fab.survey.link": { "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" "description": "The footer sticky link that links to the CEJST survey"
}, },
"contact.page.fab.survey.text": { "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" "description": "Navigate to the contact page, this is the text for floating action button"
}, },
"contact.page.general": { "contact.page.general": {
@ -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" "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": { "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", "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 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 non-crop land covered with artificial materials like concrete or pavement"
}, },
"explore.map.page.side.panel.indicator.description.lack.plumbing": { "explore.map.page.side.panel.indicator.description.lack.plumbing": {
"defaultMessage": "Share of homes without indoor kitchens or plumbing", "defaultMessage": "Share of homes without indoor kitchens or plumbing",
@ -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" "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": { "explore.map.page.side.panel.indicator.lack.plumbing": {
"defaultMessage": "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 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": { "explore.map.page.side.panel.indicator.leadPaint": {
"defaultMessage": "Lead paint", "defaultMessage": "Lead paint",
@ -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" "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": { "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." "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": { "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." "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": { "explore.map.page.side.panel.indicator.low.med.income": {
@ -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." "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": { "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.." "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": { "explore.map.page.side.panel.send.feedback.alt.img": {

View file

@ -988,7 +988,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -997,7 +997,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"

View file

@ -688,7 +688,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -697,7 +697,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"

View file

@ -688,7 +688,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -697,7 +697,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"

View file

@ -601,7 +601,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -610,7 +610,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"

View file

@ -2568,7 +2568,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -2577,7 +2577,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"

View file

@ -1199,7 +1199,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -1208,7 +1208,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"

View file

@ -601,7 +601,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="gridContainer" data-testid="gridContainer"
> >
<a <a
href="https://www.surveymonkey.com/r/cejst-survey" href="https://www.surveymonkey.com/r/P3LWTSB"
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
@ -610,7 +610,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="button" data-testid="button"
type="button" type="button"
> >
Help improve the site & data Help us improve the site & data
<img <img
alt="launch icon" alt="launch icon"
src="test-file-stub" src="test-file-stub"