upskill-event-manager/assets
ben aebfb9adb8 fix: add missing JavaScript for master trainers overview page
Resolves missing data on /master-trainer/trainers/ page by adding the JavaScript
file that handles AJAX loading of trainer statistics and table data.

 Changes:
- Created assets/js/hvac-master-trainers-overview.js
  - Handles AJAX calls to load trainer stats and filtered trainer lists
  - Implements filter change handlers for status, region, and search
  - Includes debounced search input for better UX
  - Initializes interactive table elements after load

- Updated includes/class-hvac-master-trainers-overview.php
  - Added enqueue_scripts() method to properly load the JS file
  - Registers wp_enqueue_scripts action hook
  - Detects master trainer pages via shortcode or template slug
  - Ensures jQuery dependency is met

The page was showing navigation and filters but no data because the JavaScript
to make AJAX calls to hvac_master_trainers_stats and hvac_master_trainers_filter
actions was completely missing.

Tested on staging and deployed to production.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-29 16:45:03 -03:00
..
css fix: resolve TEC Community Events iframe loop and add comprehensive styling 2025-09-24 14:48:47 -03:00
images feat: Add comprehensive CSS, JavaScript and theme asset infrastructure 2025-08-11 16:20:31 -03:00
js fix: add missing JavaScript for master trainers overview page 2025-10-29 16:45:03 -03:00