alphagov / govuk-browser-extension

Chrome and Firefox extension for developers working on GOV.UK.
22 stars 5 forks source link

Fixes link to content item (JSON) when viewing draft content #136

Closed ChrisBAshton closed 4 years ago

ChrisBAshton commented 4 years ago

I was previewing a piece of content on the draft stack when I used the extension to view the content item. I was confused that this took me to the live content item on GOV.UK, rather than the content item on integration that I wanted.

Now if you're on: https://draft-origin.integration.publishing.service.gov.uk/guidance/check-if-your-organisation-can-get-a-govuk-domain-name

And you click 'Content item (JSON)'

Instead of https://www.gov.uk/api/content/guidance/check-if-your-organisation-can-get-a-govuk-domain-name

You're taken to: https://draft-origin.integration.publishing.service.gov.uk/api/content/guidance/check-if-your-organisation-can-get-a-govuk-domain-name