Scribe-Android icon indicating copy to clipboard operation
Scribe-Android copied to clipboard

Add information icon to invalid state interface and info about Wikidata

Open andrewtavis opened this issue 1 year ago • 0 comments

Terms

Description

This issue would add in the information icon that's used to explain Wikidata to users within the keyboard when an invalid state has been triggered.

  • Note that this issue is blocked by #273 where the invalid state will be added in and #267 where the 1x1 view will be added to the keyboard

The functionality is:

  • The user selects the Scribe key
  • The user selects a command like Plural that will be made in #272 or Translate in #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 user sees an information icon to the right of the command bar (see image below)

Simulator Screenshot - iPhone 16 Pro - 2024-12-15 at 19 26 25

  • The user selects the information icon and is shown the 1x1 view with information about Wikidata as shown below

Simulator Screenshot - iPhone 16 Pro - 2024-12-15 at 19 36 09

  • The information on Wikidata should be presented in the language of the menu that the user has selected
  • The 1x1 view has indicators of which page of the information the user is on
  • The 1x1 view can be cycled with the left and right buttons
  • The user returns to the idle state when pressing the Scribe key that's in exit form

[!NOTE] The information on Wikidata 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 a PR once one's open! 🚀

andrewtavis avatar Dec 15 '24 18:12 andrewtavis