Phase 3: Wire page stubs into working screens with full integration
Implemented 4 page stubs with hooks and components: - Dashboard: displays overview metrics, planned days breakdown, progress chart, break periods - Calendar: month-based calendar grid with event badges and navigation - Tips: list of optimization tips with dismiss functionality - Settings: workspace configuration with child info, parent profile, vacation days, break periods Added utility exports: - src/context/index.ts: re-exports useAuth, useWorkspace hooks - src/hooks/index.ts: re-exports all domain hooks All pages: - Use Layout wrapper with header configuration - Load data via hooks with loading/error states - Render presentational components (no business logic) - Pass callbacks for user actions - Type-safe with full @types coverage Frontend test coverage: 167 tests, all passing TypeScript: zero errors, lint: zero errors Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -33,8 +33,8 @@ jobs:
|
||||
run: uv run ruff format --check .
|
||||
|
||||
- name: Test with coverage
|
||||
# Target is 90; raise this threshold as junior feature tests land.
|
||||
run: uv run pytest --cov=app --cov-report=term-missing --cov-fail-under=40
|
||||
# Target is 90; raise toward it as tests land (tips rules: 40→50).
|
||||
run: uv run pytest --cov=app --cov-report=term-missing --cov-fail-under=50
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Frontend: ESLint + Vitest with 90% coverage gate
|
||||
|
||||
Reference in New Issue
Block a user