Remove survey link from the contact page. Fixes Issue #2245. (#2246)

* Remove survey link from the contact page. Fixes Issue #2245.

* Add back whitespace to pass snapshot testing
This commit is contained in:
Lucas Scharenbroich 2023-10-16 18:06:41 -05:00 committed by GitHub
commit c88df4e26a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 20 additions and 60 deletions

View file

@ -34,17 +34,7 @@ exports[`rendering of the HowYouCanHelp checks if various text fields are visibl
. .
</li> </li>
<li> <li>
Any other questions? The best way to contact the Council on Environmental Quality (CEQ) is by filling out this Any other questions? Email:
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.surveymonkey.com/r/5LZ7MNB"
rel="noreferrer"
target="_blank"
>
form
</a>
. Otherwise, email:
<a <a
class="usa-link" class="usa-link"
href="/en/methodology" href="/en/methodology"

View file

@ -271,7 +271,7 @@ export const HOW_YOU_CAN_HELP_LIST_ITEMS = {
/>, />,
LIST_ITEM_4: <FormattedMessage LIST_ITEM_4: <FormattedMessage
id={'about.page.how.you.can.help.list.item.4'} 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>Screeningtool-Support@omb.eop.gov</link1>.`} defaultMessage={`Any other questions? Email: <link1>Screeningtool-Support@omb.eop.gov</link1>.`}
description={`Navigate to the about page. You will see How you can help list item 3`} description={`Navigate to the about page. You will see How you can help list item 3`}
values={{ values={{
link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false), link1: linkFn(PAGES_ENDPOINTS.METHODOLOGY, true, false),

View file

@ -75,17 +75,17 @@ export const CENSUS_TRACT_FEEDBACK = {
// `} // `}
// description={'Navigate to the contact page, this is the census tract feedback section'} // description={'Navigate to the contact page, this is the census tract feedback section'}
// />, // />,
PARAGRAPH3: <FormattedMessage // PARAGRAPH3: <FormattedMessage
id={'contact.page.census.tract.feedback.para3'} // id={'contact.page.census.tract.feedback.para3'}
defaultMessage={` // defaultMessage={`
The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>. // The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.
`} // `}
description={'Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support'} // description={'Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support'}
values={{ // values={{
link1: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true), // link1: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/5LZ7MNB', false, true),
link1es: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/CGTH5P7', false, true), // link1es: COMMON_COPY.linkFn('https://www.surveymonkey.com/r/CGTH5P7', false, true),
}} // }}
/>, // />,
}; };

View file

@ -36,7 +36,7 @@
"description": "Navigate to the about page. You will see How you can help list item 3" "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": { "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>Screeningtool-Support@omb.eop.gov</link1>.", "defaultMessage": "Any other questions? Email: <link1>Screeningtool-Support@omb.eop.gov</link1>.",
"description": "Navigate to the about page. You will see How you can help list item 3" "description": "Navigate to the about page. You will see How you can help list item 3"
}, },
"about.page.how.you.can.help.para.1": { "about.page.how.you.can.help.para.1": {
@ -259,16 +259,12 @@
"defaultMessage": "https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf", "defaultMessage": "https://static-data-screeningtool.geoplatform.gov/data-pipeline/data/score/downloadable/cejst_technical_support_document.pdf",
"description": "Navigate to the Alerts on any page. This will be the link to the techinical support document." "description": "Navigate to the Alerts on any page. This will be the link to the techinical support document."
}, },
"contact.page.census.tract.feedback.para3": {
"defaultMessage": "The best way to contact the Council on Environmental Quality (CEQ) is by filling out <link1>this form</link1>.",
"description": "Navigate to the survey. Spanish should substitute <link2> to get Spanish link! Already coded to support"
},
"contact.page.fab.survey.text": { "contact.page.fab.survey.text": {
"defaultMessage": "Help improve the tool", "defaultMessage": "Help improve the tool",
"description": "Navigate to the contact page, this is the text for floating action button" "description": "Navigate to the contact page, this is the text for floating action button"
}, },
"contact.page.general": { "contact.page.general": {
"defaultMessage": "Otherwise, email CEQ at: {general_email_address}.", "defaultMessage": "Email CEQ at: {general_email_address}.",
"description": "Contact page body text" "description": "Contact page body text"
}, },
"contact.page.header.text": { "contact.page.header.text": {

View file

@ -67,7 +67,7 @@
"contact.page.census.tract.feedback.para3": "La mejor forma de ponerse en contacto con el Consejo sobre la Calidad del Medio Ambiente (CEQ, por sus siglas en ingles) es al completar este <link1es>formulario</link1es>.", "contact.page.census.tract.feedback.para3": "La mejor forma de ponerse en contacto con el Consejo sobre la Calidad del Medio Ambiente (CEQ, por sus siglas en ingles) es al completar este <link1es>formulario</link1es>.",
"contact.page.fab.survey.link": "https://www.surveymonkey.com/r/P3LWTSB", "contact.page.fab.survey.link": "https://www.surveymonkey.com/r/P3LWTSB",
"contact.page.fab.survey.text": "Ayude a mejorar la herramienta", "contact.page.fab.survey.text": "Ayude a mejorar la herramienta",
"contact.page.general": "De lo contrario, envíe un correo electrónico al CEQ a: {general_email_address}.", "contact.page.general": "Envíe un correo electrónico al CEQ a: {general_email_address}.",
"contact.page.header.text": "Contacto", "contact.page.header.text": "Contacto",
"contact.page.request.for.info.box.body": "El periodo de Solicitud de información en el Registro Federal para el periodo de la versión beta abierto al público se cerró el {rfiExpDate}.", "contact.page.request.for.info.box.body": "El periodo de Solicitud de información en el Registro Federal para el periodo de la versión beta abierto al público se cerró el {rfiExpDate}.",
"contact.page.request.for.info.box.title": "Solicitud de información", "contact.page.request.for.info.box.title": "Solicitud de información",

View file

@ -264,7 +264,7 @@
"description": "Navegue a la página Contacto, este es el texto para el botón circular flotante." "description": "Navegue a la página Contacto, este es el texto para el botón circular flotante."
}, },
"contact.page.general": { "contact.page.general": {
"defaultMessage": "De lo contrario, envíe un correo electrónico al CEQ a: {general_email_address}.", "defaultMessage": "Envíe un correo electrónico al CEQ a: {general_email_address}.",
"description": "Texto del cuerpo de la página Contacto." "description": "Texto del cuerpo de la página Contacto."
}, },
"contact.page.header.text": { "contact.page.header.text": {

View file

@ -34,12 +34,11 @@ const ContactPage = ({location}: IContactPageProps) => {
<h2> <h2>
{intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_SUB_HEADING)} {intl.formatMessage(CONTACT_COPY.PAGE_INTRO.PAGE_SUB_HEADING)}
</h2> </h2>
<p>{CONTACT_COPY.CENSUS_TRACT_FEEDBACK.PARAGRAPH3}</p>
<p> <p>
<FormattedMessage <FormattedMessage
id={'contact.page.general'} id={'contact.page.general'}
description={'Contact page body text'} description={'Contact page body text'}
defaultMessage={`Otherwise, email CEQ at: {general_email_address}.`} defaultMessage={`Email CEQ at: {general_email_address}.`}
values={{ values={{
general_email_address: general_email_address:
<LinkTypeWrapper <LinkTypeWrapper

View file

@ -869,17 +869,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
. .
</li> </li>
<li> <li>
Any other questions? The best way to contact the Council on Environmental Quality (CEQ) is by filling out this Any other questions? Email:
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.surveymonkey.com/r/5LZ7MNB"
rel="noreferrer"
target="_blank"
>
form
</a>
. Otherwise, email:
<a <a
class="usa-link" class="usa-link"
href="/en/methodology" href="/en/methodology"

View file

@ -432,22 +432,7 @@ exports[`rendering of the DatasetContainer checks if various text fields are vis
Contact us Contact us
</h2> </h2>
<p> <p>
Email CEQ at:
The best way to contact the Council on Environmental Quality (CEQ) is by filling out
<a
class="usa-link usa-link--external"
data-cy=""
href="https://www.surveymonkey.com/r/5LZ7MNB"
rel="noreferrer"
target="_blank"
>
this form
</a>
.
</p>
<p>
Otherwise, email CEQ at:
<a <a
class="usa-link usa-link--external" class="usa-link usa-link--external"
data-cy="" data-cy=""