Adds post 1.0 updates (#2105)

- closes #2104 - updates statistical areas link
- closes #2103 - CAPs on NO and PARTIALLY
- closes #2099 - Update press release on Alert and FAQs
- closes #2101 - global replace high school degree to high school diploma
- add comparison chart to FAQ
- update .env file with comp chart route to S3
- update snapshots
This commit is contained in:
Vim 2022-11-23 12:07:21 -08:00 committed by GitHub
commit db75b8ae76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 162 additions and 51 deletions

View file

@ -109,7 +109,7 @@ export const CONTENT = {
`}
description={'Navigate to the About page. This is the paragraph 4'}
values={{
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
link1: linkFn('https://www.census.gov/programs-surveys/acs/geography-acs/geography-boundaries-by-year.html', false, true),
}}
/>,
HOW_TO_USE_PARA3:

View file

@ -70,9 +70,10 @@ export const ALERTS = {
EXPIRATION_DATE: RFI_EXPIRATION_DATE,
ALERT_1_DESCRIPTION: <FormattedMessage
id={'common.pages.alerts.public_comment_period.description'}
defaultMessage={`The Council on Environmental Quality (CEQ) made the version 1.0 of the tool available on {ver1RelDate}. For more information about the improvements to the tool, CEQs press release will be coming soon.`}
defaultMessage={`The Council on Environmental Quality (CEQ) made the version 1.0 of the tool available on {ver1RelDate}. For more information about the improvements to the tool, read CEQ's <link1>press release</link1>.`}
description={`Alert body that appears on landing page.`}
values={{
link1: linkFn('https://www.whitehouse.gov/ceq/news-updates/2022/11/22/biden-harris-administration-launches-version-1-0-of-climate-and-economic-justice-screening-tool-key-step-in-implementing-president-bidens-justice40-initiative/', false, true),
ver1RelDate: <FormattedDate
value={METH_1_0_RELEASE_DATE}
year="numeric"

View file

@ -75,8 +75,8 @@ export const DOWNLOAD_FILES = {
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
COMP_CHART: {
SIZE: .8, // KB // Todo: Update when actual file is uploaded
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_COMP_CHART_PDF, false),
SIZE: 33.1, // KB
URL: getDownloadFileUrl(process.env.GATSBY_FILE_DL_PATH_1_0_TOOL_COMP_PDF, false),
LAST_UPDATED: COMMON_COPY.METH_1_0_RELEASE_DATE,
},
},

View file

@ -754,12 +754,12 @@ export const COMMUNITY = {
/>,
NOT_OF_FOCUS: <FormattedMessage
id= {'explore.map.page.side.panel.not.community.of.focus'}
defaultMessage= {'No'}
defaultMessage= {'NO'}
description={`Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show the communities the score currently is not focused on`}
/>,
PARTIAL: <FormattedMessage
id= {'explore.map.page.side.panel.partial.community.of.focus'}
defaultMessage= {'Partially'}
defaultMessage= {'PARTIALLY'}
description={`Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show the communities the score currently is partially focused on`}
/>,
IS_FOCUS: <FormattedMessage
@ -1064,7 +1064,7 @@ export const SIDE_PANEL_INDICATORS = defineMessages({
HIGH_SCL: {
id: 'explore.map.page.side.panel.indicator.high.school',
defaultMessage: 'High school education',
description: `Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show High school degree achievement rate`,
description: `Navigate to the explore the map page. When the map is in view, click on the map. The side panel will show High school diploma achievement rate`,
},
// Testing

View file

@ -602,8 +602,11 @@ export const FAQ_ANSWERS = {
/>,
Q17_P1: <FormattedMessage
id={ 'faqs.page.answers.Q17_P1'}
defaultMessage={ `The tool is now considered official because Federal agencies can now use version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in November, 2022. The tool is no longer in beta.`}
defaultMessage={ `The tool is now considered official because Federal agencies can now use version 1.0 of the Climate and Economic Justice Screening Tool (CEJST) to help identify disadvantaged communities. The 1.0 version was released in <link1>November, 2022</link1>. The tool is no longer in beta.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q17_P1'}
values={{
link1: linkFn('https://www.whitehouse.gov/ceq/news-updates/2022/11/22/biden-harris-administration-launches-version-1-0-of-climate-and-economic-justice-screening-tool-key-step-in-implementing-president-bidens-justice40-initiative/', false, true),
}}
/>,
Q17_P2: <FormattedMessage
id={ 'faqs.page.answers.Q17_P2'}

View file

@ -141,9 +141,9 @@ export const CATEGORY_AND_CLAUSE = {
/>,
HS_DEG_GTE_10: <FormattedMessage
id={'methodology.page.category.and.clause.hs.ed.higher.ed'}
defaultMessage={`<boldtag>AND</boldtag> fewer than 10% of people ages 25 or older have a <link1>high school education</link1> (i.e. graduated with a high school degree)
defaultMessage={`<boldtag>AND</boldtag> fewer than 10% of people ages 25 or older have a <link1>high school education</link1> (i.e. graduated with a high school diploma)
`}
description={'Navigate to the methodology page. Navigate to the category section. This is the portion of the formula dealing with higher ed enrollment and high school degree rate'}
description={'Navigate to the methodology page. Navigate to the category section. This is the portion of the formula dealing with higher ed enrollment and high school diploma rate'}
values={{
boldtag: boldFn,
link1: simpleLink('#high-school'),