Dispatcharr/frontend/src/utils
None d7b98fef8d Add default/advanced mode toggle and test coverage for EPG matching
Enhanced EPG matching UX by adding radio button toggle to more clearly define optional advanced options. Also added test coverage for stability.

Frontend Changes:
- Added radio button UI to EPGMatchModal for default/advanced mode selection
- Default mode: Uses built-in normalization
- Advanced mode: Shows TagsInput fields for custom prefixes/suffixes/strings
- Mode persists across sessions and settings are preserved when switching modes

Test Coverage:
- Created EPGMatchModal.test.jsx with test cases covering:
  - Component rendering and mode switching
  - Form submission and settings persistence
  - Error handling and UI text variations

- Added test cases to SettingsUtils.test.js for EPG mode handling:
  - epg_match_mode routing to epg_settings group
  - Settings creation and preservation

Since advanced settings are saved persistently but ignored when default settings are used, this adds an easy way in the future to add additional advanced settings to EPG matching like  region influence, match aggression, and match preview, since users can easily switch between modes.
2026-01-31 23:11:20 -06:00
..
__tests__ Bug fix: - Fixed date/time formatting across all tables to respect user's UI preferences (time format and date format) set in Settings page: 2026-01-19 20:07:31 -06:00
cards tests: Fixed frontend tests failing after datetime utility changes. 2026-01-19 20:16:06 -06:00
forms Move EPG match settings from Settings page to auto-match modal 2026-01-29 20:35:20 -06:00
pages Add default/advanced mode toggle and test coverage for EPG matching 2026-01-31 23:11:20 -06:00
dateTimeUtils.js Bug fix: - Fixed date/time formatting across all tables to respect user's UI preferences (time format and date format) set in Settings page: 2026-01-19 20:07:31 -06:00
networkUtils.js Test Fix: Fixed SettingsUtils frontend tests for new grouped settings architecture. Updated test suite to properly verify grouped JSON settings (stream_settings, dvr_settings, etc.) instead of individual CharField settings, including tests for type conversions, array-to-CSV transformations, and special handling of proxy_settings and network_access. Frontend tests GitHub workflow now uses Node.js 24 (matching Dockerfile) and runs on both main and dev branch pushes and pull requests for comprehensive CI coverage. 2026-01-15 08:55:38 -06:00
notificationUtils.js Including notification util changes 2025-12-31 13:20:09 -08:00