Feature #29
closedEpic #20: Client design adaptation
Adapt Recipes to the compact List layout
0%
Description
Imported from GitHub issue 271.
Source milestone: Redesign (milestone 3).
Source labels: enhancement, ready-for-agent.
Original state: closed.
What to build¶
Type: AFK
Deliver the fixed compact Recipes List presentation, replacing the current large-card presentation. Recipes has no display-mode switch and no tile/grid alternative in this scope.
Sources: registered Recipes, Premium Recipes.
Use only the Design and Design tokens pages of https://www.figma.com/design/yisgB7iNKYtjNZdogARGIN/Bebin-prvi-meni. Exclude the reference-app page from inspection, implementation decisions and verification. Reuse existing theme, typography, pressables, access gating and localisation. Read the required Expo 57 documentation before coding. Coordinate with the related filtering issue without duplicating its toolbar, draft state or count work.
Related filtering work: GitHub 267. Coordinate changes to shared catalogue surfaces; this is not a hard prerequisite.
Acceptance criteria¶
- Recipe rows show a small thumbnail/fallback, title, localized meal-category information when present, and dividers matching the permitted Figma design.
- Show a lock badge only when locked for the current viewer, preserving existing detail/authentication/upgrade navigation and context on return.
- Preserve content order, search/filter results and incremental loading. Missing category/age metadata does not remove otherwise matching recipes.
- Category labels use canonical recipe classifications and existing localized display resolution, including multiple assignments where present.
- Do not infer or synthesise a food-name subtitle from the illustrative Figma examples; retain the established content contract and use meal-category information for this slice.
- Integrate with the Recipes filtering toolbar without adding another control or resetting applied filters on presentation updates.
- Tests cover row metadata/fallbacks, viewer-dependent locks, navigation context and incremental loading.
- Fixed copy is complete in Serbian Latin and English; admin-managed labels use existing localisation fallback rules.
- Missing images and optional metadata have appropriate existing fallbacks; long titles and larger text remain readable and controls have accessible names/states.
- Focused behaviour tests pass, along with client tests, lint and typecheck.
- Verify on the ADB-connected Android device and attach comparison evidence against permitted Figma screens, including locked/unlocked content, both locales, empty results, pagination and navigation return.
Blocked by¶
None - can start immediately.
Acceptance verification¶
All 11 criteria verified against implementation/evidence snapshot 2348d19 on codex/issue-271-compact-recipes (23 October 2026). This records acceptance verification, not a merge or release.
- Complete criterion audit and permitted Figma comparisons.
- Actual Recipes-screen ADB follow-up for criteria 2 and 11, including screenshots, native UI hierarchies, trace logs, a machine-checked summary and reproducible temporary instrumentation.
- Guest sign-in cancellation, free-viewer upgrade cancellation and accessible detail return preserve the active search/category/age/food context, loaded second page and exact visible row positions.
- Actual Recipes-screen result pagination progresses through 12 → 24 → 36 → 43 ordered unique records and exhausts its cursor. Locked/unlocked rows, both locales and empty results are recorded.
- The actual screen/repository/cache/navigation were exercised with controlled public-store inputs and viewer-hook values; these are not real guest/free account sessions or a Firestore network test. No staging/account/subscription records were changed. Temporary wiring was removed and normal staging behaviour restored.
- Final client checks: 494 tests in 66 files, lint and typecheck passed; evidence verifier, instrumentation replay check and branch diff whitespace check passed.
No data to display