From 081c845c5656232e5058f1673adfe24d6cec3162 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 10 Oct 2023 16:48:58 +0530 Subject: [PATCH] chore: Remove twitter actions (#8079) --- .../widgets/conversation/Message.vue | 4 ++ .../widgets/conversation/MessagesView.vue | 44 +------------------ .../widgets/conversation/ReplyBox.vue | 35 +-------------- .../widgets/conversation/bubble/Actions.vue | 19 +------- .../i18n/locale/en/conversation.json | 2 - .../dashboard/settings/inbox/Settings.vue | 33 ++++---------- app/javascript/shared/constants/busEvents.js | 1 - .../shared/helpers/MessageTypeHelper.js | 1 - 8 files changed, 17 insertions(+), 122 deletions(-) diff --git a/app/javascript/dashboard/components/widgets/conversation/Message.vue b/app/javascript/dashboard/components/widgets/conversation/Message.vue index 4b374c16d..32ad10bd4 100644 --- a/app/javascript/dashboard/components/widgets/conversation/Message.vue +++ b/app/javascript/dashboard/components/widgets/conversation/Message.vue @@ -324,6 +324,8 @@ export default { left: isLeftAligned, right: isRightAligned, 'has-context-menu': this.showContextMenu, + // this handles the offset required to align the context menu button + // extra alignment is required since a tweet message has a the user name and avatar below it 'has-tweet-menu': this.isATweet, 'has-bg': this.showBackgroundHighlight, }; @@ -620,6 +622,8 @@ li.right { } li.left.has-tweet-menu .context-menu { + // this handles the offset required to align the context menu button + // extra alignment is required since a tweet message has a the user name and avatar below it @apply mb-6; } diff --git a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue index d58742401..5da5408e4 100644 --- a/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue +++ b/app/javascript/dashboard/components/widgets/conversation/MessagesView.vue @@ -1,5 +1,5 @@