what-to-cook/openspec/changes/archive/2026-11-16-wtc-27-more-examples/design.md
2026-11-16 06:30:06 +05:00

4 lines
395 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Решения
- `recipeExamples(dishes, catalog, findRecipe, limit=4)` в logic.js вместо одного `recipeExample`; кнопки строятся в `#examples`, клик — делегированием.
- Условие показа прежнее: пока в списке нет блюда с кнопкой «Рецепт». Подпись — i18n `examplesNote` (ru/kk/en).