-
Notifications
You must be signed in to change notification settings - Fork 237
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
Conversation
There was a problem hiding this 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.
6942972
to
6d2bff0
Compare
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
6d2bff0
to
86c90ec
Compare
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.
There was a problem hiding this 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[#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 {`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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/). |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this 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 👍
4ab2aaf
to
e2a2b22
Compare
e2a2b22
to
9618dc5
Compare
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