Skip to content

fix: show longer ingredient names in recipe ingredient cards#1103

Open
Percy2Live wants to merge 1 commit into
TomBursch:mainfrom
Percy2Live:fix/ingredient-card-name-truncation
Open

fix: show longer ingredient names in recipe ingredient cards#1103
Percy2Live wants to merge 1 commit into
TomBursch:mainfrom
Percy2Live:fix/ingredient-card-name-truncation

Conversation

@Percy2Live

Copy link
Copy Markdown

Problem

In the Android app, recipe ingredient cards currently truncate longer ingredient names after too little text. In some cases there is no way to see the full ingredient name from the recipe detail screen, which makes the ingredient ambiguous.

Example from a recipe ingredient grid:

  • HENGLEIN Mini-Knödel halb&hal...1 Packung
  • vegane Mini-Frikadellen (ca. ...1 Packung

Since the full name is not visible, it is unclear which exact product or ingredient is needed.

Fix

Increase maxLines for the title in SelectableButtonCard from 2 to 3, so longer ingredient names are fully visible in recipe ingredient cards without truncation. Also:

  • Wrap the title in a Tooltip so the full name is accessible on hover/long-press
  • Reduce description maxLines from 2 to 1 to give the title more vertical space within the square grid card

This makes the recipe overview more useful without requiring users to edit the recipe or guess the missing ingredient name.

Fixes #1102

Increase maxLines for the title in SelectableButtonCard from 2 to 3
so longer ingredient names are fully visible in recipe ingredient
cards without truncation. Also wrap the title in a Tooltip so the
full name is accessible on hover/long-press, and reduce description
maxLines to 1 to give the title more vertical space.

Fixes TomBursch#1102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Show longer ingredient names in recipe ingredient cards

1 participant