diff --git a/app/src/lib/components/ChatBoxAndWidget.svelte b/app/src/lib/components/ChatBoxAndWidget.svelte index a55f936..b95c477 100644 --- a/app/src/lib/components/ChatBoxAndWidget.svelte +++ b/app/src/lib/components/ChatBoxAndWidget.svelte @@ -12,14 +12,17 @@ + + + + + + handleFileSelect(e.currentTarget.files)} +/> diff --git a/app/src/lib/components/ChatBoxAttachmentPreview.svelte b/app/src/lib/components/ChatBoxAttachmentPreview.svelte new file mode 100644 index 0000000..0d17317 --- /dev/null +++ b/app/src/lib/components/ChatBoxAttachmentPreview.svelte @@ -0,0 +1,43 @@ + + +
{file.name}
++ {formatFileSize(file.size)} • {file.type || 'text/plain'} +
+