Skip to content

Phase 1.2: Redesign the Restaurant screen#5

Merged
LeoColman merged 2 commits into
mainfrom
feat/improve-restaurant-screen
Jun 30, 2026
Merged

Phase 1.2: Redesign the Restaurant screen#5
LeoColman merged 2 commits into
mainfrom
feat/improve-restaurant-screen

Conversation

@LeoColman

Copy link
Copy Markdown
Member

Replaces the debug-style text dump on the Restaurant screen with a clean, glanceable menu.

What changed

  • One Card per period (Almoço / Jantar) with a calories badge and labeled sections (prato principal, opção vegetariana, sobremesa, acompanhamentos).
  • Each item shows its food group + preparation as color-coded Eco-RU chips — green = good score, amber = ok, red = poor — so the rating is readable at a glance.
  • Humanized enum labels (AoMolhoLeve → "Ao Molho Leve"), periods and the drawer entry localized to pt-BR.
  • Split the day-of-week enum and menu-formatting helpers into their own files; added a unit test for humanize.

Behavior (restaurant/day selection, live menu fetch) is unchanged — this is a presentation refactor on top of the existing RestaurantViewModel.

Screenshot

Validation

  • spotlessCheck + detekt + testUnofficialDebugUnitTest green locally.
  • Verified on a Pixel_9a emulator (screenshot above).

🤖 Generated with Claude Code

https://claude.ai/code/session_01X5cqJDzZvxqTxMTWcN2jvm

LeoColman and others added 2 commits June 30, 2026 17:03
Replace the debug-style text dump with a clean menu UI:
- One Card per period (Almoço/Jantar) with a calories badge and labeled
  sections (prato principal, opção vegetariana, sobremesa, acompanhamentos).
- Each item shows its food group and preparation as color-coded Eco-RU chips
  (green = good score, amber = ok, red = poor), making the rating glanceable.
- Humanize enum labels (AoMolhoLeve -> "Ao Molho Leve") and localize periods
  and the drawer entry to pt-BR.
- Split the day-of-week enum and the menu-formatting helpers into their own
  files; unit-test humanize.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X5cqJDzZvxqTxMTWcN2jvm
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01X5cqJDzZvxqTxMTWcN2jvm
@LeoColman LeoColman merged commit 99dbb0b into main Jun 30, 2026
10 checks passed
@LeoColman LeoColman deleted the feat/improve-restaurant-screen branch June 30, 2026 20:10
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.

1 participant