treker-po-trenirovkam-i-pit.../openspec/changes/tptip-26-wizard-input-errors/tasks.md
2026-11-17 12:02:14 +05:00

12 lines
646 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 numField: две фразы «что не так + Введите число <диапазон>», для вне диапазона — с введённым числом
- [x] 1.2 normFields: what/hint для калорий, белков, жиров, углеводов, воды, тренировок
- [x] 1.3 Фокус на первое поле с ошибкой при «Далее» и «Готово» мастера
- [x] 1.4 Повысить CACHE в sw.js
## 2. Проверка
- [x] 2.1 Тесты сценариев в tests/wizard.test.js
- [x] 2.2 npm run lint, npm test