Update FE to Def M (#1235)

* Update to Def M

- update first column of meth page, formula intro, ID,AND, & remove THEN
- remove Low income box under download box
- update id as disadv. in each category
- modify AND clause in each category
- add dataset Higher ed enrollment
- update snapshots

* Fix HS and higher ed DOM id in links

* Update side panel description to def m

* Fix typo on AND part of the formula

* Update snapshots

* Update snapshot

* Resolve rebase error where Send feedback was removed

- add back send feedback button
- update snapshots

* Add back blue indicator boolean
This commit is contained in:
Vim 2022-02-03 15:07:44 -05:00 committed by GitHub
commit fb69a09485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 1227 additions and 856 deletions

View file

@ -302,31 +302,33 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<section>
<p>
Under the current formula, a census tract will be considered disadvantaged:
Under the current formula, a census tract will be
<strong>
identified as disadvantaged
</strong>
in one or more categories of criteria:
</p>
<p>
<span>
IF
</span>
it is above the threshold for one or more climate or environmental indicator
the tract is above the thresholds for a set of environmental, climate or socioeconomic related indicators
</p>
<p>
<span>
AND
</span>
it is above the threshold for one or more socioeconomic indicator
</p>
<p>
<span>
THEN
</span>
the community is considered disadvantaged.
the tract is above the thresholds for another set of income or education related indicators
</p>
</section>
<section
class="j40-mt-7"
>
<section>
<p>
Communities will be defined as disadvantaged for the purposes of Justice40 if they meet
@ -384,20 +386,6 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</div>
</div>
<div>
<p>
<sup>
*
</sup>
Low Income
</p>
<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
</p>
</div>
</div>
</div>
</div>
@ -429,6 +417,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<p>
Communities are
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
<strong>
IF
@ -455,20 +452,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</p>
<p>
<strong>
AND
</strong>
is low income
<sup>
*
</sup>
</p>
<p>
<strong>
THEN
</strong>
the community is disadvantaged.
is at or above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
</div>
<div>
<h3>
@ -476,6 +480,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<p>
Communities are
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
<strong>
IF
@ -496,20 +509,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</p>
<p>
<strong>
AND
</strong>
is low income
<sup>
*
</sup>
</p>
<p>
<strong>
THEN
</strong>
the community is disadvantaged.
is at or above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
</div>
<div>
<h3>
@ -517,6 +537,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<p>
Communities are
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
<strong>
IF
@ -537,20 +566,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</p>
<p>
<strong>
AND
</strong>
is low income
<sup>
*
</sup>
</p>
<p>
<strong>
THEN
</strong>
the community is disadvantaged.
is at or above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
</div>
<div>
<h3>
@ -558,6 +594,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<p>
Communities are
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
<strong>
IF
@ -568,7 +613,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
lead paint
</a>
AND
WHEN
<a
href="#median-home"
>
@ -585,20 +630,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</p>
<p>
<strong>
AND
</strong>
is low income
<sup>
*
</sup>
</p>
<p>
<strong>
THEN
</strong>
the community is disadvantaged.
is at or above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
</div>
<div>
<h3>
@ -606,6 +658,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<p>
Communities are
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
<strong>
IF
@ -632,20 +693,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</p>
<p>
<strong>
AND
</strong>
is low income
<sup>
*
</sup>
</p>
<p>
<strong>
THEN
</strong>
the community is disadvantaged.
is at or above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
</div>
<div>
<h3>
@ -653,6 +721,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<p>
Communities are
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
<strong>
IF
@ -667,20 +744,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</p>
<p>
<strong>
AND
</strong>
is low income
<sup>
*
</sup>
</p>
<p>
<strong>
THEN
</strong>
the community is disadvantaged.
is at or above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
</div>
<div>
<h3>
@ -688,6 +772,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<p>
Communities are
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
<strong>
IF
@ -720,20 +813,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</p>
<p>
<strong>
AND
</strong>
is low income
<sup>
*
</sup>
</p>
<p>
<strong>
THEN
</strong>
the community is disadvantaged.
is at or above 65th percentile for
<a
href="#low-income"
>
low income
</a>
WHEN
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
</div>
<div>
<h3>
@ -741,6 +841,15 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</h3>
<p>
Communities are
<strong>
identified as disadvantaged
</strong>
in this category
</p>
<p>
<strong>
IF
@ -777,25 +886,27 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</p>
<p>
<strong>
AND
</strong>
where
where the
<a
href="#high-school"
>
the high school degree achievement rates
high school degree achievement rates
</a>
for adults 25 years and older is at or less than 90%
</p>
<p>
<strong>
THEN
</strong>
the community is disadvantaged.
rates for adults 25 years and older is at or less than
90% WHEN
<a
href="#high-ed-enroll-rate"
>
higher ed enrollment rate
</a>
is at or below 20%
</p>
<p />
</div>
</div>
<div
@ -845,7 +956,54 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<span>
Used in:
</span>
All methodologies except for training and workforce development
All categories except for training and workforce development
</li>
<li>
<span>
Responsible Party:
</span>
Census
</li>
<li>
<span>
Source:
</span>
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.census.gov/programs-surveys/acs"
rel="noreferrer"
target="_blank"
>
American Community Survey
</a>
from 2015-2019
</li>
<li>
<span>
Available for:
</span>
All U.S. states and the District of Columbia
</li>
</ul>
</div>
<div
id="high-ed-enroll-rate"
>
<h3>
Higher ed enrollment rate
</h3>
<div>
Percent of people who are currently enrolled in college or graduate school.
</div>
<ul>
<li>
<span>
Used in:
</span>
All categories
</li>
<li>
<span>

View file

@ -8,8 +8,6 @@ import DownloadPacket from '../components/DownloadPacket';
import J40MainGridContainer from '../components/J40MainGridContainer';
import MethodologyFormula from '../components/MethodologyFormula';
import Layout from '../components/layout';
import LowIncome from '../components/LowIncome';
// import ScoreStepsList from '../components/scoreStepsList';
import * as METHODOLOGY_COPY from '../data/copy/methodology';
@ -40,7 +38,7 @@ const IndexPage = ({location}: MethodPageProps) => {
<MethodologyFormula />
{/* Category description */}
<section className={`j40-mt-7`}>
<section>
<p>
{intl.formatMessage(METHODOLOGY_COPY.PAGE.CATEGORY_TEXT)}
</p>
@ -50,7 +48,6 @@ const IndexPage = ({location}: MethodPageProps) => {
{/* Second column */}
<Grid col={12} tablet={{col: 4}}>
<DownloadPacket />
<LowIncome />
</Grid>
</Grid>
</J40MainGridContainer>
@ -58,13 +55,6 @@ const IndexPage = ({location}: MethodPageProps) => {
<Categories />
<DatasetContainer/>
{/* <J40MainGridContainer>
<Grid row>
<Grid col>
<ScoreStepsList/>
</Grid>
</Grid>
</J40MainGridContainer> */}
</Layout>
);
};