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:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user