willowtreeapps / willowtreeapps/vocable-android

Add "My Phrases" functionality to Android, to match iOS behaviour

Open
#445 0 comments 0 reactions 1 assignee View on GitHub

@cinadia is already working on this.

Since May 23, 2024.

enhancement
Dominant language
Kotlin
Stars
127
Forks
21
Avg merge
16m
Merged PRs (30d)
4

Description

Describe the Enhancement
As a Vocable Android User, I want to be able to hit a "Star" button on the keyboard to save a custom phrase I just typed to a new category called "My Sayings". This category should only consist of phrases that I've saved using the "Star" button on the keyboard.

This functionality should match the iOS functionality shown below:

https://github.com/willowtreeapps/vocable-android/assets/73308097/571be943-bba8-4404-91ab-21f7a2b1b8b0

Acceptance Criteria
A user should be able to:

  1. Navigate to Keyboard.
  2. Type in a phrase.
  3. Tap a Star button.
  4. Navigate back to the "My Sayings" category and see the phrase they just starred.

Star Button
The Star button should have 3 states:

  1. When no characters are typed into the keyboard: grayed out, un-filled, and disabled
  2. When characters are typed into the keyboard: not-grayed-out, un-filled, and enabled
  3. When the star is tapped in the enabled state: not-grayed-out, filled, and enabled
  • When the star is tapped, it should stay filled until either the user changes the keyboard string or taps the star again.
  • If the star is tapped and then un-tapped while the keyboard phrase stays the same, the current phrase should be added, and then removed, from the "My Sayings" category respectively

** My Sayings Category**

  • Behaves exactly like a Preset category, except it can't be hidden ("Show Category" toggle is disabled), and it cannot be removed ("remove Category" button is disabled)

When in doubt, check out the iOS behaviour!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.