feat(layout): finalize p01 and p02 changes

Complete UI foundation and app layout implementation, stabilize container health checks, and archive both OpenSpec changes after verification.
This commit is contained in:
2026-02-18 16:12:11 -05:00
parent cdfb15bbfd
commit 493cb78173
47 changed files with 1400 additions and 283 deletions

View File

@@ -196,20 +196,17 @@ rules:
# Component Patterns
component_patterns:
layout:
- AppLayout.svelte: Main wrapper with sidebar + content area
- Sidebar.svelte: Collapsible navigation with sections
- TopBar.svelte: Breadcrumbs, month selector, user menu
- Breadcrumbs.svelte: Auto-generated from route
- PageHeader.svelte: Page title + action buttons slot
state:
- layoutStore: sidebarState ('expanded'|'collapsed'|'hidden'), theme
- periodStore: selectedMonth (global YYYY-MM format)
- Persist user preferences to localStorage
navigation:
- Sections: PLANNING, REPORTS, ADMIN
- ADMIN section visible only to superuser role
- Active route highlighting required
- "layout: AppLayout.svelte -> Main wrapper with sidebar + content area"
- "layout: Sidebar.svelte -> Collapsible navigation with sections"
- "layout: TopBar.svelte -> Breadcrumbs, month selector, user menu"
- "layout: Breadcrumbs.svelte -> Auto-generated from route"
- "layout: PageHeader.svelte -> Page title + action buttons slot"
- "state: layoutStore -> sidebarState ('expanded'|'collapsed'|'hidden'), theme"
- "state: periodStore -> selectedMonth (global YYYY-MM format)"
- "state: Persist user preferences to localStorage"
- "navigation: Sections -> PLANNING, REPORTS, ADMIN"
- "navigation: ADMIN section visible only to superuser role"
- "navigation: Active route highlighting required"
# Accessibility Requirements
accessibility: