Update side panel copy to Living copy (#1285)

* Update side panel copy to Living copy

* Update lead paint short description

* Rebase main and update areaDetail snapshots

* Update cypress test on dataset used in beta header

* QA review updates

* Update deploy-fe-main to point to new CDN (d3r)
This commit is contained in:
Vim 2022-02-17 13:59:23 -05:00 committed by GitHub
commit d5a15f1053
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 415 additions and 425 deletions

View file

@ -57,7 +57,7 @@ exports[`rendering of the AreaDetail checks if indicators for ISLAND AREAS are p
</div>
<a
href="
mailto:Screeningtool-Support@omb.eop.gov?subject=Census tract ID 98729374234, N/A, N/A&body=Please provide feedback about this census tract, including about the datasets, the data categories provided for this tract, the communities who live in this tract, and anything else relevant that we should know.
mailto:Screeningtool-Support@omb.eop.gov?subject=Census tract ID 98729374234, N/A, N/A&body=Please provide feedback about this census tract, including about the datasets, the data categories provided for this tract, the communities who live in this tract, and anything else relevant that CEQ should know about this tract.
"
>
@ -258,7 +258,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
</div>
<a
href="
mailto:Screeningtool-Support@omb.eop.gov?subject=Census tract ID 98729374234, N/A, N/A&body=Please provide feedback about this census tract, including about the datasets, the data categories provided for this tract, the communities who live in this tract, and anything else relevant that we should know.
mailto:Screeningtool-Support@omb.eop.gov?subject=Census tract ID 98729374234, N/A, N/A&body=Please provide feedback about this census tract, including about the datasets, the data categories provided for this tract, the communities who live in this tract, and anything else relevant that CEQ should know about this tract.
"
>
@ -642,8 +642,7 @@ exports[`rendering of the AreaDetail checks if indicators for NATION is present
Lead paint
<div>
Percent of pre-1960 housing when median home value is at or below 90th percentile in order to
exclude areas with high value, older homes
Percent of pre-1960 housing when median home value at or below 90th percentile
</div>
</div>
@ -1203,7 +1202,7 @@ exports[`rendering of the AreaDetail checks if indicators for PUERTO RICO are pr
</div>
<a
href="
mailto:Screeningtool-Support@omb.eop.gov?subject=Census tract ID 98729374234, N/A, N/A&body=Please provide feedback about this census tract, including about the datasets, the data categories provided for this tract, the communities who live in this tract, and anything else relevant that we should know.
mailto:Screeningtool-Support@omb.eop.gov?subject=Census tract ID 98729374234, N/A, N/A&body=Please provide feedback about this census tract, including about the datasets, the data categories provided for this tract, the communities who live in this tract, and anything else relevant that CEQ should know about this tract.
"
>

View file

@ -146,7 +146,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
</div>
<div>
<h3>
Clean transportation
Clean transit
</h3>
<p>
@ -230,7 +230,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<a
href="#median-home"
>
low median home value
median home value
</a>
is at or less than
90th percentile OR at or above the 90th percentile for the
@ -488,7 +488,7 @@ exports[`rendering of the Categories checks if component renders 1`] = `
unemployment
</a>
OR
percent individuals in households at or below 100% federal
percent individuals in households at or below 100% Federal
<a
href="#poverty"
>

View file

@ -11,7 +11,7 @@ exports[`rendering of indicator dataset card checks if component renders 1`] = `
<div>
Percent of a census tract's population in households where household income is at or below
200% of the federal poverty level.
200% of the Federal poverty level.
</div>
<ul>
@ -19,7 +19,7 @@ exports[`rendering of indicator dataset card checks if component renders 1`] = `
<span>
Used in:
</span>
All categories except for training and workforce development
All categories except for the training and workforce development catetory
</li>
<li>
<span>

View file

@ -25,6 +25,12 @@ const DatasetContainer = () => {
</Grid>
</Grid>
<Grid row>
<Grid desktop={{col: 9}}>
<p>{intl.formatMessage(METHODOLOGY_COPY.DATASETS.INFO)}</p>
</Grid>
</Grid>
<Grid row>
<Grid col={12}>
<div className={styles.datasetCardsContainer}>

View file

@ -7,7 +7,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
<div
class="grid-container-desktop-lg"
data-cy="datasets-used-in-methodology-block"
data-cy="datasets-used-in-beta-methodology-block"
data-testid="gridContainer"
>
<div
@ -19,10 +19,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
data-testid="grid"
>
<h2>
Datasets used in methodology
Datasets used in beta methodology
</h2>
</div>
</div>
<div
class="grid-row"
data-testid="grid"
>
<div
class="desktop:grid-col-9"
data-testid="grid"
>
<p>
The datasets used in the current version of the tool come from a variety of sources and were
selected based on relevance, availability, and quality. The datasets seek to identify a range of
human health, environmental, climate-related, and other impacts on communities.
</p>
</div>
</div>
<div
class="grid-row"
data-testid="grid"
@ -41,7 +58,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div>
Percent of a census tract's population in households where household income is at or below
200% of the federal poverty level.
200% of the Federal poverty level.
</div>
<ul>
@ -49,7 +66,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
All categories except for training and workforce development
All categories except for the training and workforce development catetory
</li>
<li>
<span>
@ -135,10 +152,10 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Percent of agriculture value at risk from losses due to natural hazards such as the fourteen
natural hazards that have some link to climate change including: avalanche, coastal flooding,
Percent of agriculture value at risk from losses due to natural hazards that have some link
to climate change: avalanche, coastal flooding,
cold wave, drought, hail, heat wave, hurricane, ice storm, landslide, riverine flooding, strong
wind, tornado, wildfire, and winter weather. Calculated by dividing the agriculture value at risk in
wind, tornado, wildfire, and winter weather. Rate calculated by dividing the agriculture value at risk in
a census tract by the total agriculture value in that census tract.
</div>
@ -147,7 +164,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Climate change methodology
Climate change category
</li>
<li>
<span>
@ -186,10 +203,10 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Percent of building value at risk from losses due to natural hazards such as the fourteen
natural hazards that have some link to climate change including: avalanche, coastal flooding,
Percent of building value at risk from losses due to natural hazards
that have some link to climate change: avalanche, coastal flooding,
cold wave, drought, hail, heat wave, hurricane, ice storm, landslide, riverine flooding, strong
wind, tornado, wildfire, and winter weather. Calculated by dividing the building value at risk in
wind, tornado, wildfire, and winter weather. Rate calculated by dividing the building value at risk in
a census tract by the total building value in that census tract.
</div>
@ -198,7 +215,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Climate change methodology
Climate change category
</li>
<li>
<span>
@ -237,8 +254,8 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Rate relative to the population in fatalities and injuries due to natural hazards each year such as
the fourteen natural hazards that have some link to climate change including: avalanche,
Rate relative to the population in fatalities and injuries due to natural hazards each year
that have some link to climate change: avalanche,
coastal flooding, cold wave, drought, hail, heat wave, hurricane, ice storm, landslide,
riverine flooding, strong wind, tornado, wildfire, and winter weather. Population loss is defined
as the Spatial Hazard Events and Losses or National Centers for Environmental Informations
@ -255,7 +272,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Climate change methodology
Climate change category
</li>
<li>
<span>
@ -293,14 +310,14 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Energy cost burden
</h3>
<div>
Average annual energy cost ($) divided by household income.
Average annual energy cost per household ($) divided by household average income.
</div>
<ul>
<li>
<span>
Used in:
</span>
Clean energy and energy efficiency methodology
Clean energy and energy efficiency category
</li>
<li>
<span>
@ -339,7 +356,9 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Fine inhalable particles, with diameters that are generally 2.5 micrometers and smaller.
Fine inhalable particles, with diameters that are generally 2.5 micrometers and smaller. The value
in the fields is the weight of these particles in micrograms per cubic meter.
</div>
<ul>
@ -347,7 +366,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Clean energy and energy efficiency methodology
Clean energy and energy efficiency category
</li>
<li>
<span>
@ -390,7 +409,8 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Mixture of particles that is part of diesel exhaust in the air.
Mixture of particles that is part of diesel exhaust in the air. The value in the fields is the
weight of these particles in micrograms per cubic meter.
</div>
<ul>
@ -398,7 +418,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Clean transportation methodology
Clean transit category
</li>
<li>
<span>
@ -438,7 +458,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div>
Count of vehicles (average annual daily traffic) at major roads
within 500 meters, divided by distance in meters (not km).
within 500 meters, divided by distance in meters.
</div>
<ul>
@ -446,7 +466,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Clean transportation methodology
Clean transit category
</li>
<li>
<span>
@ -486,7 +506,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div>
The percent of households in a census tract that are both earning less than 80% of HUD Area Median
Family Income by county and are paying greater than 30% of their income to housing costs.
Family Income by county and are spending more than 30% of their income on housing costs.
</div>
<ul>
@ -494,13 +514,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Affordable and sustainable housing methodology
Affordable and sustainable housing category
</li>
<li>
<span>
Responsible Party:
</span>
Department of Housing & Urban Development's (HUD)
Department of Housing & Urban Development (HUD)
</li>
<li>
<span>
@ -534,7 +554,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div>
Percent of housing units built pre-1960, used as an indicator of potential lead paint exposure in
tracts with median home values less than 90th percentile
tracts with median home values less than 90th percentile.
</div>
<ul>
@ -542,7 +562,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Affordable and sustainable housing methodology
Affordable and sustainable housing category
</li>
<li>
<span>
@ -577,7 +597,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="median-home"
>
<h3>
Low median home value
Median home value
</h3>
<div>
@ -589,7 +609,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Affordable and sustainable housing methodology
Affordable and sustainable housing category
</li>
<li>
<span>
@ -629,7 +649,8 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div>
Count of hazardous waste facilities (Treatment, Storage, and Disposal Facilities and Large
Quantity Generators) within 5 km (or nearest beyond 5 km), each divided by distance in kilometers.
Quantity Generators) within 5 kilometers (or nearest beyond 5 kilometers), each divided by
distance in kilometers.
</div>
<ul>
@ -637,7 +658,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Reduction and remediation of legacy pollution methodology
Reduction and remediation of legacy pollution category
</li>
<li>
<span>
@ -660,7 +681,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
Treatment, Storage, and Disposal Facilities (TSDF) data
</a>
from 2020 calculated from EPA RCRA database as compiled
from 2020 calculated from EPA's RCRA database as compiled
by EPA's EJSCREEN
</li>
@ -680,8 +701,8 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Count of proposed or listed NPL - also known as superfund - sites within 5 km (or nearest one
beyond 5 km), each divided by distance in kilometers.
Count of proposed or listed NPL - also known as Superfund - sites within 5 kilometers (or nearest one
beyond 5 kilometers), each divided by distance in kilometers.
</div>
<ul>
@ -689,7 +710,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Reduction and remediation of legacy pollution methodology
Reduction and remediation of legacy pollution category
</li>
<li>
<span>
@ -728,8 +749,8 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Count of RMP (potential chemical accident management plan) facilities within 5 km (or nearest
one beyond 5 km), each divided by distance in kilometers.
Count of RMP (potential chemical accident management plan) facilities within 5 kilometers (or nearest
one beyond 5 kilometers), each divided by distance in kilometers.
</div>
<ul>
@ -737,7 +758,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Reduction and remediation of legacy pollution methodology
Reduction and remediation of legacy pollution category
</li>
<li>
<span>
@ -776,8 +797,8 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Risk-Screening Environmental Indicators (RSEI) modeled Toxic Concentrations at
stream segments within 500 meters, divided by distance in kilometers (km).
Risk-Screening Environmental Indicators (RSEI) modeled toxic concentrations at
stream segments within 500 meters, divided by distance in kilometers.
</div>
<ul>
@ -785,7 +806,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Critical clean water and waste infrastructure methodology
Critical clean water and waste infrastructure category
</li>
<li>
<span>
@ -825,7 +846,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<div>
Weighted percent of people who answer “yes” to both of the following questions: “Have you ever
been told by a doctor, nurse, or other health professional that you have asthma?” and the question
been told by a doctor, nurse, or other health professional that you have asthma?” and
“Do you still have asthma?”
</div>
@ -834,7 +855,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Health burdens methodology
Health burdens category
</li>
<li>
<span>
@ -883,7 +904,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Health burdens methodology
Health burdens category
</li>
<li>
<span>
@ -932,7 +953,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Health burdens methodology
Health burdens category
</li>
<li>
<span>
@ -967,7 +988,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="life-exp"
>
<h3>
Low life expectancy
Life expectancy
</h3>
<div>
@ -978,11 +999,12 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Note:
</strong>
Unlike most of the other datasets, high values of this indicator indicate low burdens.
For percentile calculations, the percentile is calculated in reverse order, so that the tract with
Unlike most of the other datasets, high values of this data indicate low burdens.
For percentile calculations of burden, the percentile is calculated in reverse order, so that the tract with
the highest median income relative to area median income (lowest burden on this measure) is at the
0th percentile, and the tract with the lowest median income relative to area median income
(highest burden on this measure) is at the 100th percentile.
(highest burden on this measure) is at the 100th percentile. Tracts with the highest number
have the lowest life expectancy.
</p>
@ -993,7 +1015,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Health burdens methodology
Health burdens category
</li>
<li>
<span>
@ -1028,7 +1050,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
id="low-med-inc"
>
<h3>
Low median Income
Median Income
</h3>
<div>
@ -1040,7 +1062,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Training and workforce development methodology
Training and workforce development category
</li>
<li>
<span>
@ -1076,7 +1098,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.census.gov/programs-surveys/acs"
href="https://www.census.gov/data/developers/data-sets/acs-5year/2010.html"
rel="noreferrer"
target="_blank"
>
@ -1100,8 +1122,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
The percent of limited speaking households, which are households where no one over age
14 speaks English well.
The percent households, which are households, where no one over the age fourteen speaks English well.
</div>
<ul>
@ -1109,7 +1130,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Training and workforce development methodology
Training and workforce development category
</li>
<li>
<span>
@ -1156,7 +1177,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Training and workforce development methodology
Training and workforce development category
</li>
<li>
<span>
@ -1192,7 +1213,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.census.gov/programs-surveys/acs"
href="https://www.census.gov/data/developers/data-sets/acs-5year/2010.html"
rel="noreferrer"
target="_blank"
>
@ -1216,8 +1237,8 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Percent of a tract's population in households where the household income is at or below 100% of
the federal poverty level.
Proportion of a tract's population in households where the household income is at or below 100% of
the Federal poverty level.
</div>
<ul>
@ -1225,7 +1246,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Training and workforce development methodology
Training and workforce development category
</li>
<li>
<span>
@ -1261,7 +1282,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.census.gov/programs-surveys/acs"
href="https://www.census.gov/data/developers/data-sets/acs-5year/2010.html"
rel="noreferrer"
target="_blank"
>
@ -1285,7 +1306,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<div>
Percent (not percentile) of people ages 25 years or older in a census tract whose
Proportion of people ages 25 years or older in a census tract whose
education level is less than a high school diploma.
</div>
@ -1294,7 +1315,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
Training and workforce development methodology
Training and workforce development category
</li>
<li>
<span>
@ -1330,7 +1351,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.census.gov/programs-surveys/acs"
href="https://www.census.gov/data/developers/data-sets/acs-5year/2010.html"
rel="noreferrer"
target="_blank"
>

View file

@ -17,7 +17,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
page and send feedback.
</li>
<li>
Find communities of interest and
Use the tool to find communities and
<a
class="usa-link usa-link--external"
data-cy=""
@ -25,7 +25,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
rel="noreferrer"
target="_blank"
>
share feedback
share your feedback
</a>
.
</li>

View file

@ -12,7 +12,7 @@ exports[`rendering of the LowIncome checks if component renders 1`] = `
<p>
At or above 65th percentile for percent of census tract population of households where household
income is at or below 200% of the federal poverty level
income is at or below 200% of the Federal poverty level
</p>
</div>

View file

@ -14,10 +14,9 @@ exports[`rendering of the MapLegend checks if snapshots have changed 1`] = `
class="secondary"
>
Communities identified as disadvantaged for the purposes of Justice40 have been
historically marginalized, underserved, and overburdened by pollution. These communities meet
or exceed the criteria in one or more areas of focus.
Communities identified as disadvantaged by the tool are those that are marginalized, underserved,
and overburdened by pollution. These communities are at or above the combined thresholds in one or
more of eight categories of criteria.
</p>
</div>

View file

@ -31,6 +31,14 @@ const MapWrapper = ({location}: IMapWrapperProps) => {
<p>{EXPLORE_COPY.NOTE_ON_TERRITORIES.PARA_1}</p>
<p>{EXPLORE_COPY.NOTE_ON_TERRITORIES.PARA_2}</p>
<p>{EXPLORE_COPY.NOTE_ON_TERRITORIES.PARA_3}</p>
<p>{EXPLORE_COPY.NOTE_ON_TERRITORIES.PARA_4}</p>
</Grid>
</Grid>
<Grid row>
<Grid col={7}>
<h2>{EXPLORE_COPY.NOTE_ON_TRIBAL_NATIONS.INTRO}</h2>
<p>{EXPLORE_COPY.NOTE_ON_TRIBAL_NATIONS.PARA_1}</p>
</Grid>
</Grid>
</>

View file

@ -24,9 +24,9 @@ exports[`simulate app starting up, no click on map should match the snapshot of
A census tract is generally between 1,200 and 8,000 people, with an average size of 4,000 people.
Census tracts are small, relatively permanent subdivisions of a county defined by the
U.S. Census Bureau and usually cover a contiguous area. The census tract level represents the
smallest geographical unit that can be presented in a statistically sound manner, given the
datasets that are being used.
U.S. Census Bureau and usually cover a contiguous area. The census tract level currently represents the
smallest geographical unit for which publicly-available and nationally-consistent datasets can
be consistently displayed on the tool.
</cite>
</div>