Spaces:
Running
Running
| # Components | |
| UI components organized by feature/responsibility | |
| ## Purpose | |
| - Declarative UI components | |
| - Single responsibility per component | |
| - Clean props/events interface | |
| ## Layout | |
| ``` | |
| components/ | |
| βββ context.md # This file | |
| βββ auth/ # Authentication UI components | |
| βββ chat/ # AI chat interface | |
| βββ console/ # Console display components | |
| βββ editor/ # Code editor wrapper | |
| βββ game/ # Game canvas and errors | |
| βββ layout/ # App layout components | |
| βββ Editor.svelte # Monaco editor (legacy) | |
| ``` | |
| ## Scope | |
| - In-scope: UI rendering, user interactions | |
| - Out-of-scope: Business logic, direct state mutations | |
| ## Entrypoints | |
| - `AppHeader.svelte` - Top navigation bar with auth | |
| - `LoginButton.svelte` - OAuth authentication button | |
| - `ChatPanel.svelte` - AI chat interface | |
| - `SplitView.svelte` - Main layout container | |
| - `ConsolePanel.svelte` - Console output display | |
| - `GameCanvas.svelte` - Game rendering area | |
| - `CodeEditor.svelte` - Code editing interface | |
| ## Dependencies | |
| - Stores for reactive state | |
| - Services for operations | |
| - GSAP for animations | |
| - svelte-splitpanes for layout | |