-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LG-3427: Update doc auth ID support texts (#4228)
* Support string tagName for formatHTML handler * Support variables substitution in i18n strings * Update doc auth ID support texts * Remove unused string idv.messages.jurisdiction.no_id * Remove unused "No ID" error screen * Remove unnecessary HTML suffix for plaintext use_cac string * Extract getServiceProvider to conditionally create SP object See: https://github.com/18F/identity-idp/pull/4228/files#r492903440 * Support including attributes in match in formatHTML **Why**: Improved reuse of strings between server-side and client-side * Substitute no_other_id_help_bold with no_other_id_help_bold_html * Remove link "Full list of accepted IDs"
- Loading branch information
Showing
24 changed files
with
217 additions
and
117 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
25 changes: 21 additions & 4 deletions
25
app/javascript/packages/document-capture/components/mobile-intro-step.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
app/javascript/packages/document-capture/context/service-provider.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { createContext } from 'react'; | ||
|
||
/** | ||
* @typedef ServiceProviderContext | ||
* | ||
* @prop {string} name Service provider name. | ||
* @prop {string} failureToProofURL URL to redirect user on failure to proof. | ||
*/ | ||
|
||
const ServiceProviderContext = createContext(/** @type {ServiceProviderContext=} */ (undefined)); | ||
|
||
export default ServiceProviderContext; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
<%= render 'idv/shared/document_capture', flow_session: flow_session %> | ||
<%= render( | ||
'idv/shared/document_capture', | ||
flow_session: flow_session, | ||
sp_name: decorated_session.sp_name, | ||
failure_to_proof_url: decorated_session.failure_to_proof_url | ||
) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
<%= render 'idv/shared/document_capture', flow_session: flow_session %> | ||
<%= render( | ||
'idv/shared/document_capture', | ||
flow_session: flow_session, | ||
sp_name: decorated_session.sp_name, | ||
failure_to_proof_url: decorated_session.failure_to_proof_url | ||
) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.