Add global navigation search, cancellation policies, and UI improvements

- Add global search in top bar for navigating to dashboard pages
- Add cancellation policy settings (window hours, late fee, deposit refund)
- Display booking policies on customer confirmation page
- Filter API tokens by sandbox/live mode
- Widen settings layout and full-width site builder
- Add help documentation search with OpenAI integration
- Add blocked time ranges API for calendar visualization
- Update business hours settings with holiday management

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
poduck
2025-12-25 23:39:07 -05:00
parent 8391ecbf88
commit 416cd7059b
174 changed files with 31835 additions and 4921 deletions

View File

@@ -20,6 +20,15 @@ vi.mock('../../hooks/useSandbox', () => ({
useToggleSandbox: vi.fn(),
}));
// Mock the entitlements hook
vi.mock('../../hooks/useEntitlements', () => ({
useEntitlements: vi.fn(() => ({
hasFeature: vi.fn(() => true), // Default to having API access
features: { api_access: true },
isLoading: false,
})),
}));
import { SandboxProvider, useSandbox } from '../SandboxContext';
import { useSandboxStatus, useToggleSandbox } from '../../hooks/useSandbox';