From e2ec45f8198e7084f0be226c4815d5a408cf13f5 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 2 Jun 2026 20:37:14 +0200 Subject: [PATCH] refactor(document): move ConversationThumbnail into lib/document With the Briefwechsel view gone, lib/conversation/ held a single shared component whose only consumer is lib/document/ThumbnailRow. Move it (and its spec) into lib/document/, update the import, delete the now-empty lib/conversation/ folder, and fix the stale frontend/CLAUDE.md lib map. Co-Authored-By: Claude Opus 4.8 --- frontend/CLAUDE.md | 1 - .../lib/{conversation => document}/ConversationThumbnail.svelte | 0 .../ConversationThumbnail.svelte.spec.ts | 0 frontend/src/lib/document/ThumbnailRow.svelte | 2 +- 4 files changed, 1 insertion(+), 2 deletions(-) rename frontend/src/lib/{conversation => document}/ConversationThumbnail.svelte (100%) rename frontend/src/lib/{conversation => document}/ConversationThumbnail.svelte.spec.ts (100%) diff --git a/frontend/CLAUDE.md b/frontend/CLAUDE.md index 92ae7396..d6a7915a 100644 --- a/frontend/CLAUDE.md +++ b/frontend/CLAUDE.md @@ -53,7 +53,6 @@ src/ │ ├── geschichte/ # Geschichte (story) domain: editor + card │ ├── notification/ # Notification bell + dropdown + store │ ├── activity/ # Activity feed (Chronik) components -│ ├── conversation/ # Bilateral conversation (Briefwechsel) components │ ├── ocr/ # OCR progress, training cards, trigger │ ├── user/ # User profile/password/groups section components │ ├── shared/ # Cross-domain utilities and primitives diff --git a/frontend/src/lib/conversation/ConversationThumbnail.svelte b/frontend/src/lib/document/ConversationThumbnail.svelte similarity index 100% rename from frontend/src/lib/conversation/ConversationThumbnail.svelte rename to frontend/src/lib/document/ConversationThumbnail.svelte diff --git a/frontend/src/lib/conversation/ConversationThumbnail.svelte.spec.ts b/frontend/src/lib/document/ConversationThumbnail.svelte.spec.ts similarity index 100% rename from frontend/src/lib/conversation/ConversationThumbnail.svelte.spec.ts rename to frontend/src/lib/document/ConversationThumbnail.svelte.spec.ts diff --git a/frontend/src/lib/document/ThumbnailRow.svelte b/frontend/src/lib/document/ThumbnailRow.svelte index a5255112..440f58bd 100644 --- a/frontend/src/lib/document/ThumbnailRow.svelte +++ b/frontend/src/lib/document/ThumbnailRow.svelte @@ -1,5 +1,5 @@