43 lines
981 B
YAML
43 lines
981 B
YAML
task_id: task_create_component_sidebar
|
|
entity_id: component_sidebar
|
|
generated_at: '2025-12-19T06:08:12.188568'
|
|
workflow_version: v001
|
|
target:
|
|
type: component
|
|
definition:
|
|
id: component_sidebar
|
|
name: Sidebar
|
|
props:
|
|
- name: activePath
|
|
type: string
|
|
required: true
|
|
description: Current route path for highlighting
|
|
events:
|
|
- name: onNavigate
|
|
payload: string
|
|
description: Fired when navigation item clicked
|
|
uses_apis: []
|
|
uses_components: []
|
|
internal_state:
|
|
- isCollapsed
|
|
variants:
|
|
- default
|
|
related:
|
|
models: []
|
|
apis: []
|
|
components: []
|
|
dependencies:
|
|
entity_ids: []
|
|
definitions: []
|
|
files:
|
|
to_create:
|
|
- app/components/Sidebar.tsx
|
|
reference: []
|
|
acceptance:
|
|
- criterion: Component renders without errors
|
|
verification: Import and render in test
|
|
- criterion: Props are typed correctly
|
|
verification: TypeScript compilation
|
|
- criterion: Events fire correctly
|
|
verification: Test event handlers
|