Skip to content
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

Add task list component and pattern #2031

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from
Draft

Conversation

edwardhorsford
Copy link
Contributor

@edwardhorsford edwardhorsford commented Sep 12, 2024

Description

Adds the task list component and pattern. These are largely copied verbatim from the GOV.UK Design System, though I have made updates to refer to NHS, make the examples more relevant, or where our colour scheme differs.

As the NHS Frontend component PR hasn't been merged, this PR targets that pr in package.json. This should be removed prior to this PR being merged. For testing, you can pull this branch and run npm install and it should pick up the other work.

It's possible the component / pattern should be mentioned / listed in other bits of the app - I tried to insert it in all the places by checking where another pattern was mentioned, but it's possible I've missed places.

Component guidance

Task list - NHS digital service manual · 11 59am · 09-16

Pattern guidance

Complete multiple tasks - NHS digital service manual

Updated tag colour examples

The tag component shows some example statuses - but these don't align with what the task list pattern uses. I've updated the two conflicting ones to align with what we and GOV.UK have.

Before After
Screenshot 2024-09-16 at 11 54 21 Screenshot 2024-09-16 at 11 55 01

Related issue

This wants to be merged alongside the companion nhsuk-frontend pr adding the task list component.

Checklist

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.

1 participant