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