-
Notifications
You must be signed in to change notification settings - Fork 5
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
Header for 'logged in' users #192
Comments
Editor prototype with App Header can be seen here: |
@RichFlick, thanks for the prototype code. For info, I am thinking of using this header style on 'Create and manage identities' (the service that will replace the Care Identity Service - used to manage smartcards). But had a few questions before I commit...
Cheers! |
An update to the post above... We have added some additional elements to the header recently, including information about the logged in user, their role and organisation. It also allows users to change their role within system and logout. Testing this header within our prototype has proven the additions to be helpful to users who need to perform actions with multiple access levels and for multiple organisations. It helps users ensure they are performing actions on behalf of the right organisation on any page and easily change the organisation as they need. |
https://covid-status.service.nhsx.nhs.uk/ has a Header for logged in users (same experience on mobile/desktop - hidden behind 'Menu' button) |
'Sign in' was chosen for Campaign Resource Centre on the basis GOV seem to favour it and in the case of this particular product, 'Sign in' seemed more intuitive than 'Log in' which we originally tried.
|
I've since found a few more GOV examples, which in fact us 'Log in': And one more which uses 'Sign in' |
On the Apply for Care ID service, we've been reusing the logged in user navigation component from Care Identity Management (CIM), mentioned above by benturner1976. We've found during usability testing sessions with a prototype that occasionally the navigation links are missed. This needs more thorough exploration to understand if it's to do with the content, or perhaps to do with colour contrast/size. We've not had any reports of this issue in the live service though. |
@Asad-acc @taylor-la My team are looking at something very similar for Bowel screening staff. We are wanting to show role and location and have the option to change these easily, we are a bit concerned about space since some of the roles and org names are pretty long. Did your team decide to remove this info from the header? |
I have consulted with a team member who was involved in designing the header we currently use. As our users have already signed in as themselves, it was determined that displaying their name and role was of lesser importance and was removed. |
I've done some initial research and design exploration of the logged in header. ExamplesFirst, some more examples of existing services: NHS.UK website (signed out)NHS.UK website / web app (signed in)Record a vaccination (signed in)Manage vaccinations in schools (signed in)SummaryBased on these, and the other examples in the thread above, there are 2 common elements:
There’s also a consensus that these 2 elements should appear at the top right. The ways the examples vary is:
Design explorationOne option might be to allow all of these as options, so that different services could do slightly different things depending on their context and users, eg public vs staff facing services, or whether there’s also a need for a search box or other items in the header. Here’s roughly how this might look (service name and and navigation options are just placeholders): Above the line, no iconAbove the line, with iconAbove the line, with icon and 'My account' wordingAbove the line, with icon and search box(This is pretty tight and I’m not sure would be recommended... 😬) Below the lineBelow the line with 'My account' wordingBelow the line with searchCode and possible nunjucks optionsSome very rough code for these examples here: nhsuk/nhsuk-frontend#967 Nunjucks code could look something like this: Above the line: {{ header({
"service": {
"name": "Invite patients to a consultation"
},
"showNav": "true",
"showSearch": "false",
"account": {
"profile": {
text: "[email protected]",
href: "#",
icon: true
},
"signOut": {
text: "Sign out",
href: "#"
}
},
"primaryLinks": [
{
"url" : "#",
"label" : "Find a patient"
},
{
'url' : '#',
'label' : 'Consultation schedule'
},
{
'url' : '#',
'label' : 'Settings'
}
]
}) }} Below the line: {{ header({
"service": {
"name": "Invite patients to a consultation"
},
"showNav": "true",
"showSearch": "false",
"primaryLinks": [
{
"url" : "#",
"label" : "Find a patient"
},
{
'url' : '#',
'label' : 'Consultation schedule'
},
{
'url' : '#',
'label' : 'Settings'
}
],
"secondaryLinks: [
{
'url' : '#',
'label' : '[email protected]'
},
{
'url' : '#',
'label' : 'Sign out'
}
]
}) }} AlternativeAlternatively, we could offer less flexibility, and the design system could advocate for a single option only (eg always having the account stuff above the line). Feedback welcome! |
@frankieroberto These look good, i prefer the options with the user name and actions like logout/signout in the main header container rather than in the navigation bar only because what if you ever need to add more navigation links and also if your users have a long name. And this is how it would look collapsed This does make the top part of the header container taller but also allows for more navigation items. Its not perfect but just thought i would share :) |
This is really interesting work - Kudos frankie and lasara-d (input). Personally i'm drawn to 'Below the line with search' as my preferred option. Reasoning
Goes without saying, just my opinion, nice work though guys! |
Current work in progress designs for this: nhsuk/nhsuk-frontend#983 Next steps:
|
We're still working on this, here's a summary:
Also prompted some related but potentially independent tasks and design tweaks: |
We're now tracking progress towards publishing here: nhsuk/nhsuk-service-manual#2069 Latest designs can be seen on this PR: nhsuk/nhsuk-frontend#1063 |
What
We’re looking at creating an additional NHSUK header style for the PIMS replacement profile editing app.
Why
The thinking is it will help users (profile editors, comment responders & managers) to more easily distinguish public facing pages from ‘behind the scenes’ admin pages on NHSUK.
Anything else
The idea and design also stems from the work HMRC have done on their 'Application' header:
Main page
https://design.tax.service.gov.uk/hmrc-design-patterns/account-header/
Example
https://design.tax.service.gov.uk/examples/account-header/example/
Here are a couple of mockups for the NHSUK App Header:
We’re currently putting the prototype together with a view to first round of testing early to mid Jan.
I've not found anything else similar but if I've missed a posted issue or anyone else is working on something similar but not added it yet, it would be great to hear from you.
The text was updated successfully, but these errors were encountered: