docs: Add ASCII wireframe mockups for all frontend pages
Covers: app layout, initiatives list, initiative detail (4 tabs), agents page, inbox, settings (health + projects), and all dialogs.
This commit is contained in:
68
docs/wireframes/app-layout.md
Normal file
68
docs/wireframes/app-layout.md
Normal file
@@ -0,0 +1,68 @@
|
||||
# App Layout
|
||||
|
||||
Global shell wrapping all pages. Fixed header with navigation, scrollable content area.
|
||||
|
||||
```
|
||||
+============================================================================+
|
||||
| CODEWALK DISTRICT |
|
||||
|----------------------------------------------------------------------------|
|
||||
| [ Initiatives ] [ Agents ] [ Inbox ] [ Settings ] |
|
||||
+============================================================================+
|
||||
| |
|
||||
| max-w-7xl padded content |
|
||||
| |
|
||||
| <Page Outlet> |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
| |
|
||||
+============================================================================+
|
||||
```
|
||||
|
||||
## Header Bar (56px, sticky, backdrop-blur)
|
||||
|
||||
```
|
||||
+============================================================================+
|
||||
| [logo] Codewalk District |
|
||||
| |
|
||||
| [Initiatives] [Agents] [Inbox] [Settings] |
|
||||
| ^^^^^^^^^^ |
|
||||
| bg-muted when active |
|
||||
+============================================================================+
|
||||
```
|
||||
|
||||
- Logo links to `/initiatives`
|
||||
- Active tab gets `bg-muted` highlight
|
||||
- Tabs are horizontal links below the wordmark
|
||||
|
||||
## Error States
|
||||
|
||||
### 404 Page
|
||||
```
|
||||
+============================================================================+
|
||||
| CODEWALK DISTRICT |
|
||||
| [ Initiatives ] [ Agents ] [ Inbox ] [ Settings ] |
|
||||
+============================================================================+
|
||||
| |
|
||||
| |
|
||||
| (!) Page not found |
|
||||
| |
|
||||
| [ Back to Dashboard ] |
|
||||
| |
|
||||
| |
|
||||
+============================================================================+
|
||||
```
|
||||
|
||||
## Components
|
||||
|
||||
- `<Toaster>` (sonner) renders globally for toast notifications (bottom-right)
|
||||
- `<ErrorBoundary>` wraps the outlet
|
||||
|
||||
## Source
|
||||
|
||||
- `packages/web/src/layouts/AppLayout.tsx`
|
||||
- `packages/web/src/routes/__root.tsx`
|
||||
Reference in New Issue
Block a user