nhsuk / nhsuk-frontend

NHS.UK frontend contains the code you need to start building user interfaces for NHS websites and services.
https://nhsuk.github.io/nhsuk-frontend/
MIT License
623 stars 107 forks source link

Create a summary list component #384

Closed GrilloPress closed 5 years ago

GrilloPress commented 5 years ago

What is it?

The Summary list component is an established GOV.UK component in use in various GOV services as well as live in the National data opt-out service service.

It is also in use in an alpha service for the "Check your personal details" part of the audit and transparency foundation service/s.

The summary list component is a key element of the GDS pattern to help users to "check answers".

What problem does this thing solve?

Many transactional services need to have users check data before submission, or check data against a question or criteria, and the summary list is an established component for doing this.

Having the summary list component and related macro would:

Where has this been tested

Across gov. This component has been tested across numerous GOV services and internal case working systems.

In the NHS this has been tested in the national data opt-out service:

It has also been tested in the new frontend in the "Check your personal details" service:

Issues reported: None

Other links

For the audit and transparency set of services I have created a proof of concept fork of the GDS component:

chrimesdev commented 5 years ago

Looks like we having something along the lines of the Summary list component within the NHS.UK prototype kit - Check your answers page.

Do we just need to move from the prototype kit into the frontend @davidhunter08?

mcheung-nhs commented 5 years ago

Done and merged into master - https://github.com/nhsuk/nhsuk-frontend/pull/404