Skip to content

USWDS: Fix typos #6251

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

Merged
merged 1 commit into from
Jan 23, 2025
Merged

USWDS: Fix typos #6251

merged 1 commit into from
Jan 23, 2025

Conversation

szepeviktor
Copy link
Contributor

Summary

Found few misspellings.

Breaking change

I do not recognize one.

Solution

https://github.com/crate-ci/typos

@szepeviktor szepeviktor requested a review from a team as a code owner December 12, 2024 10:12
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.

Looks good to me. Thanks for this contribution @szepeviktor!

Copy link
Contributor

Choose a reason for hiding this comment

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

Note

I confirmed that the file names for these have the correct spelling, so no update is needed on the file names themselves:

It isn't immediately clear to me what this index file is used for, but given that the forwards are currently misspelled, we might not need this file. Something to consider as a follow-on.

Copy link
Contributor

Choose a reason for hiding this comment

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

Odd that the misspellings weren't breaking anything.. should we open a new issue to investigate this file?

Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is in the utilities directory, I'm wondering if these are used by utilities that are not output by default. We might find something helpful in _settings-utilities.scss

@@ -35,7 +35,7 @@ function buildFileObj(dir, file, dataFile){

function buildModifierData(dataSource) {
const regexDashes = /--([\s\S]*)$/
const regexTilda = /~([\s\S]*)$/
const regexTilde = /~([\s\S]*)$/
Copy link
Contributor

Choose a reason for hiding this comment

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

Note

Confirmed that all references to regexTilda in this file have been updated to regexTilde.

@@ -65,7 +65,7 @@
are, your goal or mission, and how you approach it. Use this section to encourage them to act. Describe why they
should get in touch here, and use an active verb on the button below. “Get in touch,” “Learn more,” and so on.
</p>
<a class="usa-button usa-button--big" href="{{ placholder_link }}">Call to action</a>
<a class="usa-button usa-button--big" href="{{ placeholder_link }}">Call to action</a>
Copy link
Contributor

Choose a reason for hiding this comment

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

Note

Neither placeholder_link nor placholder_link are defined in the usa-landing directory. I don't consider this to be a blocker for this PR, so I have opened issue #6277 to fix this.

@@ -24,7 +24,7 @@
<p>
<a
class="{{ settings[lang].cta.type | default(button_defaults) }}"
href="{{ placholder_link }}">
href="{{ placeholder_link }}">
Copy link
Contributor

Choose a reason for hiding this comment

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

Note

Same comment as above. Neither placeholder_link nor placholder_link are defined. I don't consider this to be a blocker for this PR, so I have opened issue #6277 to fix this.

@szepeviktor
Copy link
Contributor Author

Glad to contribute.

Copy link

@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.

Following your lead on these, @amyleadem - looks good to me.

Copy link
Contributor

@mandylloyd mandylloyd left a comment

Choose a reason for hiding this comment

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

Confirmed no regressions! lgtm

Copy link
Contributor

@heymatthenry heymatthenry left a comment

Choose a reason for hiding this comment

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

Thanks, Viktor!

Copy link
Contributor

@mahoneycm mahoneycm left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @szepeviktor 🥳

Copy link
Contributor

Choose a reason for hiding this comment

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

Since this is in the utilities directory, I'm wondering if these are used by utilities that are not output by default. We might find something helpful in _settings-utilities.scss

@amyleadem
Copy link
Contributor

amyleadem commented Jan 7, 2025

@szepeviktor,
For security reasons, USWDS now requires that all commits to this repo have a verified signature. Your commits are registering as unverified, so we will need you to complete the following steps before this contribution can be merged:

  1. Set up signature verification in GitHub. Use one of the following GitHub guides to set up your verification signature:

  2. Rebase your commits with your verified signature. Once your signature is set up, complete the following steps in the terminal to update the verification status of your previous commits:

    git checkout branch-name
    git rebase origin/main
    git push --force-with-lease
    

Thanks again for your contribution. Please let us know if you have any questions or if we can help in any way.

@szepeviktor
Copy link
Contributor Author

@amyleadem Voilà! Your dream just came true.

@amyleadem
Copy link
Contributor

@szepeviktor Thank you for fixing that so quickly!

Comment on lines +1 to +5
@forward "color-palettes";
@forward "default-palettes";
@forward "font-palettes";
@forward "palette-registry";
@forward "spacing-palletes";
@forward "spacing-palettes";
Copy link
Contributor

Choose a reason for hiding this comment

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

This index file appears to be here only as a formality and for consistency with other directories of Sass files. It is not referenced in the codebase. I was concerned that this might be a breaking change, but it appears not

@thisisdano thisisdano merged commit a13eec6 into uswds:develop Jan 23, 2025
2 checks passed
@szepeviktor szepeviktor deleted the typos branch January 23, 2025 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants