Skip to content

Commit

Permalink
closes a number of tickets (#2216)
Browse files Browse the repository at this point in the history
- closes #2209
- closes #2210
- closes #2211
- closes #2213
- closes #2214
- closes #2215
  • Loading branch information
vim-usds authored Jun 27, 2023
1 parent 941d657 commit c7dd4f2
Show file tree
Hide file tree
Showing 11 changed files with 147 additions and 85 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,14 +530,14 @@ exports[`rendering of the Categories checks if component renders 1`] = `
<strong>
AND
</strong>
more than 10% of people ages 25 or older have a
more than 10% of people ages 25 years or older whose high school education is less than a
<a
class="usa-link"
href="#high-school"
>
high school education
high school diploma
</a>
(i.e. graduated with a high school diploma)
</p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
>
[email protected]
</a>
.
</li>
</ul>
<p>
Expand Down
4 changes: 2 additions & 2 deletions client/src/data/copy/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export const CONTENT = {
<FormattedMessage
id={'about.page.paragraph.4'}
defaultMessage={`
CEQ will update the tool each year based on public feedback, research, and the availability of new data. The current version of the tool is version {version}. <link1>Sign-up</link1> for updates from CEQ
CEQ will update the tool each year based on public feedback, research, and the availability of new data. The current version of the tool is version {version}. <link1>Sign-up</link1> for updates from CEQ.
`}
description={'Navigate to the About page. This is the paragraph 4'}
values={{
Expand Down Expand Up @@ -269,7 +269,7 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
/>,
LIST_ITEM_4: <FormattedMessage
id={'about.page.how.you.can.help.list.item.4'}
defaultMessage={`Any other questions? The best way to contact the Council on Environmental Quality (CEQ) is by filling out this <link2>form</link2> . Otherwise, email: <link1>[email protected]</link1>`}
defaultMessage={`Any other questions? The best way to contact the Council on Environmental Quality (CEQ) is by filling out this <link2>form</link2> . Otherwise, email: <link1>[email protected]</link1>.`}
description={`Navigate to the about page. You will see How you can help list item 3`}
values={{
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),
Expand Down
23 changes: 14 additions & 9 deletions client/src/data/copy/faqs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ export const QUESTIONS = [
defaultMessage={ 'Q: Can the public provide feedback on this tool?'}
description={ 'Navigate to the FAQs page, this will be Q15'}
/>,
// <FormattedMessage
// id={ 'faqs.page.Q16'}
// key={ 'faqs.page.Q16'}
// defaultMessage={ 'Q: Will CEQ issue another Request for Information about the tool?'}
// description={ 'Navigate to the FAQs page, this will be Q16'}
// />,
<FormattedMessage
id={ 'faqs.page.Q16'}
key={ 'faqs.page.Q16'}
defaultMessage={ 'Q: Why was the CEJST initially released in a beta version?'}
description={ 'Navigate to the FAQs page, this will be Q16'}
/>,
<FormattedMessage
id={ 'faqs.page.Q17'}
key={ 'faqs.page.Q17'}
Expand Down Expand Up @@ -373,15 +373,15 @@ export const FAQ_ANSWERS = {
/>,
Q5_P2: <FormattedMessage
id={ 'faqs.page.answers.Q5_P2'}
defaultMessage={ `Federally Recognized Tribes are those that are recognized by the U.S. Bureau of Indian Affairs in the <link1>annual notice</link1> it publishes in the Federal Register:`}
defaultMessage={ `Federally Recognized Tribes are those that are recognized by the U.S. Bureau of Indian Affairs in the <link1>annual notice</link1> it publishes in the Federal Register.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q5_P2'}
values={{
link1: linkFn(FED_RECOGNIZED_INDIAN_ENTITIES, false, true),
}}
/>,
Q5_P2_1: <FormattedMessage
id={ 'faqs.page.answers.Q5_P2_1'}
defaultMessage={ `This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQ’s <link1>Action Plan for Consultation and Coordination with Tribal Nations</link1>, <link3> President Biden’s Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation </link3>, and <link2>Executive Order 13175 on Consultation and Coordination With Indian Tribal Governments</link2>.`}
defaultMessage={ `This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQ’s <link1>Action Plan</link1> for Consultation and Coordination with Tribal Nations, President Biden’s <link3>Memorandum</link3> on Tribal Consultation and Strengthening Nation-to-Nation Consultation, and <link2>Executive Order 13175</link2> on Consultation and Coordination With Indian Tribal Governments.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q5_P2_1'}
values={{
link1: linkFn(EXPLORE_PAGE_LINKS.WH_GOV_TRIBAL_ACTION_PLAN_4_26_21, false, true),
Expand Down Expand Up @@ -606,8 +606,13 @@ export const FAQ_ANSWERS = {
/>,
Q16: <FormattedMessage
id={ 'faqs.page.answers.Q16'}
defaultMessage={ `Yes. CEQ plans to issue a Request for Information (RFI) about version 1.0 of the CEJST in 2023. The feedback received in that RFI will inform version 2.0 of the tool.`}
defaultMessage={ `CEQ launched a beta – or draft – version of the CEJST on February 18, 2022 with support from the U.S. Digital Service (USDS), and in collaboration with other Federal agencies and departments. The CEJST was released in a beta version in order to seek <link1>feedback</link1> from Federal agencies, Tribal Nations, State and local governments, Members of Congress, environmental justice stakeholders, and the public. The 90 day public comment period <link2>closed</link2> on May 25, 2022. CEQ and the USDS hosted several <link2>public training</link2> sessions on the beta version of the CEJST. All of this feedback on the beta version of the CEJST helped to inform the release of version 1.0 of the CEJST.`}
description={ 'Navigate to the FAQs page, this will be an answer, Q16'}
values={{
link1: linkFn('https://www.federalregister.gov/documents/2022/02/23/2022-03920/climate-and-economic-justice-screening-tool-beta-version', false, true),
link2: linkFn('https://www.whitehouse.gov/ceq/news-updates/2022/04/21/ceq-extends-public-comment-period-on-beta-version-of-the-climate-and-economic-justice-screening-tool/', false, true),
link3: linkFn('https://www.youtube.com/watch?v=QwHWcXbhw28', false, true),
}}
/>,
Q17_P1: <FormattedMessage
id={ 'faqs.page.answers.Q17_P1'}
Expand Down
2 changes: 1 addition & 1 deletion client/src/data/copy/methodology.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export const CATEGORY_AND_CLAUSE = {
/>,
HS_DEG_GTE_10: <FormattedMessage
id={'methodology.page.category.and.clause.hs.ed.higher.ed'}
defaultMessage={`<boldtag>AND</boldtag> more than 10% of people ages 25 or older have a <link1>high school education</link1> (i.e. graduated with a high school diploma)
defaultMessage={`<boldtag>AND</boldtag> more than 10% of people ages 25 years or older whose high school education is less than a <link1>high school diploma</link1>
`}
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={{
Expand Down
16 changes: 10 additions & 6 deletions client/src/intl/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"description": "Navigate to the about page. You will see How you can help list item 3"
},
"about.page.how.you.can.help.list.item.4": {
"defaultMessage": "Any other questions? The best way to contact the Council on Environmental Quality (CEQ) is by filling out this <link2>form</link2> . Otherwise, email: <link1>[email protected]</link1>",
"defaultMessage": "Any other questions? The best way to contact the Council on Environmental Quality (CEQ) is by filling out this <link2>form</link2> . Otherwise, email: <link1>[email protected]</link1>.",
"description": "Navigate to the about page. You will see How you can help list item 3"
},
"about.page.how.you.can.help.para.1": {
Expand Down Expand Up @@ -76,7 +76,7 @@
"description": "Navigate to the About page. This is the paragraph 3"
},
"about.page.paragraph.4": {
"defaultMessage": "CEQ will update the tool each year based on public feedback, research, and the availability of new data. The current version of the tool is version {version}. <link1>Sign-up</link1> for updates from CEQ",
"defaultMessage": "CEQ will update the tool each year based on public feedback, research, and the availability of new data. The current version of the tool is version {version}. <link1>Sign-up</link1> for updates from CEQ.",
"description": "Navigate to the About page. This is the paragraph 4"
},
"about.page.paragraph.5": {
Expand Down Expand Up @@ -1519,6 +1519,10 @@
"defaultMessage": "Q: Can the public provide feedback on this tool?",
"description": "Navigate to the FAQs page, this will be Q15"
},
"faqs.page.Q16": {
"defaultMessage": "Q: Why was the CEJST initially released in a beta version?",
"description": "Navigate to the FAQs page, this will be Q16"
},
"faqs.page.Q17": {
"defaultMessage": "Q: When did the official version of the tool come out?",
"description": "Navigate to the FAQs page, this will be Q17"
Expand Down Expand Up @@ -1656,7 +1660,7 @@
"description": "Navigate to the FAQs page, this will be an answer, Q15_P1_4"
},
"faqs.page.answers.Q16": {
"defaultMessage": "Yes. CEQ plans to issue a Request for Information (RFI) about version 1.0 of the CEJST in 2023. The feedback received in that RFI will inform version 2.0 of the tool.",
"defaultMessage": "CEQ launched a beta – or draft – version of the CEJST on February 18, 2022 with support from the U.S. Digital Service (USDS), and in collaboration with other Federal agencies and departments. The CEJST was released in a beta version in order to seek <link1>feedback</link1> from Federal agencies, Tribal Nations, State and local governments, Members of Congress, environmental justice stakeholders, and the public. The 90 day public comment period <link2>closed</link2> on May 25, 2022. CEQ and the USDS hosted several <link2>public training</link2> sessions on the beta version of the CEJST. All of this feedback on the beta version of the CEJST helped to inform the release of version 1.0 of the CEJST.",
"description": "Navigate to the FAQs page, this will be an answer, Q16"
},
"faqs.page.answers.Q17_P1": {
Expand Down Expand Up @@ -1760,11 +1764,11 @@
"description": "Navigate to the FAQs page, this will be an answer, Q5_P1"
},
"faqs.page.answers.Q5_P2": {
"defaultMessage": "Federally Recognized Tribes are those that are recognized by the U.S. Bureau of Indian Affairs in the <link1>annual notice</link1> it publishes in the Federal Register:",
"defaultMessage": "Federally Recognized Tribes are those that are recognized by the U.S. Bureau of Indian Affairs in the <link1>annual notice</link1> it publishes in the Federal Register.",
"description": "Navigate to the FAQs page, this will be an answer, Q5_P2"
},
"faqs.page.answers.Q5_P2_1": {
"defaultMessage": "This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQ’s <link1>Action Plan for Consultation and Coordination with Tribal Nations</link1>, <link3> President Biden’s Memorandum on Tribal Consultation and Strengthening Nation-to-Nation Consultation </link3>, and <link2>Executive Order 13175 on Consultation and Coordination With Indian Tribal Governments</link2>.",
"defaultMessage": "This decision was made after meaningful and robust consultation with Tribal Nations. This approach is consistent with CEQ’s <link1>Action Plan</link1> for Consultation and Coordination with Tribal Nations, President Biden’s <link3>Memorandum</link3> on Tribal Consultation and Strengthening Nation-to-Nation Consultation, and <link2>Executive Order 13175</link2> on Consultation and Coordination With Indian Tribal Governments.",
"description": "Navigate to the FAQs page, this will be an answer, Q5_P2_1"
},
"faqs.page.answers.Q6_P1": {
Expand Down Expand Up @@ -1932,7 +1936,7 @@
"description": "responsible party text"
},
"methodology.page.category.and.clause.hs.ed.higher.ed": {
"defaultMessage": "<boldtag>AND</boldtag> more than 10% of people ages 25 or older have a <link1>high school education</link1> (i.e. graduated with a high school diploma)",
"defaultMessage": "<boldtag>AND</boldtag> more than 10% of people ages 25 years or older whose high school education is less than a <link1>high school diploma</link1>",
"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"
},
"methodology.page.category.and.clause.low.inc": {
Expand Down
6 changes: 3 additions & 3 deletions client/src/pages/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {PAGES_ENDPOINTS, USWDS_BREAKPOINTS} from '../data/constants';
import accountBalanceIcon // @ts-ignore
from '/node_modules/uswds/dist/img/usa-icons/account_balance.svg';

import groupsIcon from // @ts-ignore
'/node_modules/uswds/dist/img/usa-icons/groups.svg';
import fileDownloadIcon from // @ts-ignore
'/node_modules/uswds/dist/img/usa-icons/file_download.svg';

import commentIcon from // @ts-ignore
'/node_modules/uswds/dist/img/usa-icons/comment.svg';
Expand Down Expand Up @@ -128,7 +128,7 @@ const AboutPage = ({location}: IAboutPageProps) => {

<AboutCard
size={'small'}
imgSrc={groupsIcon}
imgSrc={fileDownloadIcon}
header={intl.formatMessage(ABOUT_COPY.HOW_TO_USE_TOOL.USE_DATA_HEADING)}
linkText={ABOUT_COPY.CONTENT.USE_DATA_TUTORIAL}
url={USE_DATA_TUTORIAL_LINK}
Expand Down
16 changes: 8 additions & 8 deletions client/src/pages/frequently-asked-questions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ const FAQPage = ({location}: IFAQPageProps) => {
<>
<p key={5}>{FAQS_COPY.FAQ_ANSWERS.Q5_P1}</p>
<p>{FAQS_COPY.FAQ_ANSWERS.Q5_P2}</p>
<ul>
<li>{FAQS_COPY.FAQ_ANSWERS.Q5_P2_1}</li>
</ul>
<p>
{FAQS_COPY.FAQ_ANSWERS.Q5_P2_1}
</p>
</>
),
(
Expand Down Expand Up @@ -188,11 +188,11 @@ const FAQPage = ({location}: IFAQPageProps) => {
</ul>
</>
),
// (
// <>
// <p key={16}>{FAQS_COPY.FAQ_ANSWERS.Q16}</p>
// </>
// ),
(
<>
<p key={16}>{FAQS_COPY.FAQ_ANSWERS.Q16}</p>
</>
),
(
<>
<p key={17}>{FAQS_COPY.FAQ_ANSWERS.Q17_P1}</p>
Expand Down
3 changes: 2 additions & 1 deletion client/src/pages/tests/__snapshots__/about.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
Sign-up
</a>
for updates from CEQ
for updates from CEQ.
</p>
</section>
Expand Down Expand Up @@ -886,6 +886,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
[email protected]
</a>
.
</li>
</ul>
<p>
Expand Down
Loading

0 comments on commit c7dd4f2

Please sign in to comment.