willowtreeapps / willowtreeapps/vocable-android

Phrase Cell Constraint Issue on Main Screen

Open
#362 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
When there are a certain number of phrases displayed on the main screen, so that there is one additional phrase in the left hand column than the right, the phrase cell on the right's bottom constraint extends beyond the padding.

VocableAndroid_phraseCellContraints_NotAligned_for_threePhrases
MainScreenPhraseButtonMArgins

Steps to reproduce the behavior:

  1. Create a custom category
  2. Add 3 phrases to the custom category
  3. Open the category from w/in the Main Screen
  4. Note the cell size of the phrase in the right hand column

Expected behavior
The bottom constraint of the cell in the right hand column should match that of the one on the left so that the cell sizes match.

Actual Behavior
The bottom constraint of the cell in the right hand column extends just beyond the padding. So that the cell does not match the size of the others.

Device:

  • Device Type: Pixel 5 (emulator)
  • OS: Android 12

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.

Research direction

Reproduce the issue on the main screen by creating a custom category with three phrases on a Pixel 5 emulator running Android 12. Inspect the main-screen phrase-cell layout and its column constraints; done means the right and left cells have matching sizes and bottom padding.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.