From 7c5696ee75b18296f2cda5822be5f3beaceb17d3 Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Thu, 30 May 2024 14:09:05 +0530 Subject: [PATCH] fix: scroll to bottom in each tab --- frontend/src/components/Activities.vue | 683 ++++++++++++------------- 1 file changed, 339 insertions(+), 344 deletions(-) diff --git a/frontend/src/components/Activities.vue b/frontend/src/components/Activities.vue index 1baf58a1..9e8a2b31 100644 --- a/frontend/src/components/Activities.vue +++ b/frontend/src/components/Activities.vue @@ -102,11 +102,11 @@ >
@@ -156,10 +156,10 @@
-
+
-
+
@@ -313,7 +310,7 @@
-
+
-
- -
-
-
-
-
-
- - {{ activity.data.sender_full_name }} - · - -
- {{ __(timeAgo(activity.creation)) }} -
-
- -
-
- - - - - - -
-
-
- {{ activity.data.subject }} -
-
- - {{ __('TO') }}: - - {{ activity.data.recipients }} - , - - {{ __('CC') }}: - - {{ activity.data.cc }} - , - - {{ __('BCC') }}: - - {{ activity.data.bcc }} -
-
+
+
+
-
-
- - {{ activity.owner_name }} - - {{ __('added a') }} - - {{ __('comment') }} - -
-
+
+
+ + {{ activity.data.sender_full_name }} + ·
{{ __(timeAgo(activity.creation)) }}
-
-
-
-
-
-
+
+ + + + + + +
+
+
+ {{ activity.data.subject }} +
+
+ + {{ __('TO') }}: + + {{ activity.data.recipients }} + , + + {{ __('CC') }}: + + {{ activity.data.cc }} + , + + {{ __('BCC') }}: + + {{ activity.data.bcc }} +
+
+
+
+
+
+ + {{ activity.owner_name }} + + {{ __('added a') }} + + {{ __('comment') }} + +
+
+ +
+ {{ __(timeAgo(activity.creation)) }} +
+
-
-
+
+
+ +
+
+
+
+
+
+ {{ + activity.type == 'Incoming' + ? __('Inbound Call') + : __('Outbound Call') + }} +
+
+ +
+ {{ __(timeAgo(activity.creation)) }} +
+
+
+
+
+
+ +
{{ __('Duration') }}
+
+ {{ activity.duration }} +
+
+
+ +
{{ - activity.type == 'Incoming' - ? __('Inbound Call') - : __('Outbound Call') + activity.show_recording + ? __('Hide Recording') + : __('Listen to Call') }}
-
- -
- {{ __(timeAgo(activity.creation)) }} -
-
-
-
-
- -
{{ __('Duration') }}
-
- {{ activity.duration }} -
-
-
- -
- {{ - activity.show_recording - ? __('Hide Recording') - : __('Listen to Call') - }} -
-
-
-
- -
-
-
- -
-
- {{ __(activity.caller.label) }} -
-
- {{ activity.from }} -
-
-
- +
+ +
+
+
+ -
- -
-
- {{ __(activity.receiver.label) }} -
-
- {{ activity.to }} -
+
+
+ {{ __(activity.caller.label) }} +
+
+ {{ activity.from }} +
+
+
+ +
+ +
+
+ {{ __(activity.receiver.label) }} +
+
+ {{ activity.to }}
-
-
-
- - {{ activity.owner_name }} - - {{ __(activity.type) }} +
+
+
+
+ + {{ activity.owner_name }} + + {{ __(activity.type) }} + + {{ __(activity.data.field_label) }} + + {{ __(activity.value) }} + +
+ + {{ 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) }} - {{ __(activity.value) }} + +
+
+ {{ + startCase(__(activity.type)) + }}
- -
- -
- {{ __(timeAgo(activity.creation)) }} -
-
-
-
+ +
+ {{ __(timeAgo(activity.creation)) }} +
+
+
+
+
+
-
- -
+ +