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

Fix publication external links #3160

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

andysellick
Copy link
Contributor

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

What

  • some attachments are simply links to another website
  • for these we need to identify the type as 'external' and pass the right option to the attachment component
  • added test for this

Why

Pages like this were showing external links as HTML attachments: https://www.gov.uk/government/publications/national-risk-register-2023

Visual changes

External links should now look like this:

Screenshot 2024-04-18 at 14 52 54

Trello card: https://trello.com/c/tcTN1jbu/28-update-rendering-of-govspeak-attachments

- some attachments are simply links to another website
- for these we need to identify the type as 'external' and pass the right option to the attachment component
- added test for this
@andysellick andysellick requested a review from KludgeKML April 18, 2024 13:54
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3160 April 18, 2024 13:54 Inactive
Copy link
Contributor

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

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

LGTM

@andysellick andysellick merged commit 5ed16ed into main Apr 18, 2024
16 checks passed
@andysellick andysellick deleted the fix-publication-externallinks branch April 18, 2024 13:59
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.

3 participants