Skip to content

Meal review: a text field for the name, roomier number fields - #16

Merged
gabrielbr merged 1 commit into
mainfrom
ccr-67ccb970-dqwwqd
Oct 20, 2026
Merged

gabrielbr merged 1 commit into
mainfrom
ccr-67ccb970-dqwwqd

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

The AI meal review built every row with one helper that used a number keyboard and a 140dp field, so the meal name could only be typed with digits.

Meal review

  • Name: full-width text field that wraps to three lines.
  • Calories: full-width field.
  • Protein / carbs / fat: side by side.
  • Number fields: label and unit sit inside the field, the keyboard is decimal, and input is filtered to digits plus one decimal point (comma accepted).
  • Keyboard: the form lifts above it.

Manual "Log meal" dialog

  • Gets the decimal keyboard.
  • The name wraps.

CI green on 2c17125.


Generated by Claude Code

After a photo was analysed, the review form built every row with one
helper that set a number keyboard and a 140dp field, so the meal name
could only be typed with digits and every field was cramped.

- Name: full-width text field (sentence capitalisation, wraps to three
  lines).
- Calories full width; protein, carbs and fat side by side; each with
  its label and unit inside the field, a decimal keyboard, and input
  filtered to digits and one decimal point (comma accepted).
- The form lifts above the keyboard.
- The manual "Log meal" dialog's numbers get a decimal keyboard too,
  and its name field wraps.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit c989d63 into main Oct 20, 2026
2 checks passed
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.

2 participants