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

USWDS-Site Pattern pages: Fix broken federalist links found in language selector section. #2566

Merged
merged 6 commits into from
Apr 11, 2024

Conversation

mahoneycm
Copy link
Contributor

@mahoneycm mahoneycm commented Mar 27, 2024

Summary

Updates cloud pages links to match new pattern. This resolves broken links found on language selector previews.

Important

We need to update changelog dates before merge

Related issue

Closes #2558

Preview link

Two languages →

Three or more languages →

Selected multilingual content →

Problem statement

There are broken links on the “Select a language” pattern pages. This was caused due to the cloud pages url pattern changing from app.cloud.gov to sites.pages.cloud.gov.

Solution

Update links to match new pattern.

Testing and review

  1. Visit each of the “Select a language” pattern pages.
  2. Click the component preview photo.
  3. Confirm it loads the storybook preview of the component.
  4. Click the “Demo component name” button.
  5. Confirm it loads the storybook preview of the component.
  6. Confirm changelog is accurate and free of grammatical error.

Note

These pages are being ignored by html-proofer at this time. This is being explored further in #2169.

@mahoneycm mahoneycm marked this pull request as ready for review March 27, 2024 20:37
Copy link
Contributor

@amyleadem amyleadem left a comment

Choose a reason for hiding this comment

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

Thanks for jumping on this so quickly @mahoneycm. I added a comment about using federalist_base for these links. Let me know if you have questions!

_includes/patterns/selected-content.html Outdated Show resolved Hide resolved
Copy link
Contributor

@finekatie finekatie left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@sarah-sch sarah-sch left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link
Contributor

@amyleadem amyleadem left a comment

Choose a reason for hiding this comment

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

This looks good! Thanks @mahoneycm.

Note

I went ahead and pushed up a change to the changelogs that replaced affectsContent with affectsGuidance because the content tag is typically reserved for the content inside a component or pattern. Let me know if you have any questions!

@mejiaj

This comment was marked as resolved.

@mejiaj mejiaj merged commit dc39529 into main Apr 11, 2024
11 checks passed
@mejiaj mejiaj deleted the cm-fix-broken-federalist-links branch April 11, 2024 20:19
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.

USWDS-Site: Address broken federalist links on language patterns pages.
5 participants