mitbringsl/android
Tronax 37cbb816e5
Feature: Bring-style emoji & category icons for items
Every shopping item now gets a visual like in Bring: a product emoji on
a softly tinted category tile.

- ItemVisuals.kt: pure client-side classifier. German dictionary
  (~180 entries) maps item names to emoji + one of 13 categories
  (produce, drinks, bakery, dairy, meat&fish, frozen, pantry, sweets,
  household, drugstore, baby, pet, other), each with an accent color.
  Longest-keyword-first matching so compounds resolve to their most
  specific entry (Wassermelone is produce, not a drink); juice
  compounds (Apfelsaft, Orangensaft, ...) are listed explicitly because
  their fruit prefix is longer than 'saft'. Unknown items fall back to
  the generic cart on neutral grey. Works fully offline, nothing leaves
  the device.
- ListDetailScreen: emoji tile in every item row, emoji in the
  autocomplete suggestions dropdown, and a live emoji preview as the
  text field's leading icon while typing.
- ItemVisualsTest: longest-match priority, case/whitespace
  insensitivity, fallbacks, category coverage.

Verified: assembleDebug + unit tests green (JDK 21).
2026-08-22 10:16:37 +02:00
..
app Feature: Bring-style emoji & category icons for items 2026-08-22 10:16:37 +02:00
gradle Build: make Android build work behind restrictive proxies 2026-08-06 11:43:03 +02:00
.gitignore Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
build.gradle.kts Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
gradle.properties Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
gradlew Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
gradlew.bat Android Phase D: Project foundation, Room DB, Retrofit API, Hilt 2026-08-05 20:09:34 +02:00
settings.gradle.kts Build: make Android build work behind restrictive proxies 2026-08-06 11:43:03 +02:00