Files
TimeTracker/app/utils
Dries Peeters d01d6633c1 feat(admin): enhance module visibility management with dependency validation and improved UX
Significantly improve the admin module visibility settings page with comprehensive
dependency validation, enhanced UI, and better user experience.

Key improvements:

Phase 1 - Critical Features:
- Add dependency validation to prevent disabling modules with active dependents
- Add get_dependents() and validate_module_disable() methods to ModuleRegistry
- Server-side validation with clear error messages when dependencies conflict
- Display module descriptions and dependency information in UI

Phase 2 - UX Enhancements:
- Add module icons and visual status indicators (Enabled/Disabled badges)
- Implement search and filter functionality (by name, category, status, dependencies)
- Make categories collapsible/expandable for better organization
- Add summary statistics showing total, enabled, and disabled module counts

Phase 3 - Advanced Features:
- Add bulk operations (Enable All/Disable All globally and per category)
- Implement impact preview showing affected modules when disabling
- Add client-side validation with real-time feedback
- Highlight modules with dependency conflicts

Additional enhancements:
- Enhanced module cards with icons, descriptions, and dependency lists
- Real-time count updates and validation feedback
- Improved visual hierarchy and spacing
- CSS transitions for smooth interactions

Files modified:
- app/utils/module_registry.py: Add dependency validation methods
- app/routes/admin.py: Add server-side validation before saving
- app/templates/admin/settings.html: Complete UI overhaul with all new features
2026-01-22 13:47:31 +01:00
..
2026-01-02 07:39:04 +01:00