-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
feat(android/app): add auto-correct toggle #12203
Comments
With keyman/web/src/engine/osk/src/visualKeyboard.ts Lines 932 to 937 in 8376671
Note lines 935-937 there - that would have originally "turned off" fat-finger data when |
I think this can be closed (the may correct toggle is already in the Keyman for Android language settings). With the default sil_euro_latin keyboard on English, the toggle defaults to "on". After disabling the toggle, |
This is not the same thing. It believe it reasonable to want auto-correct disabled while still allowing for corrections to be presented as options. |
So what's the corresponding KeymanWeb call to this auto-correct toggle? |
It doesn't exist yet, but it's not too tricky to handle. On the suggestions returned by the worker, the suggestion to auto-select for auto-correction is annotated with property keyman/web/src/engine/interfaces/src/prediction/predictionContext.ts Lines 321 to 323 in 89d65ad
The first suggestion with that set to From there, the question is what API to provide from Web to allow host apps to toggle that |
Since Keyman Engine for Android is currently toggling: Could we just add one more for |
A slider so it's only one setting? no predictive text | offer predictions only | offer corrections too | auto-correct |
Does this mean we change the public API from two separate toggles into a single enum? Or does the slider correspond to 3 separate toggles internally? (prediction, correction, auto-correct) |
Some design discussion needed? |
Decisions from A18S10 Design Meeting
DW to do work on Android (both FV + KM) |
Remaining TODOs (may get split to separate PRs)
The Android radio button layout didn't allow for additional description info |
From A18S14 sprint planning meeting, we'll defer this till A18S19 when @jahorton returns and can finalize the API involved |
Is your feature request related to a problem? Please describe.
Now that we support auto-correct, it'd be wise to add a toggle allowing users to disable it if desired.
It may be best to make this a language-specific setting, right alongside the other enable/disable toggles.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Related issues
No response
Keyman apps
Keyman version
No response
Operating system
No response
Device
No response
Target application
No response
Browser
No response
Keyboard name
No response
Keyboard version
No response
Language name
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: