+
+
+
{{ t('CONTACTS_LAYOUT.SIDEBAR.MERGE.TITLE') }}
-
+
{{ t('CONTACTS_LAYOUT.SIDEBAR.MERGE.DESCRIPTION') }}
@@ -126,13 +126,6 @@ const onMergeContacts = async () => {
@search="onContactSearch"
/>
-
diff --git a/app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactNotes.vue b/app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactNotes.vue
index 789aba1c8..0034704d3 100644
--- a/app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactNotes.vue
+++ b/app/javascript/dashboard/components-next/Contacts/ContactsSidebar/ContactNotes.vue
@@ -55,12 +55,12 @@ useKeyboardEvents(keyboardEvents);
-
+
@@ -87,7 +87,7 @@ useKeyboardEvents(keyboardEvents);
{
-
-
+
+
-
+
{{ selectedContact?.name }}
@@ -140,27 +141,41 @@ const handleAvatarDelete = async () => {
v-if="selectedContact?.identifier"
class="inline-flex items-center gap-1 text-sm text-n-slate-11"
>
-
+
{{ selectedContact?.identifier }}
-
-
+
- {{ $t('CONTACTS_LAYOUT.DETAILS.CREATED_AT', { date: createdAt }) }}
- •
- {{
- $t('CONTACTS_LAYOUT.DETAILS.LAST_ACTIVITY', {
- date: lastActivityAt,
- })
- }}
+
+
+ {{
+ $t('CONTACTS_LAYOUT.DETAILS.CREATED_AT', { date: createdAt })
+ }}
+
+
+
+ {{
+ $t('CONTACTS_LAYOUT.DETAILS.LAST_ACTIVITY', {
+ date: lastActivityAt,
+ })
+ }}
+
+
-
+
{
@click="updateContact"
/>
-
+
+
{{ t('CONTACTS_LAYOUT.DETAILS.DELETE_CONTACT') }}
-
+
{{ t('CONTACTS_LAYOUT.DETAILS.DELETE_CONTACT_DESCRIPTION') }}
diff --git a/app/javascript/dashboard/components-next/Contacts/VoiceCallButton.vue b/app/javascript/dashboard/components-next/Contacts/VoiceCallButton.vue
index dcde1cc45..85738d9de 100644
--- a/app/javascript/dashboard/components-next/Contacts/VoiceCallButton.vue
+++ b/app/javascript/dashboard/components-next/Contacts/VoiceCallButton.vue
@@ -101,7 +101,6 @@ const onPickInbox = async inbox => {
:label="label"
:icon="icon"
:size="size"
- class="!px-2"
@click="onClick"
/>
diff --git a/app/javascript/dashboard/components-next/CustomAttributes/ListAttribute.vue b/app/javascript/dashboard/components-next/CustomAttributes/ListAttribute.vue
index 2961bdd14..22a6cabe6 100644
--- a/app/javascript/dashboard/components-next/CustomAttributes/ListAttribute.vue
+++ b/app/javascript/dashboard/components-next/CustomAttributes/ListAttribute.vue
@@ -78,6 +78,7 @@ const handleAttributeAction = async action => {
:menu-items="attributeListMenuItems"
show-search
class="w-48 mt-2 top-full ltr:right-0 rtl:left-0"
+ @click.stop
@action="handleAttributeAction($event)"
/>
diff --git a/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue b/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue
index 420be1438..c396630f9 100644
--- a/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue
+++ b/app/javascript/dashboard/components-next/phonenumberinput/PhoneNumberInput.vue
@@ -12,6 +12,8 @@ import {
import Input from 'dashboard/components-next/input/Input.vue';
import Button from 'dashboard/components-next/button/Button.vue';
+import Flag from 'dashboard/components-next/flag/Flag.vue';
+import Icon from 'dashboard/components-next/icon/Icon.vue';
import DropdownMenu from 'dashboard/components-next/dropdown-menu/DropdownMenu.vue';
const props = defineProps({
@@ -27,6 +29,10 @@ const props = defineProps({
type: Boolean,
default: true,
},
+ compact: {
+ type: Boolean,
+ default: true,
+ },
});
const modelValue = defineModel({
@@ -67,7 +73,6 @@ const countryList = computed(() => {
value: country.id,
label: country.name,
dialCode: country.dial_code,
- emoji: country.emoji,
isSelected: String(activeCountryCode.value) === String(country.id),
action: 'phoneNumberInput',
}));
@@ -163,39 +168,56 @@ watch(
-
- {{ activeCountry?.emoji }}
-
+
+
+
+
+
+ >
+
+
+
+
{
@go-to-contacts-list="goToContactsList"
/>
-
+
{{ t('CONTACTS_LAYOUT.SIDEBAR.MERGE.TITLE') }}
-+
{{ t('CONTACTS_LAYOUT.SIDEBAR.MERGE.DESCRIPTION') }}
{{ selectedContact?.name }}
@@ -140,27 +141,41 @@ const handleAvatarDelete = async () => { v-if="selectedContact?.identifier" class="inline-flex items-center gap-1 text-sm text-n-slate-11" > - +{{ t('CONTACTS_LAYOUT.DETAILS.DELETE_CONTACT') }}
- + {{ t('CONTACTS_LAYOUT.DETAILS.DELETE_CONTACT_DESCRIPTION') }} {
@go-to-contacts-list="goToContactsList"
/>
-