Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/assets/fonts/glyphs.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
!"#$%&'()+,-./0123456789:;>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~ «»¿ÀÁÈÉÊÎÓÚàáâãçèéêëíîïñóôùúû‑—‘’“”…‹中体文简()
!"#$%&'()+,-./0123456789:;>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz~ «»¿ÀÁÉÊÎÚàáâãçèéêëíîïñóôùúû‑—‘’“”…‹中体文简()
Binary file modified app/assets/fonts/public-sans/PublicSans-Black.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-BlackItalic.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-Bold.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-BoldItalic.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-ExtraBold.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-ExtraBoldItalic.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-ExtraLight.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-ExtraLightItalic.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-Italic.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-Light.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-LightItalic.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-Medium.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-MediumItalic.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-Regular.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-SemiBold.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-SemiBoldItalic.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-Thin.woff2
Binary file not shown.
Binary file modified app/assets/fonts/public-sans/PublicSans-ThinItalic.woff2
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,6 @@ describe('HybridDocCaptureWarning', () => {
t('doc_auth.hybrid_flow_warning.explanation_non_sp_html'),
);
});

it('does not render a third list item pertaining to SP services', () => {
const { getByRole } = render(
<ServiceProviderContextProvider value={{ name: null, failureToProofURL: '' }}>
<HybridDocCaptureWarning />
</ServiceProviderContextProvider>,
);
const alertElement = getByRole('status');
const notExpectedString = t('doc_auth.hybrid_flow_warning.only_add_sp_services_html', {
service_provider_name: SP_NAME,
});

expect(alertElement.textContent).to.not.have.string(notExpectedString);
});
});

describe('with SP', () => {
Expand All @@ -71,19 +57,6 @@ describe('HybridDocCaptureWarning', () => {
service_provider_name: SP_NAME,
});

expect(alertElement.textContent).to.have.string(expectedString);
});
it('renders a third list item pertaining to SP services', () => {
const { getByRole } = render(
<ServiceProviderContextProvider value={{ name: SP_NAME, failureToProofURL: '' }}>
<HybridDocCaptureWarning />
</ServiceProviderContextProvider>,
);
const alertElement = getByRole('status');
const expectedString = t('doc_auth.hybrid_flow_warning.only_add_sp_services_html', {
service_provider_name: SP_NAME,
});

expect(alertElement.textContent).to.have.string(expectedString);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ function HybridDocCaptureWarning({ className = '' }: HybridDocCaptureWarningProp
const serviceProviderName = spContext.name;
const appName = getConfigValue('appName');

const listHeadingText = t('doc_auth.hybrid_flow_warning.only_add_if_text');
const ownAccountItemText = t('doc_auth.hybrid_flow_warning.only_add_own_account', {
app_name: appName,
});
const phoneVerifyItemText = t('doc_auth.hybrid_flow_warning.only_add_phone_verify', {
app_name: appName,
});
let spServicesItemText;
let warningText = t('doc_auth.hybrid_flow_warning.explanation_non_sp_html', {
app_name: appName,
});
Expand All @@ -44,22 +36,11 @@ function HybridDocCaptureWarning({ className = '' }: HybridDocCaptureWarningProp
app_name: appName,
service_provider_name: serviceProviderName,
});
spServicesItemText = t('doc_auth.hybrid_flow_warning.only_add_sp_services_html', {
service_provider_name: serviceProviderName,
});
}

return (
<Alert textTag="div" className={className} type="warning">
<p>{formatWithStrong(warningText)}</p>
<p>
<strong>{listHeadingText}</strong>
</p>
<ul>
<li>{ownAccountItemText}</li>
<li>{formatWithStrong(phoneVerifyItemText)}</li>
{serviceProviderName && <li>{formatWithStrong(spServicesItemText)}</li>}
</ul>
</Alert>
);
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/idv/link_sent/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<% self.title = t('titles.doc_auth.link_sent') %>

<%= render AlertComponent.new(type: :warning, class: 'margin-bottom-4') do %>
<strong class="display-block"><%= t('doc_auth.info.keep_window_open') %></strong>
<strong><%= t('doc_auth.info.keep_window_open') %></strong>
<% if FeatureManagement.doc_capture_polling_enabled? %>
<%= t('doc_auth.info.link_sent_complete_polling') %>
<% else %>
Expand Down
7 changes: 5 additions & 2 deletions app/views/idv/shared/choose_id_type.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@

<% if presenter.hybrid_flow? %>
<%= render AlertComponent.new(type: :warning, class: 'margin-bottom-4') do %>
<%= t('doc_auth.info.login_access_sp', app_name: APP_NAME, sp_name: decorated_sp_session.sp_name) %>
<%= t('doc_auth.info.add_id_consent_with_phone', app_name: APP_NAME) %>
<%= t(
'doc_auth.hybrid_flow_warning.explanation_html',
app_name: APP_NAME,
service_provider_name: decorated_sp_session.sp_name,
) %>
<% end %>
<% end %>

Expand Down
10 changes: 2 additions & 8 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -637,13 +637,8 @@ doc_auth.headings.verify_at_post_office: Go to a participating Post Office
doc_auth.headings.verify_identity: Verify your identity
doc_auth.headings.verify_online: Verify your identity online
doc_auth.headings.welcome: Let’s verify your identity for %{sp_name}
doc_auth.hybrid_flow_warning.explanation_html: You’re using <strong>%{app_name}</strong> to verify your identity for access to <strong>%{service_provider_name}</strong> and its services.
doc_auth.hybrid_flow_warning.explanation_html: You’re using <strong>%{app_name}</strong> to access <strong>%{service_provider_name}</strong>. Only add your ID if you asked %{app_name} to verify your ID using your phone.
doc_auth.hybrid_flow_warning.explanation_non_sp_html: You’re using <strong>%{app_name}</strong> to verify your identity.
doc_auth.hybrid_flow_warning.only_add_if_text: 'ONLY ADD YOUR ID IF:'
doc_auth.hybrid_flow_warning.only_add_own_account: You are using your own %{app_name} account
doc_auth.hybrid_flow_warning.only_add_phone_verify: You asked %{app_name} to verify your ID using your phone
doc_auth.hybrid_flow_warning.only_add_sp_services_html: You are trying to access <strong>%{service_provider_name}</strong> services
doc_auth.info.add_id_consent_with_phone: Only add your ID if you asked %{app_name} to verify your ID using your phone.
doc_auth.info.address: If your residential address and mailing address are different, you can also try to verify your mailing address.
doc_auth.info.address_guidance_puerto_rico_html: Puerto Rico residents:<br><br>Edit your address to list your urbanization or condominium on address line 2.
doc_auth.info.capture_status_big_document: Too Close
Expand All @@ -670,8 +665,7 @@ doc_auth.info.learn_more: Learn more about how we protect your sensitive informa
doc_auth.info.lets_go: 'Identity verification happens in two parts:'
doc_auth.info.link_sent: Please check your phone and follow instructions to take a photo of your ID.
doc_auth.info.link_sent_complete_no_polling: When you are done, click Continue here to finish verifying your identity.
doc_auth.info.link_sent_complete_polling: The next step will load automatically.
doc_auth.info.login_access_sp: You’re using %{app_name} to access %{sp_name}.
doc_auth.info.link_sent_complete_polling: The next step will load automatically after you verify your ID on your phone.
doc_auth.info.mailing_address: We’ll mail the letter with a verification code to this address.
doc_auth.info.no_ssn: You must have a Social Security number to finish verifying your identity.
doc_auth.info.passport_capture: Take a photo of the data page of your passport book. This page has your passport photo and personal information.
Expand Down
10 changes: 2 additions & 8 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -648,13 +648,8 @@ doc_auth.headings.verify_at_post_office: Vaya a una oficina de correos participa
doc_auth.headings.verify_identity: Verifique su identidad
doc_auth.headings.verify_online: Verifique su identidad en línea
doc_auth.headings.welcome: Verifiquemos su identidad para %{sp_name}
doc_auth.hybrid_flow_warning.explanation_html: Está utilizando <strong>%{app_name}</strong> para verificar su identidad y acceder a <strong>%{service_provider_name}</strong> y sus servicios.
doc_auth.hybrid_flow_warning.explanation_html: Está usando <strong>%{app_name}</strong> para acceder a <strong>%{service_provider_name}</strong>. Solo agregue su identificación si solicitó a %{app_name} verificar su identidad usando su teléfono.
doc_auth.hybrid_flow_warning.explanation_non_sp_html: Está utilizando <strong>%{app_name}</strong> para verificar su identidad.
doc_auth.hybrid_flow_warning.only_add_if_text: 'SOLO AGREGUE SU IDENTIFICACIÓN SI:'
doc_auth.hybrid_flow_warning.only_add_own_account: Está usando su propia cuenta de %{app_name}
doc_auth.hybrid_flow_warning.only_add_phone_verify: Usted solicitó a %{app_name} que verificara su identificación con su teléfono
doc_auth.hybrid_flow_warning.only_add_sp_services_html: Está tratando de acceder a los servicios de <strong>%{service_provider_name}</strong>
doc_auth.info.add_id_consent_with_phone: Solo agregue su identificación si solicitó a %{app_name} verificar su identidad usando su teléfono.
doc_auth.info.address: Si su domicilio y su dirección postal no son iguales, también puede intentar verificar su dirección postal.
doc_auth.info.address_guidance_puerto_rico_html: Residentes en Puerto Rico:<br><br>Edite su dirección para que el edificio de su vivienda o condominio figure en la línea de dirección 2.
doc_auth.info.capture_status_big_document: Demasiado cerca
Expand All @@ -681,8 +676,7 @@ doc_auth.info.learn_more: Obtenga más información sobre cómo protegemos su in
doc_auth.info.lets_go: 'La verificación de la identidad se efectúa en dos partes:'
doc_auth.info.link_sent: Revise su teléfono y siga las instrucciones para tomar una foto de su identificación.
doc_auth.info.link_sent_complete_no_polling: Cuando termine, haga clic en “Continuar” para terminar la verificación de su identidad.
doc_auth.info.link_sent_complete_polling: El siguiente paso se cargará automáticamente.
doc_auth.info.login_access_sp: Está usando %{app_name} para acceder a %{sp_name}.
doc_auth.info.link_sent_complete_polling: El siguiente paso se cargará automáticamente después de que verifique su identidad en su teléfono.
doc_auth.info.mailing_address: Enviaremos la carta con un código de verificación a esta dirección.
doc_auth.info.no_ssn: Debe tener un número de Seguro Social para finalizar la verificación de su identidad.
doc_auth.info.passport_capture: Tome una fotografía de la página de datos de su pasaporte, es decir, de la página que muestra su foto y su información personal.
Expand Down
10 changes: 2 additions & 8 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -637,13 +637,8 @@ doc_auth.headings.verify_at_post_office: Vous rendre à un bureau de poste parti
doc_auth.headings.verify_identity: Confirmer votre identité
doc_auth.headings.verify_online: Confirmer votre identité en ligne
doc_auth.headings.welcome: Vérifions votre identité auprès de %{sp_name}
doc_auth.hybrid_flow_warning.explanation_html: Vous utilisez <strong>%{app_name}</strong> pour confirmer votre identité et accéder à <strong>%{service_provider_name}</strong> et à ses services.
doc_auth.hybrid_flow_warning.explanation_html: Vous utilisez <strong>%{app_name}</strong> pour accéder à <strong>%{service_provider_name}</strong>. Ajoutez uniquement votre pièce d’identité si vous avez demandé à %{app_name} de vérifier votre identité à l’aide de votre téléphone.
doc_auth.hybrid_flow_warning.explanation_non_sp_html: Vous utilisez <strong>%{app_name}</strong> pour confirmer votre identité.
doc_auth.hybrid_flow_warning.only_add_if_text: 'N’AJOUTEZ VOTRE PIÈCE D’IDENTITÉ QUE SI :'
doc_auth.hybrid_flow_warning.only_add_own_account: Vous utilisez votre propre compte %{app_name}
doc_auth.hybrid_flow_warning.only_add_phone_verify: Vous avez demandé à %{app_name} de confirmer votre identité à l’aide de votre téléphone
doc_auth.hybrid_flow_warning.only_add_sp_services_html: Vous essayez d’accéder aux services de <strong>%{service_provider_name}</strong>
doc_auth.info.add_id_consent_with_phone: Ajoutez uniquement votre pièce d’identité si vous avez demandé à %{app_name} de vérifier votre identité à l’aide de votre téléphone.
doc_auth.info.address: Si votre adresse personnelle et votre adresse postale de contact sont différentes, vous pouvez également essayer de confirmer votre adresse postale.
doc_auth.info.address_guidance_puerto_rico_html: Résidents de Porto Rico :<br><br>modifiez votre adresse pour indiquer votre lotissement ou votre condominium à la ligne 2.
doc_auth.info.capture_status_big_document: Trop près
Expand All @@ -670,8 +665,7 @@ doc_auth.info.learn_more: En savoir plus sur la façon dont nous protégeons vos
doc_auth.info.lets_go: 'La vérification de l’identité se fait en deux temps :'
doc_auth.info.link_sent: Veuillez consulter votre téléphone et suivre les instructions pour prendre une photo de votre pièce d’identité.
doc_auth.info.link_sent_complete_no_polling: Quand vous aurez fini, cliquez sur « Suite » ici pour terminer la vérification de votre identité.
doc_auth.info.link_sent_complete_polling: L’étape suivante se chargera automatiquement.
doc_auth.info.login_access_sp: Vous utilisez %{app_name} pour accéder à %{sp_name}.
doc_auth.info.link_sent_complete_polling: L’étape suivante se chargera automatiquement une fois que vous aurez confirmé votre identité sur votre téléphone.
doc_auth.info.mailing_address: Nous vous enverrons le courrier contenant un code de vérification à cette adresse.
doc_auth.info.no_ssn: Vous devez avoir un numéro de sécurité sociale pour terminer la vérification de votre identité.
doc_auth.info.passport_capture: Prenez une photo de la page d’informations de votre passeport. Cette page comporte votre photo d’identité et vos informations personnelles.
Expand Down
10 changes: 2 additions & 8 deletions config/locales/zh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -648,13 +648,8 @@ doc_auth.headings.verify_at_post_office: 到一个参与本项目的邮局去
doc_auth.headings.verify_identity: 验证你的身份
doc_auth.headings.verify_online: 在网上验证身份
doc_auth.headings.welcome: 现在我们来为%{sp_name}验证你的身份
doc_auth.hybrid_flow_warning.explanation_html: 你在使用 <strong>%{app_name}</strong> 验证身份以访问 <strong>%{service_provider_name}</strong> 及其服务
doc_auth.hybrid_flow_warning.explanation_html: 你在使用<strong>%{app_name}</strong>访问<strong>%{service_provider_name}</strong>。仅在你已请求%{app_name}使用你的电话来验证你的身份的情况下才添加你的身份证件
doc_auth.hybrid_flow_warning.explanation_non_sp_html: 你在使用 <strong>%{app_name}</strong> 验证身份。
doc_auth.hybrid_flow_warning.only_add_if_text: 只有在以下情况下才添加你的身份证件:
doc_auth.hybrid_flow_warning.only_add_own_account: 你在使用自己的 %{app_name} 账户
doc_auth.hybrid_flow_warning.only_add_phone_verify: 你要求 %{app_name} 使用你的电话来验证你的身份证件。
doc_auth.hybrid_flow_warning.only_add_sp_services_html: 你在试图访问 <strong>%{service_provider_name}</strong> 服务。
doc_auth.info.add_id_consent_with_phone: 仅在你已请求%{app_name}使用你的电话来验证你的身份的情况下才添加你的身份证件。
doc_auth.info.address: 如果你的居住地址和邮寄地址不同,也可以尝试验证你的邮寄地址。
doc_auth.info.address_guidance_puerto_rico_html: 波多黎各居民:<br><br>编辑你的地址,在地址第 2 行列出你的 urbanization 或 condominium。
doc_auth.info.capture_status_big_document: 太近了
Expand All @@ -681,8 +676,7 @@ doc_auth.info.learn_more: 对于我们如何保护你的敏感信息获得更多
doc_auth.info.lets_go: 身份验证包括两部分:
doc_auth.info.link_sent: 请查看你的手机并按照说明拍一张你身份证件的照片。
doc_auth.info.link_sent_complete_no_polling: 照好以后,在这里点击“继续”,完成验证身份。
doc_auth.info.link_sent_complete_polling: 下一步会自动加载。
doc_auth.info.login_access_sp: 你在使用%{app_name}访问 %{sp_name}。
doc_auth.info.link_sent_complete_polling: 你在手机上验证身份后,下一步将会自动加载。
doc_auth.info.mailing_address: 我们会将包含验证码的信件邮寄到这个地址。
doc_auth.info.no_ssn: 你必须有社会保障号码才能完成身份验证。
doc_auth.info.passport_capture: 拍摄一张你护照本的数据页的照片。数据页上有你的护照照片和个人信息。
Expand Down