Skip to content
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

[Annotation] Show case annotations after a user types a preposition #275

Open
2 tasks done
andrewtavis opened this issue Dec 15, 2024 · 0 comments
Open
2 tasks done
Labels
blocked Another issue is blocking feature New feature or request help wanted Extra attention is needed

Comments

@andrewtavis
Copy link
Member

andrewtavis commented Dec 15, 2024

Terms

Description

This issue is the first to complete the case declension functionality within Scribe keyboards, which currently is a feature for German and Russian keyboards, but will be needed for others in the future. In these languages, after a preposition the speaker then needs to be using a new case such as accusative, dative, genitive and many others. An example of this in English is With "whom" are you going to the library? "With" puts us in a different case (no idea if this is defined for English, but for German it would be dative). In Scribe keyboards we thus show the case that would follow each preposition after the user types one.

The functionality for this feature is:

  • The user types a preposition
  • The user presses space
  • The first autosuggestion key is replaced with an annotation in the style that will be developed in [Annotation] Style first autosuggestion button based on the gender of a word typed #135
    • The key is black for light mode and white for light mode with the opposite color for text
    • The key should be styled as below (rectangular with rounded corners and a shadow to make it clear it's a button)
  • If there is more than one case that possibly follows a preposition, then all are shown on the annotation

An example for the German Scribe keyboard is (The German for "with", "mit", is dative case):

Simulator Screenshot - iPhone 16 Pro - 2024-12-15 at 20 36 01

Contribution

Happy to assist with this and review once a PR is up! 🚀

@andrewtavis andrewtavis added feature New feature or request help wanted Extra attention is needed blocked Another issue is blocking labels Dec 15, 2024
@andrewtavis andrewtavis changed the title Show case annotations after a user types a preposition [Annotation] Show case annotations after a user types a preposition Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Another issue is blocking feature New feature or request help wanted Extra attention is needed
Projects
Status: Todo
Development

No branches or pull requests

1 participant