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 typos #839

Merged
merged 6 commits into from
Feb 10, 2025
Merged

Fix typos #839

merged 6 commits into from
Feb 10, 2025

Conversation

szepeviktor
Copy link
Contributor

@szepeviktor szepeviktor commented Jan 3, 2025

Description of the Change

Introduce https://github.com/crate-ci/typos to ClassifAI.

@szepeviktor szepeviktor requested review from jeffpaul, dkotter and a team as code owners January 3, 2025 21:32
@szepeviktor szepeviktor changed the title Typos Fix typos Jan 3, 2025
.typos.toml Show resolved Hide resolved
.typos.toml Show resolved Hide resolved
.typos.toml Show resolved Hide resolved
.typos.toml Show resolved Hide resolved
@jeffpaul jeffpaul requested review from iamdharmesh and removed request for a team, dkotter and jeffpaul January 3, 2025 21:37
@jeffpaul jeffpaul added this to the 3.3.0 milestone Jan 3, 2025
@@ -458,7 +458,7 @@ public function render_meta_box( \WP_Post $post ) {
</label>
</p>

<div class="classifai-clasify-post-wrapper" style="display: none;">
<div class="classifai-classify-post-wrapper" style="display: none;">
Copy link
Collaborator

Choose a reason for hiding this comment

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

While this is a typo, because this is used as a class name, we'll need to decide if we want to leave this as-is, as others may be relying on this class for styling purposes and updating this will break things for them. Not overly concerned but something for us to consider

Copy link
Member

Choose a reason for hiding this comment

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

Just adding additional details here that this is used in the classic editor only.

@@ -513,7 +513,7 @@ document.addEventListener( 'DOMContentLoaded', function () {
if ( classifaiNLUCheckbox ) {
classifaiNLUCheckbox.addEventListener( 'change', function () {
const classifyButton = document.querySelector(
'.classifai-clasify-post-wrapper'
'.classifai-classify-post-wrapper'
Copy link
Collaborator

Choose a reason for hiding this comment

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

If we decide we don't want to change this class name (mentioned in another comment) we'll want to revert this change as well

Copy link
Member

@iamdharmesh iamdharmesh 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 all the help here @szepeviktor. LGTM. I have added GitHub Action workflow for the spelling check on PR.

@dkotter sending this to you for another review. Thanks.

@iamdharmesh iamdharmesh requested a review from dkotter February 10, 2025 07:05
@dkotter dkotter merged commit 477da51 into 10up:develop Feb 10, 2025
19 checks passed
@szepeviktor szepeviktor deleted the typos branch February 10, 2025 15:38
@szepeviktor
Copy link
Contributor Author

Glad to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants