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

View File

@@ -1,9 +1,9 @@
// @ts-check
const { defineConfig, devices } = require('@playwright/test');
import { defineConfig, devices } from '@playwright/test';
module.exports = defineConfig({
export default defineConfig({
testDir: './',
testMatch: 'test-calendar-theme.cjs',
testMatch: 'test-*.cjs',
fullyParallel: false,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
@@ -20,9 +20,9 @@ module.exports = defineConfig({
use: { ...devices['Desktop Chrome'] },
}
],
webServer: {
command: 'echo "Server assumed to be running"',
url: 'http://localhost:3000',
reuseExistingServer: true,
},
// webServer: {
// command: 'echo "Server assumed to be running"',
// url: 'http://192.168.0.46:3000',
// reuseExistingServer: true,
// },
});