From df7ec2f596ea6159264b8daf9d8ab497aae9429e Mon Sep 17 00:00:00 2001 From: iamsivin Date: Tue, 23 Jun 2026 11:14:42 +0530 Subject: [PATCH] feat: updated the contact details page layout --- .../Contacts/ContactsDetailsLayout.vue | 94 +-------- .../ContactCustomAttributes.vue | 48 +++-- .../ContactsSidebar/ContactHistory.vue | 32 +-- .../Contacts/ContactsSidebar/ContactMedia.vue | 15 +- .../Contacts/ContactsSidebar/ContactMerge.vue | 70 +++---- .../Contacts/ContactsSidebar/ContactNotes.vue | 109 +++++++---- .../ContactsSidebar/ContactSidebarSection.vue | 43 ++++ .../Contacts/Pages/ContactDetails.vue | 183 +++++++++++++----- .../Contacts/Pages/ContactStats.vue | 75 +++++++ .../SharedAttachments/Media.vue | 13 +- .../dashboard/i18n/locale/en/contact.json | 15 ++ .../contacts/pages/ContactManageView.vue | 68 +------ 12 files changed, 449 insertions(+), 316 deletions(-) create mode 100644 app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactSidebarSection.vue create mode 100644 app/javascript/dashboard/components-next/Contacts/Pages/ContactStats.vue diff --git a/app/javascript/dashboard/components-next/Contacts/ContactsDetailsLayout.vue b/app/javascript/dashboard/components-next/Contacts/ContactsDetailsLayout.vue index 44fafb6c5..2a59ec40c 100644 --- a/app/javascript/dashboard/components-next/Contacts/ContactsDetailsLayout.vue +++ b/app/javascript/dashboard/components-next/Contacts/ContactsDetailsLayout.vue @@ -1,8 +1,7 @@ diff --git a/app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactCustomAttributes.vue b/app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactCustomAttributes.vue index 1a9246e27..6731364b8 100644 --- a/app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactCustomAttributes.vue +++ b/app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactCustomAttributes.vue @@ -5,6 +5,7 @@ import { useMapGetter } from 'dashboard/composables/store'; import { useUISettings } from 'dashboard/composables/useUISettings'; import ContactCustomAttributeItem from 'dashboard/components-next/Contacts/ContactsSidebar/ContactCustomAttributeItem.vue'; +import ContactSidebarSection from 'dashboard/components-next/Contacts/ContactsSidebar/ContactSidebarSection.vue'; const props = defineProps({ selectedContact: { @@ -108,8 +109,12 @@ const hasNoUsedAttributes = computed(() => usedAttributes.value.length === 0);