From 9338bc13917d790455c8e66cb8557de6af850b27 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Fri, 4 Oct 2024 20:33:41 +0530 Subject: [PATCH] fix: emit events across the app (#10227) This PR makes the following changes 1. Update v-model bindings for components using the old `value` prop and `input` event method 2. Remove components that were not used anywhere --------- Co-authored-by: Muhsin Keloth --- .../components/ui/Dropdown/DropdownList.vue | 4 +- .../components/ui/Dropdown/DropdownSearch.vue | 20 ++-- .../AutomationActionTeamMessageInput.vue | 15 +-- .../helpcenter/components/Sidebar/Sidebar.vue | 5 +- .../components/Sidebar/SidebarSearch.vue | 63 ----------- .../agentBots/components/CSMLMonacoEditor.vue | 8 +- .../settings/profile/NotificationCheckBox.vue | 7 +- .../profile/NotificationPreferences.vue | 4 +- .../v3/components/Form/RadioTags.vue | 57 ---------- app/javascript/v3/components/Form/Switch.vue | 14 +-- .../v3/components/Form/Textarea.vue | 10 +- .../widget/components/Form/Input.vue | 100 ------------------ .../widget/components/Form/TextArea.vue | 91 ---------------- 13 files changed, 44 insertions(+), 354 deletions(-) delete mode 100644 app/javascript/dashboard/routes/dashboard/helpcenter/components/Sidebar/SidebarSearch.vue delete mode 100644 app/javascript/v3/components/Form/RadioTags.vue delete mode 100644 app/javascript/widget/components/Form/Input.vue delete mode 100644 app/javascript/widget/components/Form/TextArea.vue diff --git a/app/javascript/dashboard/components/ui/Dropdown/DropdownList.vue b/app/javascript/dashboard/components/ui/Dropdown/DropdownList.vue index 0ecb6bf08..e6de8e1b1 100644 --- a/app/javascript/dashboard/components/ui/Dropdown/DropdownList.vue +++ b/app/javascript/dashboard/components/ui/Dropdown/DropdownList.vue @@ -84,10 +84,10 @@ const shouldShowEmptyState = computed(() => { diff --git a/app/javascript/dashboard/components/ui/Dropdown/DropdownSearch.vue b/app/javascript/dashboard/components/ui/Dropdown/DropdownSearch.vue index 67ed6820c..6c663ae6c 100644 --- a/app/javascript/dashboard/components/ui/Dropdown/DropdownSearch.vue +++ b/app/javascript/dashboard/components/ui/Dropdown/DropdownSearch.vue @@ -1,10 +1,6 @@