alphagov / govuk-prototype-kit

Rapidly create HTML prototypes of GOV.UK services
https://prototype-kit.service.gov.uk
MIT License
305 stars 236 forks source link

Support GOV.UK Frontend v5 plugin #2293

Closed nataliecarey closed 1 year ago

nataliecarey commented 1 year ago

What

GOV.UK Frontend v5 changes must be handled by the Prototype Kit to prevent broken prototypes and support issues

A test version (or pre-release) will be ready for teams to test at the end of October 2023. This gives us an opportunity to receive feedback and make necessary changes before a full release. We expect that the full release will be ready between November and December 2023.

To reduce impact on the team, management and error pages should stay on GOV.UK Frontend v4 for now

We also have various package files using $legacy parameters now deprecated in GOV.UK Frontend v5. We should suppress these deprecation warnings until the following files can be updated:

Why

GOV.UK Frontend v5 is a breaking change due to:

  1. Compiled assets, fonts, views, scripts, stylesheets moving into child directory
  2. JavaScript includes switching from <script> to <script type="module">
  3. Legacy colour palette is now deprecated

The legacy palette was replaced in GOV.UK Frontend v3.0.0: https://designnotes.blog.gov.uk/2019/07/29/weve-updated-the-gov-uk-colours-and-font/

Who needs to work on this

Developers

Who needs to review this

Developers

Done when

colinrotherham commented 1 year ago

I've update the description to include all known remaining tasks

colinrotherham commented 1 year ago

Just an update to track progress a little better

The following changes were made by the Prototype Kit team:

With support fixes contributed by GOV.UK Frontend:

But with extra backwards compatibility considerations from GOV.UK Frontend too:

colinrotherham commented 1 year ago

I think this one is done now? Management pages will be updated in: