dika/openspec/changes/dik-73-card-offer/tasks.md

9 lines
680 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.

## 1. Карточка
- [x] 1.1 Чистая функция offerLines (цена, затем акция; без пустых строк) — public/card-offer.js
- [x] 1.2 Блок .offers сразу под описанием, источники и дата проверки ниже — public/app.js
- [x] 1.3 Значки 🍽/🏷 у строк без цены/акции, стили блока — public/index.html
## 2. Проверки
- [x] 2.1 Тесты по сценариям — test/card-offer.test.js; client.test.js читает card-offer.js
- [x] 2.2 npm run lint / test / build, сервер локально: /card-offer.js и /healthz отвечают 200