Skip to content

Invalid state icon should only be shown on command bar after an invalid input #497

@andrewtavis

Description

@andrewtavis

Terms

Description

In #482 we finalized the invalid state controls that explain to the user why Scribe-Android might not have data and gives context on Wikidata. This can be seen via:

  • Clicking the top left Scribe key on a keyboard
  • Selecting a command
  • There's now an information icon that's present on the right of the command bar
    • The user can click this icon now to see the information on Wikidata and cancel the view to return to the keyboard
  • The user can also enter in text that's not in the database tables and execute the command
    • So in any keyboard, select translate and enter asdfghjkl; or any other random string
    • Press the enter key to execute the command
    • The "Not in Wikidata" text will be shown with the word that was entered

Ideally the second way above where the user enters an invalid input would be the only way that the information icon is shown. Without this, the user might click this icon for information about how a command works in their first interactions, whereas the placeholder text and simple UI for command should make it clear to the user what they should do.

Contribution

Happy to support the work here and review a PR as needed! 😊

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions