nhsuk / nhsapp-frontend

NHS App specific styles on top of nhsuk-frontend
MIT License
4 stars 0 forks source link

Timeline (illustrative list) #28

Open davidhunter08 opened 8 months ago

davidhunter08 commented 8 months ago

Example

Screenshot 2023-11-20 at 10 25 18

Journeys used on

  1. Request repeat prescription
  2. Waiting times

Related

GOV.UK Design System discussion

Progress

Design checklist

Development criteria

davidhunter08 commented 7 months ago

Team Compass are looking at using a timeline on referrals.

Screenshot ![Image](https://github.com/nhsuk/nhs-app-design-styles-components-patterns/assets/14331000/6726f0e7-5387-4d58-9f69-b95aef11766f)

Key areas to test

Wait times

Can users still identify what is currently required from them? Do they know they have no actions to take?


davidhunter08 commented 4 months ago

User research from Team Compass...

Screenshot 2024-02-08 at 12 47 09
davidhunter08 commented 3 months ago

Example from prescriptions...

Screenshot 2024-03-08 at 11 41 40
davidhunter08 commented 3 months ago

Examples

Timelines out in the wild:

GitHub Screenshot 2024-03-13 at 15 39 02
BBC News Screenshot 2024-03-13 at 15 40 43
HMRC Design Patterns Screenshot 2024-03-13 at 15 42 00 https://design.tax.service.gov.uk/hmrc-design-patterns/timeline/
Adidas App ![image](https://github.com/nhsuk/nhs-app-design-styles-components-patterns/assets/14331000/a65ae7e4-d44c-4967-908d-681667108a7a) The colour contrast 😢
michaelgallagher commented 3 months ago

@davidhunter08 we only ever tested this with staff (in internal-facing services, e.g. case management), but we did quite a lot work on timelines when i was working in hackney

see here

growe88 commented 2 months ago

More examples

Some more examples of timeline components out there.

Trainline ![IMG_8390](https://github.com/nhsuk/nhs-app-design-styles-components-patterns/assets/149805186/b5a780b0-6f6a-4e72-928e-4c554735d54a) ![Group 1](https://github.com/nhsuk/nhs-app-design-styles-components-patterns/assets/149805186/9f604b07-12c4-46bb-8dd6-b75c84421395)
CityMapper ![IMG_8393](https://github.com/nhsuk/nhs-app-design-styles-components-patterns/assets/149805186/c2a29df8-17e0-4373-9a79-ea033768b1b3)
DHL ![IMG_2700 1](https://github.com/nhsuk/nhsapp-frontend/assets/149805186/1d3a04a1-ba3f-4f04-9795-bfa1f395cc7f)
Amazon ![IMG_2700 1](https://github.com/nhsuk/nhs-app-design-styles-components-patterns/assets/149805186/aed0666f-436d-4dd6-b6a4-ce661b6e9c7f)
IKEA ![IMG_4226](https://github.com/nhsuk/nhs-app-design-styles-components-patterns/assets/149805186/317b4a23-5e6a-4c9f-a148-a813897765f2)
TFL Go ![IMG_8394](https://github.com/nhsuk/nhs-app-design-styles-components-patterns/assets/149805186/a55fa112-211e-435b-8f83-389e05478098)
Tosin-Balogun commented 1 month ago

Prescription and medicines team use this component to inform user the stages their medicine will go through before it reaches them

Image

growe88 commented 1 month ago

Collection of assorted information pertaining to Timeline Component

Screenshot 2024-05-09 at 15 36 26

Insights: [Kainos] Participants think of their appointments and healthcare in the immediate sense, “what is the next step and when will that be”. Hence a visual timeline component was used. [Kainos] All users understood where they were and found the timeline useful, and also correctly identified what the dates were referring to [Kainos] Participants likened the visual to amazon deliveries and found it easy to identify where they were and what was next in the journey [Compass] The page was deemed to be particularly text heavy. Having the visual graphic helped to break this up and provide additional context through a means separate from text content.

/

Quotes: "Having the visual really helps" "Having a visual puts a map in your mind that it's coming up. Be less prone to forget about it." "It's reassuring, even if it's a rough month. Nice to know." "I'd like to see all my appointments on my timeline, even if they had been cancelled" /

Pain points since identified: [Compass] Participants expect the graphic to be dynamic; moving along and changing as they progress through the presented pathway. The timeline is static and generic, and so this does not meet user expectations.

(creds to Joe Galliford)

davidhunter08 commented 3 weeks ago

Design update

timeline

HTML prototype (u: app / p: redesign)

Design decisions

From @growe88

We have reduced the variations of the nodes on the timeline.

We have identified two different uses in which our interaction designers use this component.

Design work in Figma

Research questions

davidhunter08 commented 2 weeks ago
timeline-contrast-ratio

The contrast ratio between the timelines's grey line and page background colour is 1.84:1. The timeline is not interactive so it technically doesn't need to meet the 3:1 but we need to make sure this works for users with visual impairments.

davidhunter08 commented 2 weeks ago

Note: The current design is overriding heading styles (changing font weight to normal with only the current item being in bold)... is this ok?

This is how it looks without overriding the heading styles...

timeline-bold

Easier to scan?

Graham-Pembrey commented 1 week ago

Is it possible that users might think there's a correlation between the amount of space between nodes, and the relative amount of time that step will take?

So for example, in the attached image, there is more space between 'Pharmacy processing' and 'Collect' than there is between 'GP approval process' and 'Pharmacy processing' because of the extra line of body text. That could be seen as representing a greater length of time.

This might just be something that we want to include in our guidance, as a possible perception to be aware of and to test for?

image

jjulier commented 1 week ago

Quick question just to check my understanding - is the content in the screenshot included on your comment above @Graham-Pembrey the actual content a user would see? To me it looks like a user would see 'Awaiting approval' OR 'Rejected' not both simultaneously? Same for the content under 'Pharmacy processing'.

Graham-Pembrey commented 1 week ago

Yes really good point @jjulier and something I had overlooked. I think you're right: for the example I shared, in actual usage, users would actually only see one of the pieces of body text beneath the headings. That would make the line length more consistent. It might just be something for teams to consider if one stage in the process has more body content than others.

davidhunter08 commented 2 days ago

The team working on 'Apply for proxy access' tested a timeline on a confirmation page...

Image

Image