feat: add advanced analytics and territory management system

- Add comprehensive analytics components with export functionality
- Implement territory management with manager performance tracking
- Add seatmap components for venue layout management
- Create customer management features with modal interface
- Add advanced hooks for dashboard flags and territory data
- Implement seat selection and venue management utilities
- Add type definitions for ticketing and seatmap systems

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

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-26 09:25:10 -06:00
parent d5c3953888
commit aa81eb5adb
438 changed files with 90509 additions and 2787 deletions

View File

@@ -30,16 +30,18 @@ VITE_ENABLE_DEBUG_MODE=true
VITE_ENABLE_ANIMATIONS=true
# -----------------------------------------------------------------------------
# MOCK SUPABASE CONFIGURATION (NO REAL CONNECTION)
# MOCK FIREBASE CONFIGURATION (NO REAL CONNECTION)
# -----------------------------------------------------------------------------
# These simulate the database/auth service from the original project
# These simulate the Firebase Auth service from the original project
# Used for mock authentication flows and data structure examples
VITE_SUPABASE_URL=https://mock-bct-learning.supabase.co
VITE_SUPABASE_ANON_KEY=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJtb2NrLXN1cGFiYXNlIiwiaWF0IjoxNjM0NzY1MjAwLCJleHAiOjE5NTAxMjUyMDAsImF1ZCI6Im1vY2stYXVkaWVuY2UiLCJzdWIiOiJtb2NrLXN1YmplY3QiLCJyb2xlIjoiYW5vbiJ9
# Service role key (would be server-side only in real app)
VITE_SUPABASE_SERVICE_ROLE_KEY=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJtb2NrLXN1cGFiYXNlIiwiaWF0IjoxNjM0NzY1MjAwLCJleHAiOjE5NTAxMjUyMDAsImF1ZCI6Im1vY2stYXVkaWVuY2UiLCJzdWIiOiJtb2NrLXN1YmplY3QiLCJyb2xlIjoic2VydmljZV9yb2xlIn0
VITE_FB_API_KEY=AIzaSyMockFirebaseAPIKeyForReactLearningProject1234567890
VITE_FB_AUTH_DOMAIN=mock-bct-learning.firebaseapp.com
VITE_FB_PROJECT_ID=mock-bct-learning
VITE_FB_STORAGE_BUCKET=mock-bct-learning.appspot.com
VITE_FB_MESSAGING_SENDER_ID=123456789012
VITE_FB_APP_ID=1:123456789012:web:mockfirebaseappid
VITE_FB_MEASUREMENT_ID=G-MOCKGAMEASUREMENT
# -----------------------------------------------------------------------------
# MOCK STRIPE CONFIGURATION (NO REAL PAYMENTS)
@@ -56,6 +58,12 @@ VITE_STRIPE_WEBHOOK_SECRET=whsec_1234567890MockWebhookSecretForLearning
# Connect application fee (percentage for platform)
VITE_STRIPE_APPLICATION_FEE_PERCENT=2.9
# Stripe Connect configuration for Cloud Functions
# NOTE: These are used in Firebase Functions, not in the React frontend
# STRIPE_SECRET_KEY=sk_test_... (set in Firebase Functions config)
# STRIPE_WEBHOOK_SECRET=whsec_... (set in Firebase Functions config)
# APP_URL=https://your-staging-domain.com (set in Firebase Functions config)
# -----------------------------------------------------------------------------
# MOCK EMAIL SERVICE CONFIGURATION
# -----------------------------------------------------------------------------
@@ -107,7 +115,8 @@ VITE_TWITTER_API_KEY=MockTwitterAPIKeyForReactLearning
VITE_HMR_PORT=24678
VITE_HMR_HOST=localhost
# API endpoint for mock backend (if implementing mock API server)
# API endpoints
VITE_API_BASE=https://staging.blackcanyontickets.com
VITE_API_BASE_URL=http://localhost:3001/api
VITE_API_TIMEOUT=5000
@@ -179,6 +188,9 @@ VITE_FEATURE_MOCK_API_DELAY=1000
VITE_FEATURE_MOCK_ERRORS=true
VITE_FEATURE_DEBUG_PANELS=true
# Scanner configuration
VITE_SCANNER_MOCK=false
# =============================================================================
# SETUP INSTRUCTIONS FOR DEVELOPERS
# =============================================================================