willowtreeapps / willowtreeapps/vocable-android
Add "My Phrases" functionality to Android, to match iOS behaviour
Open
@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:
Acceptance Criteria
A user should be able to:
- Navigate to Keyboard.
- Type in a phrase.
- Tap a Star button.
- Navigate back to the "My Sayings" category and see the phrase they just starred.
Star Button
The Star button should have 3 states:
- When no characters are typed into the keyboard: grayed out, un-filled, and disabled
- When characters are typed into the keyboard: not-grayed-out, un-filled, and enabled
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.