diff --git a/CLAUDE.md b/CLAUDE.md index 41bc39a4..f7c85503 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -54,7 +54,7 @@ cd backend cd frontend npm install -npm run dev # Dev server (port 3000) +npm run dev # Dev server (port 5173) npm run build # Production build npm run preview # Preview production build @@ -181,21 +181,28 @@ Input DTOs live flat in the domain package. Response types are the model entitie ``` frontend/src/routes/ -├── +layout.svelte Global header (sticky), nav links, logout -├── +layout.server.ts Loads current user, injects auth cookie -├── +page.svelte Home / document search -├── +page.server.ts Load: search documents; no actions +├── +layout.svelte / +layout.server.ts Global layout, auth cookie +├── +page.svelte / +page.server.ts Home / document search dashboard ├── documents/ -│ ├── [id]/+page.svelte Document detail (view + file preview) -│ └── [id]/edit/ Edit form (all metadata + file upload) -│ └── new/ Create form (same fields, empty) +│ ├── [id]/ Document detail (view + file preview) +│ ├── [id]/edit/ Edit form (all metadata + file upload) +│ ├── new/ Upload form +│ └── bulk-edit/ Multi-document edit ├── persons/ -│ ├── +page.svelte Person list with search -│ ├── [id]/+page.svelte Person detail (inline edit + merge) +│ ├── [id]/ Person detail +│ ├── [id]/edit/ Person edit form │ └── new/ Create person form -├── conversations/ Bilateral conversation timeline -├── admin/ User + group + tag management -└── login/ logout/ Auth pages +├── briefwechsel/ Bilateral conversation timeline (Briefwechsel) +├── aktivitaeten/ Unified activity feed (Chronik) +├── geschichten/ Stories — list, [id], [id]/edit, new +├── stammbaum/ Family tree (Stammbaum) +├── enrich/ Enrichment workflow — [id], done +├── admin/ User, group, tag, OCR, system management +├── hilfe/transkription/ Transcription help page +├── profile/ User profile settings +├── login/ logout/ register/ +├── forgot-password/ reset-password/ +└── demo/ Dev-only demos ``` ### API Client Pattern @@ -235,20 +242,20 @@ Brand color utilities (defined in `layout.css`): | Class | Value | Usage | | ------------ | --------- | -------------------------------- | -| `brand-navy` | `#002850` | Primary text, buttons, headers | -| `brand-mint` | `#A6DAD8` | Accents, hover underlines, icons | -| `brand-sand` | `#E4E2D7` | Page background, card borders | +| `brand-navy` | `#012851` | Primary text, buttons, headers | +| `brand-mint` | `#a1dcd8` | Accents, hover underlines, icons | +| `brand-sand` | `#f0efe9` | Page background (palette alias) | Typography: -- `font-serif` (Merriweather) — body text, document titles, names +- `font-serif` (Tinos) — body text, document titles, names - `font-sans` (Montserrat) — labels, metadata, UI chrome Card pattern for content sections: ```svelte -
-

Section Title

+
+

Section Title

``` diff --git a/frontend/CLAUDE.md b/frontend/CLAUDE.md index 0061686a..677e7caa 100644 --- a/frontend/CLAUDE.md +++ b/frontend/CLAUDE.md @@ -30,7 +30,7 @@ src/ │ ├── documents/ # Document CRUD, detail, edit, upload │ ├── persons/ # Person directory, detail, edit, merge │ ├── briefwechsel/ # Bilateral conversation timeline -│ ├── chronik/ # Unified activity feed +│ ├── aktivitaeten/ # Unified activity feed (Chronik) │ ├── admin/ # User, group, tag, OCR, system management │ ├── api/ # Internal API proxies (server-side only) │ ├── login/ logout/ # Auth pages @@ -106,20 +106,20 @@ Brand color utilities (defined in `layout.css`): | Class | Value | Usage | | ------------ | --------- | -------------------------------- | -| `brand-navy` | `#002850` | Primary text, buttons, headers | -| `brand-mint` | `#A6DAD8` | Accents, hover underlines, icons | -| `brand-sand` | `#E4E2D7` | Page background, card borders | +| `brand-navy` | `#012851` | Primary text, buttons, headers | +| `brand-mint` | `#a1dcd8` | Accents, hover underlines, icons | +| `brand-sand` | `#f0efe9` | Page background (palette alias) | Typography: -- `font-serif` (Merriweather) — body text, document titles, names +- `font-serif` (Tinos) — body text, document titles, names - `font-sans` (Montserrat) — labels, metadata, UI chrome Card pattern for content sections: ```svelte -
-

Section

+
+

Section

``` @@ -137,7 +137,7 @@ Card pattern for content sections: ```bash cd frontend npm install -npm run dev # Dev server on port 5173 (or 3000 if --port 3000) +npm run dev # Dev server on port 5173 ``` ### Build & Preview