Updates to FAQs, About, Downloads and Methodology pages

This commit is contained in:
Ryon Coleman 2024-12-19 10:41:17 -05:00 committed by Carlos Felix
commit bb36bf3f5a
31 changed files with 599 additions and 1008 deletions

View file

@ -75,6 +75,10 @@ const DatasetCard = ({datasetCardProps}: IDatasetCardProps) => {
 
<Tag className={styles.newTag}>{intl.formatMessage(METHODOLOGY_COPY.DATASET_CARD_LABELS.NEW)}</Tag>
</>)}
{dataSource.isUpdated && (<>
&ensp;
<Tag className={styles.newTag}>{intl.formatMessage(METHODOLOGY_COPY.DATASET_CARD_LABELS.UPDATED)}</Tag>
</>)}
</li>
{/* Dataset Available for */}

View file

@ -190,6 +190,34 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</span>
All U.S. states, the District of Columbia, and Puerto Rico
</li>
<li>
<span>
Source:
</span>
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.census.gov/data/developers/data-sets/decennial-census.2020.html"
rel="noreferrer"
target="_blank"
>
Decennial Census
</a>
from 2020
<span
class="usa-tag"
data-testid="tag"
>
NEW
</span>
</li>
<li>
<span>
Available for:
</span>
American Samoa, Guam, the Northern Mariana Islands, and the U.S. Virgin Islands
</li>
</ul>
</div>
<div
@ -1758,7 +1786,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="usa-tag"
data-testid="tag"
>
NEW
UPDATED
</span>
</li>
<li>
@ -1837,7 +1865,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="usa-tag"
data-testid="tag"
>
NEW
UPDATED
</span>
</li>
<li>
@ -1916,7 +1944,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="usa-tag"
data-testid="tag"
>
NEW
UPDATED
</span>
</li>
<li>
@ -1995,7 +2023,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
class="usa-tag"
data-testid="tag"
>
NEW
UPDATED
</span>
</li>
<li>

View file

@ -23,9 +23,6 @@ const HowYouCanHelp = () => {
{ABOUT_COPY.HOW_YOU_CAN_HELP_LIST_ITEMS.LIST_ITEM_4}
</li>
</ul>
<p>
{ABOUT_COPY.HOW_YOU_CAN_HELP_LIST_ITEMS.PARA1}
</p>
</div>
);
};

View file

