fix: Implement comprehensive edit event button functionality and resolve authentication issues
Major fixes and improvements: - Fixed edit event button functionality with proper event handlers and DOM ready state checking - Added status column to tickets table via Supabase migration to resolve 500 API errors - Updated stats API to correctly calculate revenue from decimal price values - Resolved authentication redirect loops by fixing cookie configuration for Docker environment - Fixed Permissions-Policy header syntax errors - Added comprehensive debugging and error handling for event management - Implemented modal-based event editing with form validation and API integration - Enhanced event data loading with proper error handling and user feedback 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
57
qa-audit-report.json
Normal file
57
qa-audit-report.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"timestamp": "2025-07-14T22:16:16.104Z",
|
||||
"routes_tested": [
|
||||
"/login",
|
||||
"/dashboard",
|
||||
"/events/new",
|
||||
"/scan",
|
||||
"/templates",
|
||||
"/admin/dashboard",
|
||||
"/calendar",
|
||||
"/events/f51ff71a-96f9-4d05-b856-bdcd77b73c0f/manage"
|
||||
],
|
||||
"screenshots_taken": [
|
||||
"login-form-qa.png",
|
||||
"dashboard-qa.png",
|
||||
"events-new-qa.png",
|
||||
"scan-qa.png",
|
||||
"templates-qa.png",
|
||||
"admin-dashboard-qa.png",
|
||||
"calendar-qa.png",
|
||||
"event-manage-qa.png",
|
||||
"dashboard-mobile-qa.png",
|
||||
"scan-mobile-qa.png",
|
||||
"navigation-open-qa.png"
|
||||
],
|
||||
"console_errors": [
|
||||
"2025-07-14T22:15:19.089Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:25.208Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:26.210Z: [NAV] Error with server-side auth: TypeError: Failed to fetch\n at initializeNavigation (http://localhost:3001/src/components/Navigation.astro?astro&type=script&index=0&lang.ts:33:30)",
|
||||
"2025-07-14T22:15:26.210Z: [DASHBOARD] Server auth failed: TypeError: Failed to fetch\n at loadEvents (http://localhost:3001/src/pages/dashboard.astro?astro&type=script&index=0&lang.ts:67:32)",
|
||||
"2025-07-14T22:15:26.219Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:30.575Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:32.226Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:33.185Z: No user found despite server-side auth",
|
||||
"2025-07-14T22:15:38.591Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:39.820Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:44.285Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:48.475Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:49.154Z: Failed to load resource: the server responded with a status of 401 (Unauthorized)",
|
||||
"2025-07-14T22:15:52.683Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:15:56.228Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:16:00.657Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:16:02.349Z: Failed to load resource: the server responded with a status of 500 (Internal Server Error)",
|
||||
"2025-07-14T22:16:02.356Z: Error loading quick stats: Error: Failed to load stats\n at loadQuickStats (http://localhost:3001/events/f51ff71a-96f9-4d05-b856-bdcd77b73c0f/manage:12276:15)\n at async HTMLDocument.<anonymous> (http://localhost:3001/events/f51ff71a-96f9-4d05-b856-bdcd77b73c0f/manage:12199:5)",
|
||||
"2025-07-14T22:16:02.684Z: Failed to load resource: the server responded with a status of 500 (Internal Server Error)",
|
||||
"2025-07-14T22:16:04.724Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:16:08.738Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:16:09.066Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser.",
|
||||
"2025-07-14T22:16:12.900Z: Error with Permissions-Policy header: Parse of permissions policy failed because of errors reported by structured header parser."
|
||||
],
|
||||
"network_errors": [
|
||||
"401: http://localhost:3001/api/admin/check-super-admin",
|
||||
"500: http://localhost:3001/api/events/f51ff71a-96f9-4d05-b856-bdcd77b73c0f/stats",
|
||||
"500: http://localhost:3001/api/events/f51ff71a-96f9-4d05-b856-bdcd77b73c0f/stats"
|
||||
],
|
||||
"status": "ISSUES_FOUND"
|
||||
}
|
||||
Reference in New Issue
Block a user