From b0237bc2c842585f6144dddcfb662d0fe4562d69 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 15 Jul 2024 17:10:36 +0530 Subject: [PATCH 01/21] style: email content new design --- frontend/src/components/Activities.vue | 124 +++++++++++++------------ 1 file changed, 65 insertions(+), 59 deletions(-) diff --git a/frontend/src/components/Activities.vue b/frontend/src/components/Activities.vue index 8df55c2d..e7db38f6 100644 --- a/frontend/src/components/Activities.vue +++ b/frontend/src/components/Activities.vue @@ -434,7 +434,7 @@ ]" >
+
-
+
- {{ activity.data.sender_full_name }} - · - -
- {{ __(timeAgo(activity.creation)) }} -
-
+ + {{ '<' + activity.data.sender + '>' }} +
-
- -
- -
-
- -
- +
+ +
+ {{ __(timeAgo(activity.creation)) }}
+
+ +
+ +
+
+ +
+ +
+
+
-
- {{ activity.data.subject }} -
-
- - {{ __('TO') }}: - - {{ activity.data.recipients }} - , - - {{ __('CC') }}: - - {{ activity.data.cc }} - , - - {{ __('BCC') }}: - - {{ activity.data.bcc }} +
+
+ {{ __('To') }}: + {{ activity.data.recipients }} + , + + {{ __('CC') }}: + + {{ activity.data.cc }} + , + + {{ __('BCC') }}: + + {{ activity.data.bcc }} +
+
+ {{ __('Subject') }}: + {{ activity.data.subject }} +
+
.

') - .updateAttributes('paragraph', {class:'reply-to-content'}) + .updateAttributes('paragraph', { class: 'reply-to-content' }) .insertContent(repliedMessage) .focus('all') .insertContentAt(0, { type: 'paragraph' }) From 24206a82b61bf76273cb874a5031d8755b8d292d Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 15 Jul 2024 17:25:54 +0530 Subject: [PATCH 02/21] style: comment content new design --- frontend/src/components/Activities.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/Activities.vue b/frontend/src/components/Activities.vue index e7db38f6..a3db0cab 100644 --- a/frontend/src/components/Activities.vue +++ b/frontend/src/components/Activities.vue @@ -434,9 +434,9 @@ ]" >
+
@@ -556,9 +556,10 @@ v-else-if="activity.activity_type == 'comment'" >
-
+
+ {{ activity.owner_name }} @@ -576,7 +577,7 @@
Date: Mon, 15 Jul 2024 18:48:12 +0530 Subject: [PATCH 03/21] style: show other version changes new design --- frontend/src/components/Activities.vue | 187 ++++++++++--------- frontend/src/components/Icons/SelectIcon.vue | 16 ++ 2 files changed, 112 insertions(+), 91 deletions(-) create mode 100644 frontend/src/components/Icons/SelectIcon.vue diff --git a/frontend/src/components/Activities.vue b/frontend/src/components/Activities.vue index a3db0cab..d71bcb69 100644 --- a/frontend/src/components/Activities.vue +++ b/frontend/src/components/Activities.vue @@ -426,15 +426,10 @@
-
+
@@ -688,9 +684,32 @@
-
-
-
+
+
+
+
+ {{ activity.show_others ? __('Hide') : __('Show') }} + +{{ activity.other_versions.length + 1 }} + {{ __('changes from') }} + {{ activity.owner_name }} +
+ +
+
{{ activity.owner_name }} @@ -745,85 +764,71 @@
-
-
- - {{ __(activity.data.field_label) }} - - -
-
- {{ - startCase(__(activity.type)) - }} - -
- - {{ getUser(activity.data.old_value).full_name }} -
-
- {{ activity.data.old_value }} -
-
- {{ __('to') }} - -
- - {{ getUser(activity.data.value).full_name }} -
-
- {{ activity.data.value }} -
-
-
-
- -
- -
- {{ __(timeAgo(activity.creation)) }} -
-
-
-
-
- +
+
+ + {{ __(activity.data.field_label) }} + + +
+
+ {{ + startCase(__(activity.type)) + }} + +
+ + {{ getUser(activity.data.old_value).full_name }} +
+
+ {{ activity.data.old_value }} +
+
+ {{ __('to') }} + +
+ + {{ getUser(activity.data.value).full_name }} +
+
+ {{ activity.data.value }} +
+
+
+
+ +
+ +
+ {{ __(timeAgo(activity.creation)) }} +
+
+
+
@@ -919,7 +924,7 @@ import LeadsIcon from '@/components/Icons/LeadsIcon.vue' import DealsIcon from '@/components/Icons/DealsIcon.vue' import DotIcon from '@/components/Icons/DotIcon.vue' import CommentIcon from '@/components/Icons/CommentIcon.vue' -import EmailAtIcon from '@/components/Icons/EmailAtIcon.vue' +import SelectIcon from '@/components/Icons/SelectIcon.vue' import InboundCallIcon from '@/components/Icons/InboundCallIcon.vue' import OutboundCallIcon from '@/components/Icons/OutboundCallIcon.vue' import ReplyIcon from '@/components/Icons/ReplyIcon.vue' diff --git a/frontend/src/components/Icons/SelectIcon.vue b/frontend/src/components/Icons/SelectIcon.vue new file mode 100644 index 00000000..8d9c308c --- /dev/null +++ b/frontend/src/components/Icons/SelectIcon.vue @@ -0,0 +1,16 @@ + From 8c0247b1a2c0431b749fb853a4ebee7d5699689c Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Mon, 15 Jul 2024 18:48:36 +0530 Subject: [PATCH 04/21] style: removed faded bottom in email content --- frontend/src/components/EmailContent.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/frontend/src/components/EmailContent.vue b/frontend/src/components/EmailContent.vue index 310a452b..d4466480 100644 --- a/frontend/src/components/EmailContent.vue +++ b/frontend/src/components/EmailContent.vue @@ -2,15 +2,7 @@