Add TSD and RFI to alert, add link to download slides and reverse events in PEC (#1633)

* Add TSD link to alert

- refactor LinkTypeWrapper API to take a defineMessage as URL
- remove legacy console.log statements
- update snapshots

* Add slides under YouTube link

* Render events in DESC order on PEC

* Add RFI to alert and update snapshots
This commit is contained in:
Vim 2022-05-12 11:59:10 -04:00 committed by GitHub
commit bed73dd8d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 468 additions and 281 deletions

View file

@ -16,6 +16,10 @@ interface IPublicEngagementPageProps {
const PublicEngagementPage = ({location}: IPublicEngagementPageProps) => {
const intl = useIntl();
// The reverse() is an in-place algorithm and so a temporary variable is needed:
const events = [...PUBLIC_ENG_COPY.EVENTS];
events.reverse();
return (
<Layout location={location} title={intl.formatMessage(PUBLIC_ENG_COPY.PAGE_INTRO.PAGE_TILE)}>
@ -47,7 +51,7 @@ const PublicEngagementPage = ({location}: IPublicEngagementPageProps) => {
<Grid row gap={6}>
<Grid desktop={{col: 8}}>
<Collection>
{PUBLIC_ENG_COPY.EVENTS.map((event, index) => <PublicEvent key={index} event={event} />)}
{events.map((event, index) => <PublicEvent key={index} event={event} />)}
</Collection>
</Grid>
<Grid desktop={{col: 4}}>

View file

@ -320,7 +320,17 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<p
class="usa-alert__text"
>
Download new technical support and other documentation and
Download new
<a
class="usa-link usa-link--external"
data-cy=""
href="https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf"
rel="noreferrer"
target="_blank"
>
technical support
</a>
and other documentation and
<a
class="usa-link usa-link--external"
data-cy=""
@ -359,7 +369,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
sending feedback
</a>
has been extended to May 25, 2022.
via the Request for Information has been extended to May 25, 2022.
</p>
</div>
</div>

View file

@ -320,7 +320,17 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<p
class="usa-alert__text"
>
Download new technical support and other documentation and
Download new
<a
class="usa-link usa-link--external"
data-cy=""
href="https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf"
rel="noreferrer"
target="_blank"
>
technical support
</a>
and other documentation and
<a
class="usa-link usa-link--external"
data-cy=""
@ -359,7 +369,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
sending feedback
</a>
has been extended to May 25, 2022.
via the Request for Information has been extended to May 25, 2022.
</p>
</div>
</div>
@ -512,7 +522,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
sending feedback
</a>
has been extended to May 25, 2022.
via the Request for Information has been extended to May 25, 2022.
</p>
</div>
</div>

View file

@ -320,7 +320,17 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<p
class="usa-alert__text"
>
Download new technical support and other documentation and
Download new
<a
class="usa-link usa-link--external"
data-cy=""
href="https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf"
rel="noreferrer"
target="_blank"
>
technical support
</a>
and other documentation and
<a
class="usa-link usa-link--external"
data-cy=""
@ -359,7 +369,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
sending feedback
</a>
has been extended to May 25, 2022.
via the Request for Information has been extended to May 25, 2022.
</p>
</div>
</div>

View file

@ -320,7 +320,17 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<p
class="usa-alert__text"
>
Download new technical support and other documentation and
Download new
<a
class="usa-link usa-link--external"
data-cy=""
href="https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf"
rel="noreferrer"
target="_blank"
>
technical support
</a>
and other documentation and
<a
class="usa-link usa-link--external"
data-cy=""
@ -359,7 +369,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
sending feedback
</a>
has been extended to May 25, 2022.
via the Request for Information has been extended to May 25, 2022.
</p>
</div>
</div>

View file

@ -320,7 +320,17 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<p
class="usa-alert__text"
>
Download new technical support and other documentation and
Download new
<a
class="usa-link usa-link--external"
data-cy=""
href="https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf"
rel="noreferrer"
target="_blank"
>
technical support
</a>
and other documentation and
<a
class="usa-link usa-link--external"
data-cy=""
@ -359,7 +369,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
sending feedback
</a>
has been extended to May 25, 2022.
via the Request for Information has been extended to May 25, 2022.
</p>
</div>
</div>

View file

@ -320,7 +320,17 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<p
class="usa-alert__text"
>
Download new technical support and other documentation and
Download new
<a
class="usa-link usa-link--external"
data-cy=""
href="https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf"
rel="noreferrer"
target="_blank"
>
technical support
</a>
and other documentation and
<a
class="usa-link usa-link--external"
data-cy=""
@ -359,7 +369,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
sending feedback
</a>
has been extended to May 25, 2022.
via the Request for Information has been extended to May 25, 2022.
</p>
</div>
</div>
@ -437,173 +447,16 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
<h3
class="usa-collection__heading"
>
CEJST training session #1
</h3>
<p
class="usa-collection__description"
>
The White House Council on Environmental Quality (CEQ), in partnership with the U.S. Digital
Service, is hosting a series of 'Training Webinars' for users of the Climate and Economic
Justice Screening Tool. These webinars are an opportunity for members of the public to learn how to
use the current version of the tool. The presenters at these webinars will be available to
provide technical support and address issues related to accessing and using the tool.
</p>
<p
class="usa-collection__description"
>
<b>
Event info
</b>
: March 9th (4:00 - 5:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_D-Om_xXhTtiLv71y3Rr1CQ"
class="usa-link usa-link--external"
data-cy="may-19-reg-link-block"
href="https://pitc.zoomgov.com/webinar/register/WN_1PR73vLDQpq1zoAWkhKB5g"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
</button>
CEJST listening session #4
</a>
</p>
</div>
</li>
<li
class="usa-collection__item"
>
<img
alt="Alt text"
class="usa-collection__img"
src="test-file-stub"
/>
<div
class="usa-collection__body"
>
<h3
class="usa-collection__heading"
>
CEJST training session #2
</h3>
<p
class="usa-collection__description"
>
The White House Council on Environmental Quality (CEQ), in partnership with the U.S. Digital
Service, is hosting a series of 'Training Webinars' for users of the Climate and Economic
Justice Screening Tool. These webinars are an opportunity for members of the public to learn how to
use the current version of the tool. The presenters at these webinars will be available to
provide technical support and address issues related to accessing and using the tool.
</p>
<p
class="usa-collection__description"
>
<b>
Event info
</b>
: March 10th (4:00 - 5:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_QsSqshI4TpmRBkI6nVlWxQ"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
</button>
</a>
</p>
</div>
</li>
<li
class="usa-collection__item"
>
<img
alt="Alt text"
class="usa-collection__img"
src="test-file-stub"
/>
<div
class="usa-collection__body"
>
<h3
class="usa-collection__heading"
>
CEJST training session #3
</h3>
<p
class="usa-collection__description"
>
The White House Council on Environmental Quality (CEQ), in partnership with the U.S. Digital
Service, is hosting a series of 'Training Webinars' for users of the Climate and Economic
Justice Screening Tool. These webinars are an opportunity for members of the public to learn how to
use the current version of the tool. The presenters at these webinars will be available to
provide technical support and address issues related to accessing and using the tool.
</p>
<p
class="usa-collection__description"
>
<b>
Event info
</b>
: March 16th (4:00 - 5:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_q86iMtpwTESYa6f0xpIk7g"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
</button>
</a>
</p>
</div>
</li>
<li
class="usa-collection__item"
>
<img
alt="Alt text"
class="usa-collection__img"
src="test-file-stub"
/>
<div
class="usa-collection__body"
>
<h3
class="usa-collection__heading"
>
CEJST listening session #1
</h3>
<p
class="usa-collection__description"
@ -622,20 +475,19 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<b>
Event info
</b>
: March 22nd (4:00 - 5:00 PM EST)
: May 19th (4:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_YT7_uLZqScGHgyAcTCuJjA"
href="https://pitc.zoomgov.com/webinar/register/WN_1PR73vLDQpq1zoAWkhKB5g"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
@ -658,13 +510,17 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<h3
class="usa-collection__heading"
>
CEJST Public WHEJAC meeting day one
CEJST listening session #3
</h3>
<p
class="usa-collection__description"
>
The White House Environmental Justice Advisory Council is also soliciting feedback on the beta version of the Climate and Economic Justice Screening Tool at its public meeting. The link above has additional details.
CEQ is hosting public listening sessions to seek input and feedback on the beta version of the
tool, including on the datasets it includes and the methodology it uses. This feedback is critical
to the development and enhancement of the tool. This feedback will help CEQ update and refine the
tool to ensure that it reflects the environmental, climate and other challenges that communities
are experiencing.
</p>
<p
@ -673,64 +529,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<b>
Event info
</b>
: March 30th (3:00 - 7:00 PM EST)
: May 10th (4:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://usepa.zoomgov.com/webinar/register/WN_wCwVP1dtT0auAR5kfucVtw"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
</button>
</a>
</p>
</div>
</li>
<li
class="usa-collection__item"
>
<img
alt="Alt text"
class="usa-collection__img"
src="test-file-stub"
/>
<div
class="usa-collection__body"
>
<h3
class="usa-collection__heading"
>
CEJST Public WHEJAC meeting day two
</h3>
<p
class="usa-collection__description"
>
The White House Environmental Justice Advisory Council is also soliciting feedback on the beta version of the Climate and Economic Justice Screening Tool at its public meeting. The link above has additional details.
</p>
<p
class="usa-collection__description"
>
<b>
Event info
</b>
: March 31th (3:00 - 7:30 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://usepa.zoomgov.com/webinar/register/WN_wCwVP1dtT0auAR5kfucVtw"
href="https://pitc.zoomgov.com/webinar/register/WN_dt0xRNioR8SugY2hrDk1JA"
rel="noreferrer"
target="_blank"
>
@ -815,25 +620,13 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<h3
class="usa-collection__heading"
>
<a
class="usa-link usa-link--external"
data-cy="may-10-reg-link-block"
href="https://pitc.zoomgov.com/webinar/register/WN_dt0xRNioR8SugY2hrDk1JA"
rel="noreferrer"
target="_blank"
>
CEJST listening session #3
</a>
CEJST Public WHEJAC meeting day two
</h3>
<p
class="usa-collection__description"
>
CEQ is hosting public listening sessions to seek input and feedback on the beta version of the
tool, including on the datasets it includes and the methodology it uses. This feedback is critical
to the development and enhancement of the tool. This feedback will help CEQ update and refine the
tool to ensure that it reflects the environmental, climate and other challenges that communities
are experiencing.
The White House Environmental Justice Advisory Council is also soliciting feedback on the beta version of the Climate and Economic Justice Screening Tool at its public meeting. The link above has additional details.
</p>
<p
@ -842,19 +635,20 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<b>
Event info
</b>
: May 10th (4:00 PM EST)
: March 31th (3:00 - 7:30 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_dt0xRNioR8SugY2hrDk1JA"
href="https://usepa.zoomgov.com/webinar/register/WN_wCwVP1dtT0auAR5kfucVtw"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
@ -876,16 +670,59 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
<h3
class="usa-collection__heading"
>
CEJST Public WHEJAC meeting day one
</h3>
<p
class="usa-collection__description"
>
The White House Environmental Justice Advisory Council is also soliciting feedback on the beta version of the Climate and Economic Justice Screening Tool at its public meeting. The link above has additional details.
</p>
<p
class="usa-collection__description"
>
<b>
Event info
</b>
: March 30th (3:00 - 7:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
class="usa-link usa-link--external"
data-cy="may-19-reg-link-block"
href="https://pitc.zoomgov.com/webinar/register/WN_1PR73vLDQpq1zoAWkhKB5g"
href="https://usepa.zoomgov.com/webinar/register/WN_wCwVP1dtT0auAR5kfucVtw"
rel="noreferrer"
target="_blank"
>
CEJST listening session #4
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
</button>
</a>
</p>
</div>
</li>
<li
class="usa-collection__item"
>
<img
alt="Alt text"
class="usa-collection__img"
src="test-file-stub"
/>
<div
class="usa-collection__body"
>
<h3
class="usa-collection__heading"
>
CEJST listening session #1
</h3>
<p
class="usa-collection__description"
@ -904,19 +741,185 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<b>
Event info
</b>
: May 19th (4:00 PM EST)
: March 22nd (4:00 - 5:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_1PR73vLDQpq1zoAWkhKB5g"
href="https://pitc.zoomgov.com/webinar/register/WN_YT7_uLZqScGHgyAcTCuJjA"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
</button>
</a>
</p>
</div>
</li>
<li
class="usa-collection__item"
>
<img
alt="Alt text"
class="usa-collection__img"
src="test-file-stub"
/>
<div
class="usa-collection__body"
>
<h3
class="usa-collection__heading"
>
CEJST training session #3
</h3>
<p
class="usa-collection__description"
>
The White House Council on Environmental Quality (CEQ), in partnership with the U.S. Digital
Service, is hosting a series of 'Training Webinars' for users of the Climate and Economic
Justice Screening Tool. These webinars are an opportunity for members of the public to learn how to
use the current version of the tool. The presenters at these webinars will be available to
provide technical support and address issues related to accessing and using the tool.
</p>
<p
class="usa-collection__description"
>
<b>
Event info
</b>
: March 16th (4:00 - 5:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_q86iMtpwTESYa6f0xpIk7g"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
</button>
</a>
</p>
</div>
</li>
<li
class="usa-collection__item"
>
<img
alt="Alt text"
class="usa-collection__img"
src="test-file-stub"
/>
<div
class="usa-collection__body"
>
<h3
class="usa-collection__heading"
>
CEJST training session #2
</h3>
<p
class="usa-collection__description"
>
The White House Council on Environmental Quality (CEQ), in partnership with the U.S. Digital
Service, is hosting a series of 'Training Webinars' for users of the Climate and Economic
Justice Screening Tool. These webinars are an opportunity for members of the public to learn how to
use the current version of the tool. The presenters at these webinars will be available to
provide technical support and address issues related to accessing and using the tool.
</p>
<p
class="usa-collection__description"
>
<b>
Event info
</b>
: March 10th (4:00 - 5:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_QsSqshI4TpmRBkI6nVlWxQ"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
</button>
</a>
</p>
</div>
</li>
<li
class="usa-collection__item"
>
<img
alt="Alt text"
class="usa-collection__img"
src="test-file-stub"
/>
<div
class="usa-collection__body"
>
<h3
class="usa-collection__heading"
>
CEJST training session #1
</h3>
<p
class="usa-collection__description"
>
The White House Council on Environmental Quality (CEQ), in partnership with the U.S. Digital
Service, is hosting a series of 'Training Webinars' for users of the Climate and Economic
Justice Screening Tool. These webinars are an opportunity for members of the public to learn how to
use the current version of the tool. The presenters at these webinars will be available to
provide technical support and address issues related to accessing and using the tool.
</p>
<p
class="usa-collection__description"
>
<b>
Event info
</b>
: March 9th (4:00 - 5:00 PM EST)
</p>
<p
class="usa-collection__description"
>
<a
href="https://pitc.zoomgov.com/webinar/register/WN_D-Om_xXhTtiLv71y3Rr1CQ"
rel="noreferrer"
target="_blank"
>
<button
class="usa-button"
data-testid="button"
disabled=""
type="button"
>
Registration link
@ -968,6 +971,26 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
</div>
</button>
</a>
<a
download=""
href="https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/technical-training-slides.pptx"
>
<button
class="usa-button"
data-testid="button"
type="button"
>
<div>
<div>
Download slide deck
</div>
<img
alt="the icon to show that this button will download the file"
src="test-file-stub"
/>
</div>
</button>
</a>
</div>
</div>
</div>

View file

@ -320,7 +320,17 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
<p
class="usa-alert__text"
>
Download new technical support and other documentation and
Download new
<a
class="usa-link usa-link--external"
data-cy=""
href="https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf"
rel="noreferrer"
target="_blank"
>
technical support
</a>
and other documentation and
<a
class="usa-link usa-link--external"
data-cy=""
@ -359,7 +369,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
>
sending feedback
</a>
has been extended to May 25, 2022.
via the Request for Information has been extended to May 25, 2022.
</p>
</div>
</div>