-
Notifications
You must be signed in to change notification settings - Fork 4
Pyic 9050 add new mitigation screens #2790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
be81505
PYIC-9050: Add Kiro steering files
DanCorderIPV 8cc5a67
PYIC-9050: Add initial retry-prove-identity-app page
DanCorderIPV 0e7b3fe
PYIC-9050: Add page context to reprove-identity-app
DanCorderIPV 266e4bb
PYIC-9050: Add retry-prove-identity-passport
DanCorderIPV b0b1c83
PYIC-9050: Add script to check for translation inconsistencies
DanCorderIPV bcec3e3
PYIC-9050: Simplify generation of user data.
DanCorderIPV a20e87a
PYIC-9050: Fix welsh page heading
DanCorderIPV 7630178
PYIC-9050: Fix warnings for unused translation text
DanCorderIPV 319ff6b
PYIC-9050: Remove unnecessary whitespace
DanCorderIPV 1c42aa9
PYIC-9050: change incorrect capitalisation
DanCorderIPV bb4e40b
PYIC-9050: Add Welsh translations
DanCorderIPV cbb7d7f
PYIC-9050: Run linter
DanCorderIPV 4256c4e
PYIC-9050: Add IDs to new radio buttons
DanCorderIPV 0872ba1
PYIC-9050: Add readme section on Kiro
DanCorderIPV File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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,19 @@ | ||
| # One Login | ||
| "One Login" is a service provided by the UK government to allow citizens to create a login and prove their identity once. The login can then be used to access many different government services without | ||
| the user needing to create multiple accounts. | ||
|
|
||
| The One Login service is made up mainly of a website and two mobile apps available on Android and iPhone. The website looks like one site to the end-user but is actually made up of multiple sites owned | ||
| by different teams and the various sites hand-off to each other as required during the user's journey. | ||
|
|
||
| Typically a user will start on government service's website that uses One Login. The service site (known as a relying party, or RP) will send the user to the One Login Authentication site to login, | ||
| they may then be passed to Orchestration which will decide where to route the user to. If they user needs to prove or re-prove their identity they will be sent to Identity Proving and Verification (known as IPV, or IPV Core). | ||
| Once the user has succeeded or failed in proving their identity IPV will send them back to Orchestration to continue their journey. | ||
|
|
||
| # IPV Core | ||
| This project; `core-front` is part of IPV Core. There is another project called `core-back` that works closely with `core-front` and contain most of the business logic of the system. | ||
|
|
||
| The main purpose of `core-front` is to display pages to the user and determine the action that the user wants to take on each page. Those actions are sent to `core-back` which then decides what to do next, | ||
| usually this will be to do some processing and then tell `core-front` to display another page to the user. | ||
|
|
||
| The pages displayed by `core-front` need to be clear, concise, and accessible - in accordance with the GOV.UK design system. Pages must be available in both English and Welsh. | ||
| They need to guide users through identity (re-)proving journeys so that the users can successfully prove their identity, and so gain access to the government service they want to use. |
This file contains hidden or 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,9 @@ | ||
| # Website | ||
| Code for the site is in the /src directory | ||
| Deployment configuration is found in /deploy/template.yaml | ||
| Translation text for i18next is in /locales/*/translation.json | ||
| GitHub workflows are used to configure build pipelines and run automated tests. | ||
|
|
||
| # Testing | ||
| Unit tests are kept alongside (or very close to) the files that they test. | ||
| Browser tests have their own folder and are for higher level tests of the entire site, and for snapshot tests |
This file contains hidden or 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,18 @@ | ||
| # Website | ||
| The `core-front` website uses the Express webserver. The site is written in TypeScript and Nunjucks is used the templating language for the web pages. | ||
| i18next is used for handling translations | ||
| The site runs in AWS ECS. | ||
| The site uses DynamoDb for data storage. | ||
| Configuration is stored in environment variables accessed through dotenv, or in AWS SSM. | ||
| csrf-sync is used to provide csrf protection for the forms on the site. | ||
| Axios is used to send web requests (e.g. to `core-back`) | ||
| The base template for `core-front` is actually stored in the `@govuk-one-login/frontend-ui` | ||
| CSS is generated using SASS | ||
|
|
||
| # Testing | ||
| Unit tests use Mocaha, Sinon, and Chai. | ||
| Browser tests have their own folder and use PlayWright | ||
|
|
||
| # Misc | ||
| Check package.json for the full list of packages used by the site. | ||
| Check README files for more information about the project. | ||
This file contains hidden or 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
Binary file modified
BIN
-44 Bytes
(100%)
...shot.spec.ts-snapshots/no-photo-id-exit-find-another-way-cy-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-19 Bytes
(100%)
...apshot-tests/snapshot.spec.ts-snapshots/page-update-name-cy-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+10 Bytes
(100%)
...shot.spec.ts-snapshots/page-update-name-cy-repeatFraudCheck-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+81.5 KB
...ests/snapshot.spec.ts-snapshots/retry-prove-identity-app-cy-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+83 KB
...spec.ts-snapshots/retry-prove-identity-app-cy-returningUser-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+77.5 KB
...ests/snapshot.spec.ts-snapshots/retry-prove-identity-app-en-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+78.6 KB
...spec.ts-snapshots/retry-prove-identity-app-en-returningUser-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+69.4 KB
...snapshot.spec.ts-snapshots/retry-prove-identity-passport-cy-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+63.4 KB
...snapshot.spec.ts-snapshots/retry-prove-identity-passport-en-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-10 Bytes
(100%)
...apshot.spec.ts-snapshots/sorry-could-not-confirm-details-cy-chromium-linux.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.