From b332f913a603d04ad09832f95769821100b31d10 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 10 Jun 2025 02:39:00 +0200 Subject: [PATCH] Add file attachment support to email composer - Add file browser integration for selecting attachments - Display attached files with remove functionality in composer - Include attachments in email sending process - Show attachment info in email thread display - Update server endpoints to handle file attachments - Minor UI improvements to EOI status badge layout --- components/EOISection.vue | 5 +- components/EmailComposer.vue | 84 ++++++++++++++++++++++++++++- components/InterestDetailsModal.vue | 36 +------------ server/api/email/fetch-thread.ts | 22 ++++---- server/api/email/send.ts | 38 +++++++++++-- 5 files changed, 134 insertions(+), 51 deletions(-) diff --git a/components/EOISection.vue b/components/EOISection.vue index dd1ff06..7a1b4ee 100644 --- a/components/EOISection.vue +++ b/components/EOISection.vue @@ -20,16 +20,15 @@ -
+
{{ interest['EOI Status'] }} - + Sent: {{ formatDate(interest['EOI Time Sent']) }}
diff --git a/components/EmailComposer.vue b/components/EmailComposer.vue index 97ea9bc..4cd96cc 100644 --- a/components/EmailComposer.vue +++ b/components/EmailComposer.vue @@ -35,6 +35,21 @@ placeholder="Type your message here..." /> + +
+
Attachments:
+ + mdi-paperclip + {{ file.name }} + +
+
mdi-form-select Insert Form Link + + mdi-paperclip + Attach File + + + + + + + Select Files to Attach + + + mdi-close + + + + + + + + Cancel + + +