Main/WordPress Fullstack/Blueprints/Gutenberg & FSE/Interactive Cost Calculator Block with Interactivity API & INP Optimization
Back to «Gutenberg & FSE» cardsGutenberg & FSE(ТЗ 36 из 54)
Spec: Interactive Cost Calculator Block with Interactivity API & INP OptimizationТрудозатраты~11 рабочих часов
Фриланс вилка~$495 – $825 (€440 – €770)
Оценка веб-студии~$1,045 – $1,760 (€990 – €1650)
ТЗ заказчика (исходный бриф):
We need an interactive financial / service cost calculator block where visitors adjust sliders (budget, hours, options) and see immediate price calculations without page reloads or clunky form plugins.
Ключевые требования:
- •Native Interactivity API implementation with reactive store in view.js
- •Input controls: range sliders, numeric inputs, toggle checkboxes, and select dropdowns
- •Instant reactive computation of totals, taxes, and monthly estimates
- •Lead capture form integrated with calculator state for instant quotes
- •Optimized INP (Interaction to Next Paint) under 50ms on mobile devices
Ограничения проекта:
- •Zero jQuery or heavy calculator plugins (Calculated Fields Form bloat)
- •Full keyboard and screen reader accessibility (aria-valuenow, aria-valuemin, aria-valuemax)
- •Support multiple calculator instances on the same page with isolated state
Критерии приёмки (KPI):
- INP latency < 50ms across all slider drag interactions
- Conversion rate increase of 25%+ on quote submissions
- 100% WCAG 2.1 AA accessible slider controls
Пошаговое практическое руководство по ТЗ
Подробный разбор архитектуры, код реализации и советы эксперта по каждому этапу: