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 filter 2021 07 16 #230

Merged
merged 7 commits into from
Jul 20, 2021
Merged

Update filter 2021 07 16 #230

merged 7 commits into from
Jul 20, 2021

Conversation

kelliedesigner
Copy link
Contributor

@kelliedesigner kelliedesigner commented Jul 16, 2021

Closes #231

Description of the change

Update the 'Filter' component documentation with guidance on:

  • the types of form elements that can be used
  • variations to help with navigating filters when there are a lot of filters, or a lot of items within a filter
  • information on things we don't know enough about
Before After
design-patterns service justice gov uk_components_filter_(iPad Pro) localhost_8080_components_filter_(iPad Pro)

Release notes

Users will be able to read and follow guidance on when to use the the filter component and it's variations.

docs/components/filter.md Outdated Show resolved Hide resolved
docs/components/filter.md Outdated Show resolved Hide resolved
docs/components/filter.md Outdated Show resolved Hide resolved
docs/components/filter.md Outdated Show resolved Hide resolved
Using the native date picker as a filter:

- tested well with users
- is accessible in all browsers except Firefox
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, I wasn't clear with my previous feedback: we didn't find the date picker to be inaccessible with users, they just had usability concerns: you couldn't copy-paste—which you could with our previous JavaScript solution—and entering historic dates was hard, though that UI may have changed now.

I was more meaning to challenge whether it's fair to say it "tested well with users" as a blanket statement, since we also have experience suggesting it didn't in some circumstances.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Have removed this section.

- has been usability tested
- is working in a live service (Sirius for Office of the Public Guardian)

Users don't always see they can filter. Some users try to filter from the columns headings Sirius for OPG and Manage Offenders in Custody for HMPPS)
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like a copy-paste artefact?

Suggested change
Users don't always see they can filter. Some users try to filter from the columns headings Sirius for OPG and Manage Offenders in Custody for HMPPS)
Users don't always see they can filter. Some users try to filter from the columns headings.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@kelliedesigner kelliedesigner merged commit fc1ca19 into main Jul 20, 2021
@kelliedesigner kelliedesigner deleted the update-filter-2021-07-16 branch July 20, 2021 09:58
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.

Filters
2 participants