From 58aa8e5a137beccf9d61d1111305815a48ce6053 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 25 Jan 2024 14:33:40 +0530 Subject: [PATCH 1/2] feat: Comment Box --- frontend/src/components/CommentBox.vue | 169 ++++++++++++++++++ frontend/src/components/CommunicationArea.vue | 129 ++++++++++--- frontend/src/components/EmailEditor.vue | 8 +- 3 files changed, 280 insertions(+), 26 deletions(-) create mode 100644 frontend/src/components/CommentBox.vue diff --git a/frontend/src/components/CommentBox.vue b/frontend/src/components/CommentBox.vue new file mode 100644 index 00000000..8681d419 --- /dev/null +++ b/frontend/src/components/CommentBox.vue @@ -0,0 +1,169 @@ + + diff --git a/frontend/src/components/CommunicationArea.vue b/frontend/src/components/CommunicationArea.vue index 2e6b7b5d..464f9e17 100644 --- a/frontend/src/components/CommunicationArea.vue +++ b/frontend/src/components/CommunicationArea.vue @@ -4,21 +4,26 @@ - + -
+
+
+ +
diff --git a/frontend/src/components/EmailEditor.vue b/frontend/src/components/EmailEditor.vue index 8531748a..b6ab748e 100644 --- a/frontend/src/components/EmailEditor.vue +++ b/frontend/src/components/EmailEditor.vue @@ -18,7 +18,7 @@
TO: CC:
-
+
BCC: From a4613c569926aadc65f20c6260da8e90f8b1daae Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 25 Jan 2024 19:59:00 +0530 Subject: [PATCH 2/2] fix: allow mentions in comment --- frontend/src/components/CommentBox.vue | 15 +++++++++++++++ frontend/src/stores/users.js | 1 - 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/CommentBox.vue b/frontend/src/components/CommentBox.vue index 8681d419..2f3ea28c 100644 --- a/frontend/src/components/CommentBox.vue +++ b/frontend/src/components/CommentBox.vue @@ -7,6 +7,7 @@ :starterkit-options="{ heading: { levels: [2, 3, 4, 5, 6] } }" :placeholder="placeholder" :editable="editable" + :mentions="users" >