@ -44,11 +44,6 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
.
</li>
</ul>
<p>
The Council on Environmental Quality plans to issue a Request for Information in 2023. This will give the public time to use the tool before providing comments.
</p>
</div>
</DocumentFragment>
`;

View file

@ -13,6 +13,7 @@ import SurveyButton from '../SurveyButton';
// @ts-ignore
import {GITHUB_LINK, GITHUB_LINK_ES} from '../../constants';
import {PAGES_ENDPOINTS} from '../../data/constants';
import * as COMMON_COPY from '../../data/copy/common';
import whitehouseIcon from '../../images/eop-seal.svg';
@ -48,7 +49,7 @@ const J40Footer = () => {
<LinkTypeWrapper
linkText={intl.formatMessage(COMMON_COPY.FOOTER.PRIVACY)}
internal={true}
url={intl.formatMessage(COMMON_COPY.FOOTER.PRIVACY_LINK)}
url={PAGES_ENDPOINTS.PRIVACY}
openUrlNewTab={false}
key={'privacylink'}
dataCy={hyphenizeString(COMMON_COPY.FOOTER.PRIVACY.defaultMessage)}

View file

@ -5,6 +5,7 @@
.releaseUpdateContainer{
@include u-margin-top(2);
@include u-padding(3);
@include u-line-height('sans', 4);
border: 2px solid #9A9B99;
border-radius: 2px;

View file

@ -1,8 +1,8 @@
import React, {useState} from 'react';
import {useIntl} from 'gatsby-plugin-intl';
import React, {useState} from 'react';
import * as styles from './ReleaseUpdate.module.scss';
import * as DOWNLOAD_COPY from '../../data/copy/downloads';
import * as styles from './ReleaseUpdate.module.scss';
// @ts-ignore
import expandIcon from '/node_modules/uswds/dist/img/usa-icons/expand_more.svg';
@ -17,7 +17,6 @@ interface IJ40AccordionItem {
children: React.ReactElement
}
/**
* This function will create the custom Accordion item. This will be used
* for the race and age demographic UI elements
@ -81,20 +80,29 @@ const ReleaseUpdate = ({ }: IReleaseUpdateProps) => {
</div>
<div>
<ul>
<li>{DOWNLOAD_COPY.RELEASE_2_0.SCORING_SUBSECTION}</li>
<ul>
<li>{DOWNLOAD_COPY.RELEASE_2_0.SCORING_CONTENT_1}</li>
<li>{DOWNLOAD_COPY.RELEASE_2_0.SCORING_CONTENT_2}</li>
<li>{DOWNLOAD_COPY.RELEASE_2_0.SCORING_CONTENT_3}</li>
<li>{DOWNLOAD_COPY.RELEASE_2_0.SCORING_CONTENT_4}</li>
<li>{DOWNLOAD_COPY.RELEASE_2_0.SCORING_CONTENT_5}</li>
<li>{DOWNLOAD_COPY.RELEASE_2_0.SCORING_CONTENT_6}</li>
</ul>
<li>{DOWNLOAD_COPY.RELEASE_2_0.UI_SUBSECTION}</li>
<ul>
<li>{DOWNLOAD_COPY.RELEASE_2_0.UI_CONTENT_1}</li>
<li>{DOWNLOAD_COPY.RELEASE_2_0.UI_CONTENT_2}</li>
</ul>
{DOWNLOAD_COPY.RELEASE_2_0.NEW_IMPROVED_CONTENT.map((item, i) => (
<li key={i}>{item}</li>
))}
</ul>
</div>
<div className={styles.releaseSectionTitle}>
{DOWNLOAD_COPY.RELEASE_2_0.TECHNICAL_FIXES_SECTION}
</div>
<div>
<ul>
{DOWNLOAD_COPY.RELEASE_2_0.TECHNICAL_FIXES_CONTENT.map((item, i) => (
<li key={i}>{item}</li>
))}
</ul>
</div>
<div className={styles.releaseSectionTitle}>
{DOWNLOAD_COPY.RELEASE_2_0.UI_SECTION}
</div>
<div>
<ul>
{DOWNLOAD_COPY.RELEASE_2_0.UI_CONTENT.map((item, i) => (
<li key={i}>{item}</li>
))}
</ul>
</div>
</div>

View file

@ -30,54 +30,59 @@ exports[`rendering of ReleaseUpdate Component checks if component renders 1`] =
Version 2.0 Release update - Dec 19, 2024
</div>
<div>
New & improved
New & Improved
</div>
<div>
<ul>
<li>
Scoring improvements
Added the low income burden to American Samoa, Guam, the Mariana Islands, and the U.S. Virgin
Islands
</li>
<ul>
<li>
Updated to use Census Decennial 2020 data for the U.S. territories
of Guam, Virgin Islands, Northern Mariana Islands, and American Samoa
</li>
<li>
U.S. territories of Guam, Virgin Islands, Northern Mariana Islands,
and American Samoa qualify as disadvantaged communities based on a low-income
threshold at or above the 65th percentile, in addition to any existing qualification
pathways
</li>
<li>
Apply a donut hole disadvantaged community qualification to U.S.
territories of Guam, Virgin Islands, Northern Mariana Islands, American Samoa,
and Puerto Rico based on adjacency to already qualifying disadvantaged community
tracts and meeting a 50th percentile low-income threshold
</li>
<li>
Improved donut hole disadvantaged community qualification by
adding tracts that are fully surrounded and have water boundaries
</li>
<li>
The poverty percentage calculation excludes college students,
ensuring it reflects the economic conditions of the non-college population
</li>
<li>
Grandfathering of Census tracts that were designated as
disadvantaged communities in version 1.0 of this tool
</li>
</ul>
<li>
User interface improvements
Tracts in these territories that are completely surrounded by disadvantaged tracts and exceed
an adjusted low income threshold are now considered disadvantaged
</li>
<li>
Additionally, census tracts in these four Territories are now considered disadvantaged if they
meet the low income threshold only, because these Territories are not included in the nationally-consistent
datasets on environmental and climate burdens used in the tool
</li>
<li>
Updated the data in the workforce development category to the Census Decennial 2020 data for
the U.S. territories of Guam, Virgin Islands, Northern Mariana Islands, and American Samoa
</li>
<li>
Made improvements to the low income burden to better identify college students before they are
excluded from that burdens percentile
</li>
<li>
Census tracts that were disadvantaged under version 1.0 continue to be considered as
disadvantaged in version 2.0
</li>
</ul>
</div>
<div>
Technical Fixes
</div>
<div>
<ul>
<li>
For tracts that have water boundaries, e.g. coastal or island tracts, the water boundaries are
now excluded from the calculation to determine if a tract is 100% surrounded by disadvantaged census tracts
</li>
</ul>
</div>
<div>
User Interface Improvements
</div>
<div>
<ul>
<li>
Added the ability to search by census tract ID
</li>
<li>
The basemap has been updated to use a free, open source map
</li>
<ul>
<li>
Users can now search on the map by Census tract ID
</li>
<li>
Show island and territory low-income percentiles in the sidebar
</li>
</ul>
</ul>
</div>
</div>

View file

@ -139,7 +139,7 @@ exports[`rendering of TractDemographics component does it render a tract in Alas
</div>
<div>
<span>
Elderly over 65
Adults over 65
</span>
<span>
12%
@ -289,7 +289,7 @@ exports[`rendering of TractDemographics component does it render a tract in Amer
</div>
<div>
<span>
Elderly over 65
Adults over 65
</span>
<span>
--
@ -439,7 +439,7 @@ exports[`rendering of TractDemographics component does it render a tract in NYC
</div>
<div>
<span>
Elderly over 65
Adults over 65
</span>
<span>
6%