govuk-one-login / service-header

A header for services using GOV.UK One Login
https://govuk-one-login.github.io/service-header/
6 stars 4 forks source link

Support overwriting sign out link when using pre-built layout template for Prototype Kit #41

Closed danacotoran closed 4 months ago

danacotoran commented 4 months ago

1. Support over-writing the default href of the Sign out link when using the "Page with GOVUK One Login header" template for the prototype kit.

The value of this link can be over ruled by passing a custom signOutLink value into the govukOneLoginServiceHeader macro so users importing the macro directly would be able to set a custom value this way.

However, users using the pre-built template are unable to set a custom signOutLink currently. This update should fix that.

2. Add CHANGELOG Even though the header is not yet distributed via a package manager, versioning the header is still valuable for prototype kit users relying on the header as a PK plugin. For these users to receive the newest updates and bug fixes, the version of the package must be updated. Additionally, keeping a log is a good idea for visibility in general.

3. Add instructions on updating the header package for Prototype Kit users ... although it's not really PK specific, it's more "if you've installed the header from GH using npm" but that's something we only really recommend for PK users for now