Skip to content
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

Add govuk-frontend checking to the component auditing #4058

Merged
merged 3 commits into from
Jun 13, 2024

Conversation

andysellick
Copy link
Contributor

@andysellick andysellick commented Jun 12, 2024

What

Expand the component auditing to check components for the presence of govuk-frontend JS and CSS imports i.e. to show which components directly use assets from govuk-frontend.

Why

This was a feature previously raised by @patrickpatrickpatrick in #3716 as something that would be useful as we move to using govuk-frontend v5 and the ES6 code additions that this includes. I've changed where the information is shown and expanded to include both JS and CSS.

Visual Changes

Now includes the two 'GF' columns.

Screenshot 2024-06-13 at 09 14 24

- now checks components for the presence of govuk-frontend JS and CSS imports
- reorder the columns on the component contents section to be more logical
- add title text to the table headers and table contents to clarify their meaning
- add explanation at the top of the table
@andysellick andysellick force-pushed the auditing-govukfrontend branch from 106d4af to bcf555e Compare June 13, 2024 08:13
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4058 June 13, 2024 08:13 Inactive
@andysellick andysellick marked this pull request as ready for review June 13, 2024 08:14
Copy link
Contributor

@AshGDS AshGDS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, LGTM 👍

@MartinJJones
Copy link
Contributor

Looks good to me, think the version number may need to be updated in the change log though

@andysellick andysellick force-pushed the auditing-govukfrontend branch from bcf555e to b54458d Compare June 13, 2024 08:59
@govuk-ci govuk-ci temporarily deployed to components-gem-pr-4058 June 13, 2024 08:59 Inactive
@andysellick andysellick merged commit 97aed3d into main Jun 13, 2024
11 checks passed
@andysellick andysellick deleted the auditing-govukfrontend branch June 13, 2024 10:11
@MartinJJones MartinJJones mentioned this pull request Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants