nhsuk / nhsuk-service-manual-community-backlog

This is a place for digital teams in the NHS to work together and develop the NHS digital service manual.
https://service-manual.nhs.uk/community-and-contribution
62 stars 5 forks source link

Filter a list #217

Open davidhunter08 opened 4 years ago

davidhunter08 commented 4 years ago

Also known as: faceted search

What

Help users filter a list of items to see things that are relevant to their task. For example, filtering search results.

Why

Currently used on:

See also the GOV.UK Design System backlog issue

bencullimore commented 4 years ago

I did a bit of work on filters for result lists going back a few years ago for NHS eReferral Service - ‘Manage your referral service’ - predominantly mobile.

The original assumption was that users would want to filter a list of shortlisted hospitals based on their specific needs - distance, access, parking etc.

  1. Select clinic screen v1 5 SelectClinic copy

  2. Filter clinics 5a FilterClinics

  3. Select clinic screen v2 5 SelectCLinic copy

We tested a filter only to find that no one used it (even though they said how important access, parking was to them before we showed the prototype).

What worked best was showing the key top three pieces of information (from user card sorting) for each hospital listing:

  1. How many days until first available appointment
  2. Distance from [specified] address
  3. Average wait for treatment (treatment comes after initial appointment)

Users were happy to scroll through a number of options (we tested with a list of around 15) to assess which was best for them.

A couple of caveats that the majority of users either knew or had a vague idea of what they were going to choose either from previous experience, recommendation, or how fast they wanted to be seen - which meant they already knew about parking and access etc.

Key take away was users were happy to scroll (not filter) as long as the important bits were exposed.

Here's with what we ended up with for beta, without filters.

  1. Beta select clinic screen PABS-92percent

The screen has since been worked on, incorporating the NHS digital service manual design system styles and patterns.

devansXD commented 4 years ago

We explored filters on service search in the very early alpha days on the eRS professional web app - we found autosuggest negated the need in the end. We did have some filters on the worklists screen, which although tested quite well on flat visuals, I wanted to test a responsive version. It never made it out the door, but its here anyway as a reference:

https://ers-admin-prototype.herokuapp.com/worklists/worklists ers/makethenhsbetter

samanthasaw commented 3 years ago

NHS App latest appointments concept includes filtering localhost_3001_app_appointments_v6_select-available-appointment(iPhone 6_7_8)

localhost_3001_app_appointments_v6_select-available-appointment(iPhone 6_7_8) (1)

Screenshot 2021-04-26 at 11 11 03

In user testing, users wanted to see the soonest available appointments as fast as possible. So we included one pre-question before the search results page (what type of appointment do you need?). And then allowed users to filter further on the search results page.

henocookie commented 2 years ago

Sofia Western and Tom Brooks presented at the NHS.UK show and tell on 25th January 2022 and showed the Find a walk-in coronavirus (COVID-19) vaccination site service which now includes a filter on search results pages.

Walk-in-coronavirus-COVID-19-vaccination-sites-near-leeds-Find-a-walk-in-coronavirus-COVID-19-vaccination-site

henocookie commented 2 years ago

Jack Ruck also mentioned that Find a Service are "currently testing this within some of the service finders as well and we're all joined up in hoping to get it into the design system"

maddyow commented 2 years ago

We've used basic filters on the Campaigns hub to narrow down a page of campaign results. CRC v3 - Campaigns hub filters

In recent research sessions, the filters have been interacted with and useful to some – particularly with users who are familiar with the content (this is more of a B2B site). There were some expectations for things that weren’t on the site, for example specific health conditions so the labels and categories are very important (as well as the drop down options). There is also a more advanced search on this site so filters are used to help search at a topic only level.

Also noted in https://github.com/alphagov/govuk-design-system-backlog/issues/133

karypun commented 2 years ago

We used filters on the Standards Directory. Most users primarily engaged with the search bar if they knew what they were looking for. Some users haven't noticed the filters; however, once they did, many found them useful, particularly to filter down to relevant care settings and topics. We've implemented filter labels as well to see if they helped users see how and why the results have changed but didn't see much engagement in research. There is more work to be done to explore the labels and how we can make search refinement more useful.

Screenshot 2022-07-06 at 11 14 34
sarawilcox commented 1 year ago

It would be really interesting to see analytics for how people interact with filters across different services. If you have the data, would you mind sharing, please?

BrieWhyatt commented 1 year ago

We have recently experimented briefly with filters in the NHS.UK search results list. We used a mixture of styles from GOV.UK and specifically MOJ. We made sure to place icons like a 'X' after the word in a button as this was evidenced by the MOJ to be more accessible.

Here are the designs we tested across desktop: Desktop-closed-filter Desktop-filter-applied-closed Desktop-open-filter

Here are the designs we tested across mobile: ![Search-filter-5 – 6](https://user-images.githubusercontent.com/55788270/200281229-9ae62bea-b63d-4be0-bc74-89261a30670e.pn Search-filter-5 – 10 Search-filter-5 – 11 g)

We ran our experiment in a live environment, as a smoke test. This means that the filters weren't functional, but simply there to see whether there was an appetite to interact with them. We acknowledge that this may impact the results.

Overall, we found there was a low interaction rate with the filters.

In the first week of the experiment we saw:

In the second week of the experiment:

This data evidences that the number of interactions with filters is not high enough to justify the development cost of building filters for NHS.UK search at this time, and perhaps indicates that users aren't looking to filter health information in this way.

karypun commented 1 year ago

On the NHS Data Standards Directory, we’ve applied a similar filter approach as mentioned above given the knowledge sharing we did with Brie, Maddy and team.

We tested the filters using a dynamic prototype based on live code (so real search results were reflected as users applied filters). Our key findings were around:

In the last two months (between 6th Sept - early this week) we had 312 users of which 44 people used the care settings, 12 people used the topics, so 14% and 4% respectively.

Screenshot 2022-11-09 at 18 52 01
Asad-acc commented 1 year ago

Description: We have designed filters for users to easily refine patient reviews on the ratings and reviews journey for profiles. The filter designs are inspired by the filtering produced by the FAS team. Whilst these designs have not been tested with users yet, we plan to gather insights on the effectiveness of the filters during our upcoming lab session. We will provide an update accordingly based on the user feedback.

Design Thinking:

Screenshot 2023-08-14 at 11 58 21@2x
maevewillie-pepple commented 8 months ago

My team is working on filters for test results in the NHS App

What

Journeys used on Test results in the NHS App (not yet released)

Some insights from usability testing

Screenshots of the design

Screenshot 2023-12-15 at 12 18 04 Screenshot 2023-12-15 at 12 16 39 Screenshot 2023-12-15 at 12 17 04 Screenshot 2023-12-15 at 12 17 17 Screenshot 2023-12-15 at 12 17 25