Open
Conversation
feat: implement automatic capitalization in collect elements - Add automatic first word capitalization for empty collect elements - Add sentence capitalization after punctuation marks (., ?, !) - Handle edge cases: multiple spaces, mixed case, non-alphabetic text - Integrate with all input methods: keyboard, symbols, predictions, live elements - Maintain compatibility with existing utterance logging system - Add comprehensive test suite with 15 test cases - Default behavior with no user configuration required Added a test file to this as its pretty complicated ..
|
🎉 Beta deployment successful! 🎉 You can view the changes in the live preview environment here: https://gridbeta-github.asterics-foundation.org/willwade/feat-capitalize-first-letter/pr |
Collaborator
Author
|
@ms-mialingvo can you test this - particularly with different languages! |
…t bar Apply existing applyAutoCapitalization when adding normal (image+label) elements If capitalization changes, push a shallow copy with fixedGrammarText; otherwise push original Keeps original grid labels unchanged; affects only collected rendering/speech Ensures first-word and post-punctuation capitalization work across keyboard, predictions, live, and symbols
|
🎉 Beta deployment successful! 🎉 You can view the changes in the live preview environment here: https://gridbeta-github.asterics-foundation.org/willwade/feat-capitalize-first-letter/pr |
- detect alphabetic characters with locale-aware Unicode helpers - ensure sentence capitalization walks code points instead of single bytes - add tests covering Polish ł/Ł to prevent regressions
|
🎉 Beta deployment successful! 🎉 You can view the changes in the live preview environment here: https://gridbeta-github.asterics-foundation.org/willwade/feat-capitalize-first-letter/pr |
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.
feat: implement automatic capitalization in collect elements (re: #400)
Added a test file to this as its pretty complicated ..