upskill-event-manager/wordpress-dev/wordpress/wp-content/plugins/hvac-community-events/includes
bengizmo a0a4e2e505 feat: Implement Master Dashboard with role-based access control
- Added hvac_master_trainer role with special capabilities:
  * view_master_dashboard
  * view_all_trainer_data
  * manage_google_sheets_integration

- Created Master Dashboard page and template:
  * System overview with 6 key statistics (events, trainers, revenue)
  * Trainer performance analytics table
  * All events management with filtering
  * System-wide data aggregation across all trainers

- Implemented comprehensive access control:
  * Master trainers and administrators can access
  * Regular trainers denied with proper error handling
  * Non-logged users redirected to login

- Added data aggregation class (HVAC_Master_Dashboard_Data):
  * Direct database queries bypass TEC trainer filters
  * Aggregates events, tickets, and revenue across all users
  * Methods for total events, trainer stats, and events data

- Enhanced template loading and shortcode registration:
  * Added [hvac_master_dashboard] shortcode
  * Integrated master dashboard template loading
  * Uses harmonized CSS framework for consistent styling

- Created comprehensive Playwright test suite:
  * Tests administrator and trainer access
  * Verifies access control and error handling
  * Validates data display and UI rendering
  * Includes visual verification with screenshots

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-13 16:49:16 -03:00
..
admin feat: Enhanced test data creation and login system improvements 2025-05-22 15:54:15 -03:00
certificates feat: Enhance certificate design with logo, trainer name, and improved attendee name retrieval 2025-05-24 14:57:28 -03:00
community Fix dashboard data inconsistency and enhance test suite with WP API 2025-05-22 19:24:18 -03:00
google-sheets feat: Implement Master Dashboard with role-based access control 2025-06-13 16:49:16 -03:00
helpers feat: Add comprehensive attendee profile feature with tests 2025-05-24 19:23:33 -03:00
zoho feat: Add Zoho CRM diagnostic and setup tools 2025-05-21 11:22:25 -03:00
class-attendee-profile.php refactor: Simplify attendee profile page UI/UX 2025-05-24 20:08:23 -03:00
class-event-author-fixer.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-event-form-handler.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-community-events.php feat: Implement Master Dashboard with role-based access control 2025-06-13 16:49:16 -03:00
class-hvac-dashboard-data-fixed.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-dashboard-data-refactored.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-dashboard-data.php fix: Update dashboard data queries to use meta relationships for revenue 2025-05-30 15:52:30 -06:00
class-hvac-dashboard-data.php.backup fix: Complete Generate Certificates page functionality and attendee display 2025-05-23 07:04:15 -03:00
class-hvac-dashboard.php fix: Dashboard pagination display and AJAX handler syntax error 2025-05-30 12:50:27 -06:00
class-hvac-form-builder.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-help-system.php feat: Update help system with clearer content and recent improvements 2025-05-24 16:36:28 -03:00
class-hvac-logger.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-manage-event.php feat: Add navigation bar to Create Event page 2025-05-30 16:26:27 -06:00
class-hvac-master-dashboard-data.php feat: Implement Master Trainer role and Master Dashboard system 2025-06-13 14:03:30 -03:00
class-hvac-registration.php feat: Add trainer profile editing functionality 2025-05-20 09:47:22 -03:00
class-hvac-roles.php feat: Implement Master Trainer role and Master Dashboard system 2025-06-13 14:03:30 -03:00
class-hvac-security.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-settings-refactored.php feat: Add Zoho CRM integration with staging mode protection 2025-05-19 13:17:44 -03:00
class-hvac-settings.php feat: Add Trainer Login link to admin sidebar menu 2025-05-19 17:40:23 -03:00