-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix typos and improve documentation across various files #8230
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
base: main
Are you sure you want to change the base?
Conversation
- Fixed typo in CHANGELOG.md for Android and CLI regarding Typescript upgrade commit hash. - Corrected variable name from 'statememt' to 'statement' in MockCordovaWebViewImpl.java. - Updated comments and documentation in multiple files to fix spelling errors and improve clarity. - Changed 'overridenUserAgentString' to 'overriddenUserAgentString' in various iOS files for consistency. - Fixed minor typos in HttpRequestHandler.swift and WebViewDelegationHandler.swift. - Corrected test method names in BridgedTypesTests.swift and ConfigurationTests.swift for accuracy.
|
This is kinda neat - let me look into it. some issues.
|
markemer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SHA changes need a revert to start.
|
@markemer i will revert and add .typo.toml to ensure it doesn't do this |
Reverts the commit hash changes in CHANGELOG files where typos CLI incorrectly modified git commit hashes (e.g., 88d0ded -> 88d0dead). All other legitimate typo fixes from the previous commit are preserved. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Add .typos.toml to prevent typos CLI from incorrectly modifying git commit hashes in CHANGELOG files while still checking for legitimate typos. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
|
Hey @markemer we should be all good now do you want i merge the github action check in this one as well ? |
That one is a bigger deal - but this one should be an easy sell. |
|
The GitHub workflow was made only in the doc repo as PR ionic-team/capacitor-docs#481 |
.typos.toml
Outdated
| "ios/Capacitor/Capacitor.xcodeproj/xcshareddata/xcschemes/*.xcscheme", | ||
| "ios-pods-template/**/*.storyboard", | ||
| "ios-spm-template/**/*.storyboard", | ||
| "ios/Capacitor/TestsHostApp/**/*.storyboard", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should exclude CHANGELOG.md so we don't modify any historical context, even if it has typos, IMO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went back and forth on that. Probably ok, but yeah, we should probably exempt them, also would save us the SHA headache.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wasn't sure i will update PR
| "tgz": "application/x-compressed", | ||
| "thmx": "application/vnd.ms-officetheme", | ||
| "thn": "application/octet-stream", | ||
| "then": "application/octet-stream", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should remain thn I believe.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep - I found that one too.
| "tgz": "application/x-compressed", | ||
| "thmx": "application/vnd.ms-officetheme", | ||
| "thn": "application/octet-stream", | ||
| "then": "application/octet-stream", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Caught another one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment was accidentally left here, please ignore.
…files - Reverts "thn" (Thompson thumbnail format) back from incorrect "then" change - Adds "thn" to typos config to prevent future false positives - Excludes all CHANGELOG files from typos checking - Excludes Xcode project files (pbxproj, xcscheme, storyboard) that contain hex identifiers that should never be modified 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
Corrected multiple typos and enhanced clarity in documentation throughout the codebase, ensuring consistency in variable names and comments.
I used typos-cli command to fix them and double checked by hands all was done properly