what-to-cook/openspec/changes/archive/2026-11-16-wtc-32-mark-added-examples/design.md
Peppa d7efc86a47
All checks were successful
peppa/lint lint: success за 0с
peppa/test test: success за 0с
peppa/build build: success за 0с
ci / checks (pull_request) Successful in 4s
deploy / deploy (pull_request) Successful in 13s
WTC-32: пометить уже добавленные примеры блюд
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-16 06:36:29 +05:00

5 lines
397 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.

## Решения
- `exampleStates()` в logic.js возвращает фиксированные первые 4 блюда базы с рецептом и флаг `added`.
- Блок виден всегда; добавленный пример — `disabled` с текстом `exampleAdded`; все добавлены — текст `examplesAllAdded`.
- Тексты на ru/kk/en в i18n.js.