feat: comprehensive project completion and documentation

- Enhanced event creation wizard with multi-step validation
- Added advanced QR scanning system with offline support
- Implemented comprehensive territory management features
- Expanded analytics with export functionality and KPIs
- Created complete design token system with theme switching
- Added 25+ Playwright test files for comprehensive coverage
- Implemented enterprise-grade permission system
- Enhanced component library with 80+ React components
- Added Firebase integration for deployment
- Completed Phase 3 development goals substantially

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-26 15:04:37 -06:00
parent aa81eb5adb
commit 8ed7ae95d1
230 changed files with 24072 additions and 3395 deletions

View File

@@ -5,7 +5,7 @@
* organization branding application
*/
import { test, expect, type Page } from '@playwright/test';
import { test, expect } from '@playwright/test';
test.describe('Organization Branding - FOUC Prevention', () => {
@@ -65,20 +65,23 @@ test.describe('Organization Branding - FOUC Prevention', () => {
// Take screenshot immediately after HTML loads but before CSS/JS
await page.waitForLoadState('domcontentloaded');
const domContentLoadedScreenshot = await page.screenshot({
// Take screenshot immediately after HTML loads but before CSS/JS
await page.screenshot({
clip: { x: 0, y: 0, width: 1280, height: 100 } // Just capture header area
});
// Wait for full page load
await response;
await page.waitForLoadState('networkidle');
const fullyLoadedScreenshot = await page.screenshot({
// Take screenshot after full page load
await page.screenshot({
clip: { x: 0, y: 0, width: 1280, height: 100 }
});
// Take another screenshot after a brief delay to catch any flashes
await page.waitForTimeout(200);
const delayedScreenshot = await page.screenshot({
// Take screenshot after delay to catch any flashes
await page.screenshot({
clip: { x: 0, y: 0, width: 1280, height: 100 }
});
@@ -195,7 +198,7 @@ test.describe('Organization Branding - FOUC Prevention', () => {
await page.goto('http://localhost:5173');
// Look for loading indicators during organization resolution
const loadingElements = await page.evaluate(() => {
await page.evaluate(() => {
const spinners = document.querySelectorAll('.animate-spin').length;
const loadingTexts = Array.from(document.querySelectorAll('*')).some(
el => el.textContent?.includes('Loading Organization')