Repository navigation
USWDS - Remove id from site title - #5319
Merged
Merged
Conversation
mejiaj
approved these changes
Jun 6, 2023
mejiaj
left a comment
Contributor
There was a problem hiding this comment.
Looks good, I tested:
- Output HTML from
npm run build:html - StorybookJS components (headers, site title, and nav partial).
mahoneycm
approved these changes
Jun 6, 2023
mahoneycm
left a comment
Contributor
There was a problem hiding this comment.
lgtm!
- Confirmed ID has been removed
- Confirmed correct title is displaying in storybook as well as html templates after
build:html - Confirmed USWDS is not referencing the ID in any existing code.
Contributor
Author
|
@thisisdano This PR was originally intended to be merged into #5311 so it does not have its own issue. #5311 has already been merged into |
23 of 24 tasks
thisisdano
approved these changes
Jun 8, 2023
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
site_titlecontent during the HTML build process. The site title appeared with the accurate value in Storybook, but showed the defaultHomevalue in the html files.idattribute from theusa-logoelement. Thisidrequired maintenance of multiple lines of JSON but did not seem to serve a clear purpose.Related PR
This was originally intended to be merged into #5311.
Preview link
Related PR
Changelog PR: uswds/uswds-site#2124
Testing and review
<Project title>for both Storybook and the following files inhtml-templates: