upskill-event-manager/wordpress-dev/tests
bengizmo 587773b56b fix: Resolve CSS loading and Google Sheets redirect issues
Major fixes implemented:
1. CSS Loading on Hierarchical Pages - FIXED
   - Enhanced page detection logic in hvac-community-events.php
   - Added URL pattern matching for /trainer/* and /master-trainer/*
   - All 7 HVAC CSS files now load correctly on hierarchical pages

2. Google Sheets Infinite Redirect Loop - FIXED
   - Removed duplicate master-trainer-google-sheets page
   - Added redirect loop prevention with hvac_redirect_check parameter
   - Disabled WordPress canonical redirects for Google Sheets URLs
   - Page now loads in 2.4s with 0 redirects (was 50+ before)

3. Google Sheets Folder Manager Integration
   - Moved folder manager to proper location in includes/google-sheets/
   - Added conditional file loading to prevent fatal errors
   - Enhanced error handling throughout Google Sheets components

4. Dashboard Navigation Improvements
   - Fixed duplicate navigation buttons
   - Enhanced Master Trainer dashboard with folder hierarchy support
   - Improved permission checks and role-based access

Technical improvements:
- Added comprehensive debugging capabilities
- Enhanced error handling with try-catch blocks
- Improved conditional file loading patterns
- Fixed hardcoded URLs in Google Sheets admin

All issues tested and verified working on staging environment.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 06:50:53 -03:00
..
basic feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
e2e fix: Resolve CSS loading and Google Sheets redirect issues 2025-06-17 06:50:53 -03:00
includes feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
integration feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
manual feat: Add Email Attendees functionality (Phase 2) 2025-05-20 10:33:03 -03:00
phpunit/includes feat: Implement auto page creation & fix login E2E tests 2025-03-28 17:18:21 -03:00
test-results feat(testing): Implement comprehensive trainer journey test suite with Page Object Model 2025-05-18 15:42:00 -03:00
bootstrap-staging.php Update plugin verification and integration scripts for correct TEC plugin slugs; resolve activation issues; document E2E test failures and update integration testing plan 2025-04-24 14:54:39 -03:00
bootstrap.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Event_Management_Test.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Role_Manager.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Role_Manager_Test.php feat(testing): Implement HVAC Role Manager component 2025-04-14 19:02:22 -03:00
HVAC_Test_Data_Generator.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Test_Data_Generator_Test.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Test_User_Factory.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
HVAC_Test_User_Factory_Test.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
test-doubles.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
test-user-factory.php feat(testing): Implement HVAC_Test_User_Factory and update .gitignore 2025-04-14 17:41:36 -03:00
wp-tests-config-sample.php Update plugin verification and integration scripts for correct TEC plugin slugs; resolve activation issues; document E2E test failures and update integration testing plan 2025-04-24 14:54:39 -03:00
wp-tests-config-staging.php update: Change staging domain to upskill-staging.measurequick.com 2025-05-21 16:42:10 -03:00
wp-tests-config.php Update plugin verification and integration scripts for correct TEC plugin slugs; resolve activation issues; document E2E test failures and update integration testing plan 2025-04-24 14:54:39 -03:00