alphagov / govuk-design-system

One place for service teams to find styles, components and patterns for designing government services.

Home Page:https://www.gov.uk/design-system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Organise and chat with One Login developers (week 1)

CharlotteDowns opened this issue · comments

What

Have conversation, document actions and next steps for integrating a One Login component into the work on Navigation.

Why

To allow both sets of users to have a consistent experience across services.

Done whens

commented

We've had a meeting, but One Login have asked for more time to mull over their options before deciding on a direction.

Notes from the call on 21 June 2024

The way forward we got to is that we show a visual example of One Login in the black header to the Help users to navigate a service pattern. We provide a contact to their team (similarly to the Step-by-step navigation pattern) for implementation.

Meanwhile we share with them our npm preview branch and pull request code so they can work out how to use our slots with their custom css, js and form work that underpins the component they have.

We also mentioned we'd like them to update their guidance to include that the Service name should be a link.

From the technical perspective, this sounds like they're happy to use the slot and we won't need to include any code specific to One Login in govuk-frontend.

(This is good because they're going to be changing the HTML structure for the One Login elements soon, which otherwise would have been a blocker for us.)

Rather than having service teams use the slot directly, however, their plan is to create a package that inherits govuk-frontend and uses our Header and Service Header components; and injects their code into the slot at that point, as well as requisite CSS/JS.

Service teams would install the One Login Header as an npm package and use it in place of the DS Header.

Further conversation after the call 21 June 2024

They think they should actually think through the options in some more detail. They may need to revisit the broad decision made on that call

(waiting to hear back on updates)

Checked in with One Login this morning, I've sent them a copy of our current guidance and how we are speaking about using their component.

Here's what the current guidance looks like, we reference the One Login header under ## Plan your GOV.UK header

The GOV.UK header component should only be used to show the GOV.UK logo and any GOV.UK-wide tools used in your service, such as GOV.UK One Login.

Also see GOV.UK One Login guidance to Let users navigate to their GOV.UK One Login and sign out easily.

Services do not need to duplicate the menu bar used in the GOV.UK homepage and mainstream guidance pages.

A meeting has been scheduled for 16/07/2024. In retro 09/07/2024 we suggested detaching One Login involvement as a dependency to our work in order to remain agile.