Skip to content

LG-11986: Modify the Welcome screen if selfie required#9944

Merged
solipet merged 1 commit intomainfrom
dprice-lg-11986-welcome-with-selfie
Jan 22, 2024
Merged

LG-11986: Modify the Welcome screen if selfie required#9944
solipet merged 1 commit intomainfrom
dprice-lg-11986-welcome-with-selfie

Conversation

@solipet
Copy link
Contributor

@solipet solipet commented Jan 18, 2024

🎫 Ticket

Link to the relevant ticket:
LG-11986

🛠 Summary of changes

The first bullet on the Welcome page is modified if a selfie check is required.

📜 Testing Plan

To see this locally, hard code the method NullServiceProviderSession#selfie_required? to return true.

👀 Screenshots

Without selfie required (current view on `main`):
en es fr
LG-11968-orig LG-11968-orig-es LG-11968-orig-fr
With selfie required:
en es fr
LG-11968-with_selfie LG-11968-with_selfie-es LG-11968-with_selfie-fr

The first bullet is modified if a selfie check is required.

changelog: Upcoming Features, Identity Verification, Updates the Welcome page if a selfie is required

Co-authored-by: Alex Bradley <alexander.bradley@gsa.gov>
@solipet solipet requested a review from a team January 18, 2024 22:25
<%= render ProcessListComponent.new(heading_level: :h3, class: 'margin-y-3') do |c| %>
<%= c.with_item(heading: t('doc_auth.instructions.bullet1')) do %>
<p><%= t('doc_auth.instructions.text1') %></p>
<% if decorated_sp_session.selfie_required? %>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: selfie_required? not only checks that the SP requested a selfie, but also checks that the feature flag is enabled.

Copy link
Contributor

@theabrad theabrad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Tested locally and it shows the right content when selfie is enabled.

@solipet solipet merged commit 1d8eaf6 into main Jan 22, 2024
@solipet solipet deleted the dprice-lg-11986-welcome-with-selfie branch January 22, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants