fix: resolve ticket modal issues and improve functionality

- Fixed modal background opacity from 0.5 to 0.75 for better visibility
- Fixed X button close functionality in TicketTypeModal
- Resolved CORS issues by removing credentials: 'include' from Supabase client
- Fixed onSave callback signature mismatch in TicketsTab component
- Removed old initEmbedModal function references causing JavaScript errors
- Added comprehensive Playwright tests for ticket button functionality
- Verified modal works correctly in both light and dark modes

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-16 08:45:39 -06:00
parent 92ab9406be
commit a049472a13
53 changed files with 2044 additions and 498 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@@ -0,0 +1,122 @@
# Page snapshot
```yaml
- link "Skip to main content":
- /url: "#main-content"
- link "Skip to navigation":
- /url: "#navigation"
- main:
- navigation:
- link "BCT":
- /url: /dashboard
- img
- text: BCT
- link "All Events":
- /url: /dashboard
- img
- text: All Events
- text: "| Event Management"
- button "Switch to dark mode":
- img
- button "T Tyler Admin":
- text: T Tyler Admin
- img
- main:
- heading "Garfield County Fair & Rodeo 2025" [level=1]
- img
- text: Garfield County Fairgrounds - Rifle, CO
- img
- text: Wednesday, August 6, 2025 at 12:00 AM
- paragraph: Secure your spot at the 87-year-strong Garfield County Fair & Rodeo, returning to Rifle, Colorado August 2 and 6-9, 2025...
- button "Show more"
- text: $0 Total Revenue
- link "Preview":
- /url: /e/firebase-event-zmkx63pewurqyhtw6tsn
- img
- text: Preview
- button "Embed":
- img
- text: Embed
- button "Edit":
- img
- text: Edit
- link "Scanner":
- /url: /scan
- img
- text: Scanner
- link "Kiosk":
- /url: /kiosk/firebase-event-zmkx63pewurqyhtw6tsn
- img
- text: Kiosk
- button "PIN":
- img
- text: PIN
- paragraph: Tickets Sold
- paragraph: "0"
- img
- text: +12% from last week
- img
- paragraph: Available
- paragraph: "0"
- img
- text: Ready to sell
- img
- paragraph: Check-ins
- paragraph: "0"
- img
- text: 85% attendance rate
- img
- paragraph: Net Revenue
- paragraph: $0
- img
- text: +24% this month
- img
- button "Ticketing & Access":
- img
- text: Ticketing & Access
- button "Custom Pages":
- img
- text: Custom Pages
- button "Sales":
- img
- text: Sales
- button "Attendees":
- img
- text: Attendees
- button "Event Settings":
- img
- text: Event Settings
- button "Ticket Types"
- button "Access Codes"
- button "Discounts"
- button "Printed Tickets"
- heading "Ticket Types & Pricing" [level=2]
- button:
- img
- button:
- img
- button "Add Ticket Type":
- img
- text: Add Ticket Type
- img
- paragraph: No ticket types created yet
- button "Create Your First Ticket Type"
- contentinfo:
- link "Terms of Service":
- /url: /terms
- link "Privacy Policy":
- /url: /privacy
- link "Support":
- /url: /support
- text: © 2025 All rights reserved Powered by
- link "blackcanyontickets.com":
- /url: https://blackcanyontickets.com
- img
- heading "Cookie Preferences" [level=3]
- paragraph:
- text: We use essential cookies to make our website work and analytics cookies to understand how you interact with our site.
- link "Learn more in our Privacy Policy":
- /url: /privacy
- button "Manage Preferences"
- button "Accept All"
```

File diff suppressed because one or more lines are too long