mirror of
https://github.com/wizarrrr/wizarr.git
synced 2026-08-02 16:27:28 -04:00
Add comprehensive "require interaction" functionality for wizard steps that prevents users from proceeding until they engage with step content. ## Key Features: - **Database Integration**: New `require_interaction` boolean field in WizardStep model with migration - **Frontend Gating**: Robust JavaScript system that disables "Next" button until user clicks links/buttons in step content - **UI Enhancement**: Improved checkbox forms with clear descriptions and visual indicators - **Event Handling**: Advanced interaction detection with proper HTMX disabling and event capture - **Admin Interface**: Full integration with wizard configuration forms (main and simple) - **Export/Import**: Support for require_interaction field in wizard step data operations ## Technical Implementation: - Disabled button state management with pointer-events and tabindex control - HTMX attribute manipulation to prevent premature navigation - Event listener capture phase handling for reliable interaction blocking - Comprehensive test coverage for interaction scenarios - Form validation and user experience improvements ## Files Modified: - Backend: models, routes, forms, services, migration - Frontend: JavaScript interaction logic, templates, UI components - Testing: Complete test suite for interaction requirements This feature ensures users engage with critical wizard content before proceeding, improving onboarding experience and preventing accidental step skipping. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>