-
Notifications
You must be signed in to change notification settings - Fork 85
Closed
Labels
help wantedExtra attention is neededExtra attention is needed
Description
Terms
- I have searched open and closed feature requests
- I agree to follow Scribe-Android's Code of Conduct
Description
This issue would add the invalid input functionality to Scribe-Android keyboards. In Scribe-iOS, when a user tries to execute a command on a word that's not a valid value in the given database, the localized version of the string Not in Wikidata
is displayed to the user on the command bar.
- Note that this issue is blocked by either [Plural] Insert noun plural when a user enters a noun into plural command and hits enter #272 or [Translation] Return translation based on an entered value and pressing the return key in Translate Mode #266
A screenshot of this in Scribe-iOS is seen below:
The functionality is:
- The user selects the Scribe key
- The user selects a command like
Plural
that will be made in [Plural] Insert noun plural when a user enters a noun into plural command and hits enter #272 orTranslate
in [Translation] Return translation based on an entered value and pressing the return key in Translate Mode #266 - The user enters a word that's not in the given nouns or translations tables like
ANY_BUNCH_OF_RANDOM_LETTERS
- The user hits the enter (return) key to execute the command
- The command bar shows
Not in Wikidata
in the keyboard language- The current keyboard state is
invalid
- The Scribe key is returned to it's base state so that the command can be tried again
- If the user starts typing again, then the command bar disappears and autocompletions are shown (i.e. keyboard state is
idle
)
- The current keyboard state is
Note
The invalid state messages can be found in the interface files in the language directories of app/src/main/java/be/scri/helpers.
Contribution
Happy to discuss this and review when a PR is open! 🚀
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed
Type
Projects
Status
Done