diff --git a/apps/chat/apps/web/src/lib/components/chat/ChatInput.svelte b/apps/chat/apps/web/src/lib/components/chat/ChatInput.svelte index 30481857f..7410a7c3c 100644 --- a/apps/chat/apps/web/src/lib/components/chat/ChatInput.svelte +++ b/apps/chat/apps/web/src/lib/components/chat/ChatInput.svelte @@ -1,17 +1,41 @@
- {formatDate(conv.updated_at || conv.created_at)} + {formatDate(conv.updatedAt || conv.createdAt)} - {#if conv.document_mode} - - Dokument - - {/if} +
+ {#if conv.documentMode} + + Dokument + + {/if} + +
+ + +
+
{/each} diff --git a/apps/chat/apps/web/src/lib/components/chat/ConversationList.svelte b/apps/chat/apps/web/src/lib/components/chat/ConversationList.svelte index 17fe8752b..483f63ca1 100644 --- a/apps/chat/apps/web/src/lib/components/chat/ConversationList.svelte +++ b/apps/chat/apps/web/src/lib/components/chat/ConversationList.svelte @@ -77,7 +77,7 @@ {truncateTitle(conv.title || 'Neue Konversation')} - {formatDate(conv.updated_at || conv.created_at)} + {formatDate(conv.updatedAt || conv.createdAt)}
diff --git a/apps/chat/apps/web/src/lib/components/chat/MessageBubble.svelte b/apps/chat/apps/web/src/lib/components/chat/MessageBubble.svelte index 24643b4fb..fcfd2a27b 100644 --- a/apps/chat/apps/web/src/lib/components/chat/MessageBubble.svelte +++ b/apps/chat/apps/web/src/lib/components/chat/MessageBubble.svelte @@ -1,6 +1,7 @@ -
+
+
{#if isUser} -

{message.message_text}

+ {:else} -
- {@html htmlContent} -
+ {/if} -
- {formattedTime} +
+ + +
+ +
+ {#if isUser} +

{message.messageText}

+ {:else} +
+ {@html htmlContent} +
+ {/if} +
+ + +
+ + {formattedTime} +
+ + diff --git a/apps/chat/apps/web/src/lib/components/chat/ModelSelector.svelte b/apps/chat/apps/web/src/lib/components/chat/ModelSelector.svelte index d4160c063..590165a4d 100644 --- a/apps/chat/apps/web/src/lib/components/chat/ModelSelector.svelte +++ b/apps/chat/apps/web/src/lib/components/chat/ModelSelector.svelte @@ -22,11 +22,11 @@ value={selectedModelId} onchange={handleChange} {disabled} - class="appearance-none bg-muted text-foreground - text-sm rounded-lg px-3 py-2 pr-8 border border-border - focus:outline-none focus:ring-2 focus:ring-primary focus:border-transparent + class="appearance-none bg-white/80 dark:bg-white/10 backdrop-blur-xl text-foreground + text-sm font-medium rounded-xl px-4 py-2.5 pr-9 border border-black/10 dark:border-white/20 + focus:outline-none focus:ring-2 focus:ring-primary/50 disabled:opacity-50 disabled:cursor-not-allowed - cursor-pointer min-w-[160px]" + cursor-pointer min-w-[160px] shadow-md hover:shadow-lg transition-all" > {#if models.length === 0} @@ -36,7 +36,7 @@ {/each} {/if} -
- +
+
diff --git a/apps/chat/apps/web/src/lib/components/chat/TypingIndicator.svelte b/apps/chat/apps/web/src/lib/components/chat/TypingIndicator.svelte index ce1561730..27b3d1167 100644 --- a/apps/chat/apps/web/src/lib/components/chat/TypingIndicator.svelte +++ b/apps/chat/apps/web/src/lib/components/chat/TypingIndicator.svelte @@ -1,27 +1,56 @@ -
-
-
-
-
-
+
+ +
+ +
+ + +
+
+
+
+
+
+