From e7ab571c487fded9e2eab71ee53c3746bbbe5f3d Mon Sep 17 00:00:00 2001 From: Abhinav Raut Date: Wed, 11 Mar 2026 14:52:21 +0530 Subject: [PATCH] add reply guards, gravatar fallbacks for avatars, draft preview in conversation list, clickable agent avatars. Show sent messages immediately instead of waiting for WebSocket response. --- .../src/features/conversation/ReplyBox.vue | 175 ++++++++++++------ .../list/ConversationListItem.vue | 45 +++-- .../conversation/message/MessageBubble.vue | 33 +++- .../sidebar/ConversationSideBarContact.vue | 3 +- frontend/apps/main/src/stores/conversation.js | 58 +++++- .../src/views/contact/ContactDetailView.vue | 3 +- frontend/package.json | 3 +- frontend/pnpm-lock.yaml | 8 + frontend/shared-ui/utils/gravatar.js | 6 + i18n/da.json | 5 + i18n/de.json | 5 + i18n/en.json | 5 + i18n/es.json | 5 + i18n/fa.json | 5 + i18n/fr.json | 5 + i18n/it.json | 5 + i18n/ja.json | 5 + i18n/mr.json | 19 +- internal/conversation/models/models.go | 2 + internal/conversation/queries.sql | 5 +- 20 files changed, 313 insertions(+), 87 deletions(-) create mode 100644 frontend/shared-ui/utils/gravatar.js diff --git a/frontend/apps/main/src/features/conversation/ReplyBox.vue b/frontend/apps/main/src/features/conversation/ReplyBox.vue index 42147c64..6f13ea0a 100644 --- a/frontend/apps/main/src/features/conversation/ReplyBox.vue +++ b/frontend/apps/main/src/features/conversation/ReplyBox.vue @@ -1,4 +1,19 @@