alphagov / government-frontend

Serves government pages on GOV.UK
https://docs.publishing.service.gov.uk/apps/government-frontend.html
MIT License
52 stars 17 forks source link

Remove publisher metadata component #3190

Closed andysellick closed 4 months ago

andysellick commented 4 months ago

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What / why

Remove the 'published metadata' component: https://govuk-government-frontend.herokuapp.com/component-guide/publisher_metadata

Visual changes

None. This is what the component looks like (for some reason styles don't work properly for it in the government-frontend component guide).

Screenshot 2024-05-17 at 14 20 15

kevindew commented 4 months ago

Nice work @andysellick I think you also have phrases in the locale files to remove for this (I searched for publisher_metadata)

There is also this line to adjust: https://github.com/alphagov/government-frontend/blob/882723a158ab355d9f65fdf21783e33f14d1a384/app/views/components/docs/important_metadata.yml#L4

I think other search matches to publisher_metadata were unrelated.

andysellick commented 4 months ago

Thanks @kevindew have updated 👍