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

Update Task List template #907

Merged
merged 4 commits into from
Jun 16, 2020
Merged

Update Task List template #907

merged 4 commits into from
Jun 16, 2020

Conversation

36degrees
Copy link
Contributor

@36degrees 36degrees commented May 28, 2020

We're updating the task list pattern in the Design System to make it clearer which tasks still need to be done.

This updates the template in the Prototype Kit so that it matches the examples used in the Design System.

Preview the updated template.

Closes #904


localhost_3000_docs_templates_task-list (1)

@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-907 May 28, 2020 14:43 Inactive
Copy link
Contributor

@alex-ju alex-ju left a comment

Choose a reason for hiding this comment

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

Looks good. One tiny suggestion.

docs/views/templates/task-list.html Outdated Show resolved Hide resolved
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-907 May 28, 2020 14:58 Inactive
@36degrees 36degrees requested a review from timpaul May 28, 2020 15:00
@36degrees 36degrees marked this pull request as draft June 1, 2020 07:37
We're updating the task list pattern in the Design System to make it clearer which tasks still need to be done [1].

This updates the template in the Prototype Kit so that it matches the examples used in the Design System.

[1]: alphagov/govuk-design-system#1250
@govuk-design-system-ci govuk-design-system-ci temporarily deployed to govuk-prototype-kit-pr-907 June 4, 2020 09:19 Inactive
It's unclear how these would be helpful to users, so remove them until we see evidence that they're required and that they actually enhance the accessibility of the task list.
@36degrees 36degrees marked this pull request as ready for review June 10, 2020 10:25
Copy link
Contributor

@m-green m-green left a comment

Choose a reason for hiding this comment

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

Looks good - couple of comments!

CHANGELOG.md Outdated
.app-task-list__task-completed {
```

[#907 Update Task List template](https://github.com/alphagov/govuk-prototype-kit/pull/907)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[#907 Update Task List template](https://github.com/alphagov/govuk-prototype-kit/pull/907)
This was added in pull request [#907: Update Task List template](https://github.com/alphagov/govuk-prototype-kit/pull/907)

Just a tweak to match the new style we used in FE 3.7.0.

CHANGELOG.md Outdated

The task list pattern has been updated with changes to the [task list pattern in the Design System](https://design-system.service.gov.uk/patterns/task-list-pages/).

If you're upgrading from an older version, in `app/assets/sass/patterns/task-list.scss` add the line `.app-task-list__tag,` before `.app-task-list__task-completed {`:
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
If you're upgrading from an older version, in `app/assets/sass/patterns/task-list.scss` add the line `.app-task-list__tag,` before `.app-task-list__task-completed {`:
If you're updating from an older version, in your `app/assets/sass/patterns/task-list.scss` file add the line `.app-task-list__tag,` before `.app-task-list__task-completed {`:

Slight tweak for clarity / consistency.

CHANGELOG.md Outdated

### Updated task list template

The task list pattern has been updated with changes to the [task list pattern in the Design System](https://design-system.service.gov.uk/patterns/task-list-pages/).
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's worth explaining the change a bit here. Something like: "The [task list pattern has been updated in the Design System] to make it clearer which tasks users still need to do."

CHANGELOG.md Outdated
@@ -1,5 +1,20 @@
# Unreleased

## Fixes
Copy link
Contributor

Choose a reason for hiding this comment

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

Would this be more of a new feature? With a heading of "The task list pattern is now clearer about incomplete tasks"? Not sure - happy either way.

Copy link
Member

@hannalaakso hannalaakso left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @36degrees 👍

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.

Update task list pattern to match changes in Design System
5 participants