upskill-event-manager/templates
bengizmo 4117f730c5 feat: Implement comprehensive Safari browser compatibility system
Resolves critical Safari hanging issues through multi-layered protection:

Core Safari Resource Loading Bypass:
- Added Safari-specific minimal asset loading in HVAC_Scripts_Styles
- Prevents 35+ CSS file cascade that overwhelmed Safari rendering
- Implements intelligent browser detection with fallback systems
- Loads only essential CSS/JS files for Safari browsers
- Dequeues non-critical assets to prevent resource overload

Browser Detection Infrastructure:
- Created HVAC_Browser_Detection class with accurate Safari identification
- Added User-Agent parsing with version detection
- Implements fallback detection methods for edge cases
- Provides centralized browser compatibility services

Find Trainer Assets Management:
- Added HVAC_Find_Trainer_Assets class for proper WordPress hook timing
- Ensures Safari-compatible script loading order
- Prevents asset loading conflicts with theme integration

Safari Debugging System:
- Implemented HVAC_Safari_Request_Debugger for server-side monitoring
- Added comprehensive Safari debugging with error tracking
- Created detailed investigation documentation
- Provides real-time Safari compatibility insights

Performance Optimizations:
- Optimized database queries in find-trainer template to prevent hanging
- Implemented lazy component loading in HVAC_Plugin initialization
- Reduced Astra theme override hook priorities from 999 to 50
- Removed CSS @import statements causing Safari render blocking

MapGeo Integration Fixes:
- Fixed JavaScript syntax error (dangling }) in MapGeo integration
- Removed problematic console.log override causing Safari conflicts
- Maintained full MapGeo functionality while preventing browser hangs

Testing Results:
- Verified with Playwright WebKit engine (Safari emulation)
- Page loads successfully with complete functionality
- Interactive map, trainer cards, and navigation all functional
- Reduced CSS files from 35+ to 3 core files for optimal performance
- No hanging or blank page issues detected

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-08 21:13:43 -03:00
..
content fix: Update registration pending page email to joe@upskillhvac.com with bot protection 2025-08-06 07:55:02 -03:00
parts feat: Add navigation menu system and breadcrumb functionality 2025-07-30 16:45:58 -03:00
page-attendee-profile.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-certificate-fix.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-certificate-reports.php feat: Implement comprehensive trainer profile custom post type system 2025-08-01 18:45:41 -03:00
page-communication-schedules.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-communication-templates.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-community-login.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00
page-documentation.php feat: Implement Training Leads system and restructure navigation menu 2025-08-05 16:02:57 -03:00
page-email-attendees.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-event-summary.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-find-trainer.php feat: Implement comprehensive Safari browser compatibility system 2025-08-08 21:13:43 -03:00
page-generate-certificates.php feat: Implement comprehensive trainer profile custom post type system 2025-08-01 18:45:41 -03:00
page-google-sheets.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-manage-event.php feat: Implement comprehensive user role field and certification tracking system 2025-08-01 10:52:11 -03:00
page-master-dashboard-debug.php fix: Resolve duplicate content and raw shortcode display on manage event page 2025-07-30 10:06:49 -03:00
page-master-dashboard.php feat: Implement comprehensive enhanced CSV import system with taxonomy integration 2025-08-04 05:57:08 -03:00
page-master-trainer-profile-edit-simple.php feat: Implement comprehensive trainer profile custom post type system 2025-08-01 18:45:41 -03:00
page-master-trainer-profile-edit.php feat: Implement comprehensive enhanced CSV import system with taxonomy integration 2025-08-04 05:57:08 -03:00
page-registration-pending.php fix: Update registration pending page email to joe@upskillhvac.com with bot protection 2025-08-06 07:55:02 -03:00
page-trainer-account-disabled.php feat: Implement trainer approval workflow with status management 2025-07-28 12:38:34 -03:00
page-trainer-account-pending.php feat: Implement trainer approval workflow with status management 2025-07-28 12:38:34 -03:00
page-trainer-dashboard.php feat: Implement comprehensive user role field and certification tracking system 2025-08-01 10:52:11 -03:00
page-trainer-login.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-trainer-organizer-manage.php feat: Implement comprehensive user role field and certification tracking system 2025-08-01 10:52:11 -03:00
page-trainer-organizers-list.php feat: Implement comprehensive user role field and certification tracking system 2025-08-01 10:52:11 -03:00
page-trainer-profile-edit.php feat: Implement comprehensive user role field and certification tracking system 2025-08-01 10:52:11 -03:00
page-trainer-profile-view.php feat: Integrate navigation and breadcrumbs into all trainer templates 2025-07-30 17:31:54 -03:00
page-trainer-profile.php feat: Implement Training Leads system and restructure navigation menu 2025-08-05 16:02:57 -03:00
page-trainer-registration.php feat: Add missing page templates for all HVAC plugin pages 2025-07-28 20:39:14 -03:00
page-trainer-training-leads.php feat: Implement Training Leads system and restructure navigation menu 2025-08-05 16:02:57 -03:00
page-trainer-venue-manage.php feat: Implement comprehensive user role field and certification tracking system 2025-08-01 10:52:11 -03:00
page-trainer-venues-list.php feat: Implement comprehensive user role field and certification tracking system 2025-08-01 10:52:11 -03:00
single-hvac-event-summary.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
single-hvac-order-summary.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
template-edit-profile.php feat: Implement comprehensive enhanced CSV import system with taxonomy integration 2025-08-04 05:57:08 -03:00
template-event-summary.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
template-google-sheets.php fix: Ensure trainer registration page is publicly accessible 2025-07-28 10:30:54 -03:00
template-hvac-dashboard.php feat: Implement comprehensive user role field and certification tracking system 2025-08-01 10:52:11 -03:00
template-hvac-master-dashboard.php feat: Implement comprehensive trainer profile custom post type system 2025-08-01 18:45:41 -03:00
template-trainer-profile.php fix: Resolve duplicate initialization and jQuery selector errors 2025-07-28 17:58:39 -03:00