From 19fef9a56cf2681c3f1a5f688c6c4044c8affea4 Mon Sep 17 00:00:00 2001 From: gina-yamada Date: Mon, 27 Nov 2023 08:52:49 -0700 Subject: [PATCH 1/5] Update content on in-person-prepare-step --- .../components/in-person-prepare-step.spec.tsx | 2 -- .../document-capture/components/in-person-prepare-step.tsx | 5 ----- 2 files changed, 7 deletions(-) diff --git a/app/javascript/packages/document-capture/components/in-person-prepare-step.spec.tsx b/app/javascript/packages/document-capture/components/in-person-prepare-step.spec.tsx index cb182058f01..c9e5f40b58f 100644 --- a/app/javascript/packages/document-capture/components/in-person-prepare-step.spec.tsx +++ b/app/javascript/packages/document-capture/components/in-person-prepare-step.spec.tsx @@ -24,14 +24,12 @@ describe('InPersonPrepareStep', () => { expect(getByText('in_person_proofing.body.prepare.verify_step_post_office')).to.exist(); expect(getByText('in_person_proofing.body.prepare.verify_step_enter_pii')).to.exist(); expect(getByText('in_person_proofing.body.prepare.verify_step_enter_phone')).to.exist(); - expect(getByText('in_person_proofing.body.prepare.verify_step_visit_post_office')).to.exist(); }); it('renders about and additional information steps', () => { const { getByText } = render(); expect(getByText('in_person_proofing.body.prepare.verify_step_about')).to.exist(); - expect(getByText('in_person_proofing.body.prepare.additional_information')).to.exist(); }); context('Outage message', () => { diff --git a/app/javascript/packages/document-capture/components/in-person-prepare-step.tsx b/app/javascript/packages/document-capture/components/in-person-prepare-step.tsx index 312c180b70b..80d4ab28ebf 100644 --- a/app/javascript/packages/document-capture/components/in-person-prepare-step.tsx +++ b/app/javascript/packages/document-capture/components/in-person-prepare-step.tsx @@ -38,12 +38,7 @@ function InPersonPrepareStep({ toPreviousStep }) { heading={t('in_person_proofing.body.prepare.verify_step_enter_phone')} headingUnstyled /> - -

{t('in_person_proofing.body.prepare.additional_information')}

{inPersonURL && flowPath === 'standard' ? ( ) : ( From eef80fbaae22de2103481f5291b469c3aa8bf0dc Mon Sep 17 00:00:00 2001 From: gina-yamada Date: Mon, 27 Nov 2023 09:07:51 -0700 Subject: [PATCH 2/5] update translations --- config/locales/in_person_proofing/en.yml | 25 +++++++------------- config/locales/in_person_proofing/es.yml | 20 +++++----------- config/locales/in_person_proofing/fr.yml | 30 +++++++++--------------- 3 files changed, 25 insertions(+), 50 deletions(-) diff --git a/config/locales/in_person_proofing/en.yml b/config/locales/in_person_proofing/en.yml index a0044835ed7..04822ca99e8 100644 --- a/config/locales/in_person_proofing/en.yml +++ b/config/locales/in_person_proofing/en.yml @@ -19,10 +19,9 @@ en: return_to_partner_link: sign out and return to %{sp_name} what_to_expect: What to expect at the Post Office cta: - button: Try at a Post Office - prompt_detail: You’ll start this process by entering your information online, - and continue to verify your identity in person at a participating Post - Office near you. + button: Try in person + prompt_detail: You may be able to verify your ID in person at a participating + Post Office near you. expect: heading: What to expect after your visit info: We’ll send you an email to let you know if your identity verification was @@ -64,24 +63,16 @@ en: retail_hours_weekday: 'Monday to Friday:' selection: 'This is the location you selected:' prepare: - additional_information: You’ll receive an email with the results within 24 hours - of your visit to the Post Office. If your identity verification was - successful, you’ll be able to sign in and share your verified - information with your agency. privacy_disclaimer: '%{app_name} is a secure, government website. We and the U.S. Postal Service use your data to verify your identity.' privacy_disclaimer_link: Learn more about privacy and security. privacy_disclaimer_questions: Questions? - verify_step_about: 'Complete the following steps to verify your identity at a - Post Office:' - verify_step_enter_phone: Enter your primary phone number or the number that you - use most often. If we’re able to verify your information, you’ll - receive a barcode. + verify_step_about: 'Complete the steps below to generate the barcode you’ll take + with you to the Post Office:' + verify_step_enter_phone: Enter your primary phone number or the number that you use most often. verify_step_enter_pii: Enter your name, date of birth, state‑issued ID number, address and Social Security number. verify_step_post_office: Find a participating Post Office near you. - verify_step_visit_post_office: Bring the barcode and your state-issued ID to a - participating Post Office. state_id: alert_message: 'Your state‑issued ID must not be expired. Accepted forms of ID are:' id_types: @@ -143,11 +134,11 @@ en: address: Enter your current residential address barcode: Show this barcode and your state‑issued ID at a Post Office to finish verifying your identity - cta: Try verifying your identity at a Post Office + cta: Try verifying your ID in person id_address: Address on your ID po_search: location: Find a participating Post Office - prepare: Verify your identity at a Post Office + prepare: Verify your identity in person state_id_milestone_2: Enter the information on your state‑issued ID switch_back: Switch back to your computer to prepare to verify your identity in person update_address: Update your current address diff --git a/config/locales/in_person_proofing/es.yml b/config/locales/in_person_proofing/es.yml index fbd23201e29..c86a89bcba7 100644 --- a/config/locales/in_person_proofing/es.yml +++ b/config/locales/in_person_proofing/es.yml @@ -21,10 +21,9 @@ es: return_to_partner_link: cerrar sesión y regresar a %{sp_name} what_to_expect: Qué esperar en la oficina de correos cta: - button: Inténtelo en una oficina de correos - prompt_detail: Comenzará este proceso ingresando su información en línea, y - continuará verificando tu identidad en persona en una oficina de - correos participante cercana. + button: Inténtelo en persona + prompt_detail: Es posible que pueda verificar su documento de identidad en + persona en una oficina de correos participante cercana. expect: heading: Qué esperar después de la visita info: Le enviaremos un correo electrónico para informarle si su verificación de @@ -69,10 +68,6 @@ es: retail_hours_weekday: 'De Lunes a Viernes:' selection: 'Esta es la oficina que seleccionó:' prepare: - additional_information: Recibirá un correo electrónico con los resultados dentro - de las 24 horas posteriores a su visita a la oficina de correos. Si su - verificación de identidad fue exitosa, podrá iniciar sesión y - compartir su información verificada con su agencia. privacy_disclaimer: '%{app_name} es un sitio web seguro del gobierno. Nosotros y el Servicio Postal de los Estados Unidos utilizamos sus datos para verificar su identidad.' @@ -81,14 +76,11 @@ es: verify_step_about: 'Complete los siguientes pasos para generar el código de barras que llevará a la oficina de correos:' verify_step_enter_phone: Introduzca su número de teléfono principal o el que use - con más frecuencia. Si podemos verificar su información, recibirá un - código de barras. + con más frecuencia. verify_step_enter_pii: Ingrese su nombre, fecha de nacimiento, número de identificación emitido por el estado, dirección y número de la Seguridad Social. verify_step_post_office: Encuentre una oficina de correos participantes cercana a usted. - verify_step_visit_post_office: Lleve el código de barras y su identificación - emitida por el estado a una oficina de correos participante. state_id: alert_message: 'Su identificación emitida por el estado no debe estar vencida. Se aceptan las siguientes formas de identificación:' @@ -155,11 +147,11 @@ es: address: Ingresa tu domicilio actual barcode: Muestre este código de barras y su documento nacional de identidad en una oficina de correos para terminar de verificar su identidad - cta: Intente verificar su identidad en una oficina de correos + cta: Intente verificar su ID en persona id_address: Domicilio que consta en su identificación po_search: location: Encuentre una oficina de correos participante - prepare: Verifique su identidad en una oficina de correos + prepare: Verifique su identidad en persona state_id_milestone_2: Ingrese la información de su identificación emitida por el estado switch_back: Vuelva a su computadora para prepararse para verificar su identidad en persona diff --git a/config/locales/in_person_proofing/fr.yml b/config/locales/in_person_proofing/fr.yml index d73e40a2ef3..bbe8cfcbc38 100644 --- a/config/locales/in_person_proofing/fr.yml +++ b/config/locales/in_person_proofing/fr.yml @@ -22,10 +22,9 @@ fr: return_to_partner_link: maintenant vous déconnecter et retourner à %{sp_name} what_to_expect: À quoi s’attendre au bureau de poste cta: - button: Essayez dans un bureau de poste - prompt_detail: Vous commencerez ce processus en saisissant vos informations en - ligne et continuerez à vérifier votre identité en personne dans un - bureau de poste participant près de chez vous. + button: Essayer en personne + prompt_detail: Vous pourrez peut-être faire vérifier votre pièce d’identité en + personne dans un bureau de poste participant près de chez vous. expect: heading: Que faire après votre visite info: Dans les 24 heures suivant votre visite au bureau de poste, nous vous @@ -69,26 +68,19 @@ fr: retail_hours_weekday: 'Lundi à Vendredi:' selection: 'Il s’agit du bureau que vous avez sélectionné:' prepare: - additional_information: Vous recevrez un e-mail avec les résultats dans les 24 - heures suivant votre visite au bureau de poste. Si votre vérification - d’identité est réussie, vous pourrez vous connecter et partager vos - informations vérifiées avec votre agence. privacy_disclaimer: '%{app_name} est un site gouvernemental sécurisé. Nous et le service postal américain utilisons vos données pour vérifier votre identité.' privacy_disclaimer_link: En savoir plus sur la confidentialité et la sécurité. privacy_disclaimer_questions: Vous avez des questions? - verify_step_about: 'Suivez les étapes suivantes pour vérifier votre identité - dans un bureau de poste:' + verify_step_about: 'Suivez les étapes ci-dessous pour générer le code-barres que + vous emporterez avec vous au bureau de poste:' verify_step_enter_phone: Entrez votre numéro de téléphone principal ou celui que - vous utilisez le plus souvent. Si nous sommes en mesure de vérifier - vos informations, vous recevrez un code-barres. - verify_step_enter_pii: Entrez votre nom, votre date de naissance, votre numéro - d’identification délivré par l’État, votre adresse et votre numéro de - sécurité sociale. + vous utilisez le plus souvent. + verify_step_enter_pii: Saisissez votre nom, votre date de naissance, votre + document d’identité délivré par l’État, votre adresse et votre numéro + de sécurité sociale. verify_step_post_office: Trouver un bureau de poste participant. - verify_step_visit_post_office: Apportez le code-barres et votre pièce d’identité - délivrée par l’État dans un bureau de poste participant. state_id: alert_message: 'Votre carte d’identité délivrée par l’État ne doit pas être périmée. Les pièces d’identité acceptées sont:' @@ -155,11 +147,11 @@ fr: address: Indiquez votre adresse résidentielle actuelle barcode: Présentez ce code-barres et votre pièce d’identité délivrée par l’État à un bureau de poste pour terminer la vérification de votre identité - cta: Essayez de vérifier votre identité dans un bureau de poste + cta: Essayez de vérifier votre identité en personne id_address: Adresse sur votre pièce d’identité po_search: location: Trouver un bureau de poste participant - prepare: Vérifiez votre identité dans un bureau de poste + prepare: Vérifiez votre identité en personne state_id_milestone_2: Saisissez les informations figurant sur votre carte d’identité délivrée par l’État switch_back: Retournez sur votre ordinateur pour vous préparer à vérifier votre From b935e6f81742d0e6928ef0891ff594c6d536f791 Mon Sep 17 00:00:00 2001 From: gina-yamada Date: Mon, 27 Nov 2023 09:09:15 -0700 Subject: [PATCH 3/5] changelog: User-Facing Improvements, In-person proofing, Revert PO related content changes in DocAuth and Prepare pages From 96f215a053f8d3fed1b62e7c9d50ee660e93d381 Mon Sep 17 00:00:00 2001 From: gina-yamada Date: Mon, 27 Nov 2023 09:42:18 -0700 Subject: [PATCH 4/5] update test description --- .../document-capture/components/in-person-prepare-step.spec.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/packages/document-capture/components/in-person-prepare-step.spec.tsx b/app/javascript/packages/document-capture/components/in-person-prepare-step.spec.tsx index c9e5f40b58f..1c4f016d3b8 100644 --- a/app/javascript/packages/document-capture/components/in-person-prepare-step.spec.tsx +++ b/app/javascript/packages/document-capture/components/in-person-prepare-step.spec.tsx @@ -26,7 +26,7 @@ describe('InPersonPrepareStep', () => { expect(getByText('in_person_proofing.body.prepare.verify_step_enter_phone')).to.exist(); }); - it('renders about and additional information steps', () => { + it('renders about information', () => { const { getByText } = render(); expect(getByText('in_person_proofing.body.prepare.verify_step_about')).to.exist(); From 203b9707fc45cb9649e737ed3a887dafe7d4657b Mon Sep 17 00:00:00 2001 From: gina-yamada Date: Mon, 27 Nov 2023 12:54:02 -0700 Subject: [PATCH 5/5] update prompt detail text --- config/locales/in_person_proofing/en.yml | 4 ++-- config/locales/in_person_proofing/es.yml | 4 ++-- config/locales/in_person_proofing/fr.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/locales/in_person_proofing/en.yml b/config/locales/in_person_proofing/en.yml index 04822ca99e8..3865e543db5 100644 --- a/config/locales/in_person_proofing/en.yml +++ b/config/locales/in_person_proofing/en.yml @@ -20,8 +20,8 @@ en: what_to_expect: What to expect at the Post Office cta: button: Try in person - prompt_detail: You may be able to verify your ID in person at a participating - Post Office near you. + prompt_detail: You may be able to verify your identity at a participating Post + Office near you. expect: heading: What to expect after your visit info: We’ll send you an email to let you know if your identity verification was diff --git a/config/locales/in_person_proofing/es.yml b/config/locales/in_person_proofing/es.yml index c86a89bcba7..6b10c4b730a 100644 --- a/config/locales/in_person_proofing/es.yml +++ b/config/locales/in_person_proofing/es.yml @@ -22,8 +22,8 @@ es: what_to_expect: Qué esperar en la oficina de correos cta: button: Inténtelo en persona - prompt_detail: Es posible que pueda verificar su documento de identidad en - persona en una oficina de correos participante cercana. + prompt_detail: Es posible que pueda verificar su identidad en una oficina postal + participante cercana. expect: heading: Qué esperar después de la visita info: Le enviaremos un correo electrónico para informarle si su verificación de diff --git a/config/locales/in_person_proofing/fr.yml b/config/locales/in_person_proofing/fr.yml index bbe8cfcbc38..6b556c5b253 100644 --- a/config/locales/in_person_proofing/fr.yml +++ b/config/locales/in_person_proofing/fr.yml @@ -23,8 +23,8 @@ fr: what_to_expect: À quoi s’attendre au bureau de poste cta: button: Essayer en personne - prompt_detail: Vous pourrez peut-être faire vérifier votre pièce d’identité en - personne dans un bureau de poste participant près de chez vous. + prompt_detail: Vous pourrez peut-être vérifier votre identité dans un bureau de + poste participant près de chez vous. expect: heading: Que faire après votre visite info: Dans les 24 heures suivant votre visite au bureau de poste, nous vous