feat(captain-memory): wire Contact Memories section into conversation sidebar
This commit is contained in:
parent
5874029a03
commit
b07486c430
@ -9,6 +9,7 @@ export const DEFAULT_CONVERSATION_SIDEBAR_ITEMS_ORDER = Object.freeze([
|
|||||||
{ name: 'reservation_summary' },
|
{ name: 'reservation_summary' },
|
||||||
{ name: 'contact_attributes' },
|
{ name: 'contact_attributes' },
|
||||||
{ name: 'contact_notes' },
|
{ name: 'contact_notes' },
|
||||||
|
{ name: 'contact_memories' },
|
||||||
{ name: 'previous_conversation' },
|
{ name: 'previous_conversation' },
|
||||||
{ name: 'conversation_participants' },
|
{ name: 'conversation_participants' },
|
||||||
{ name: 'linear_issues' },
|
{ name: 'linear_issues' },
|
||||||
|
|||||||
@ -381,6 +381,7 @@
|
|||||||
"CONVERSATION_LABELS": "Conversation Labels",
|
"CONVERSATION_LABELS": "Conversation Labels",
|
||||||
"CONVERSATION_INFO": "Conversation Information",
|
"CONVERSATION_INFO": "Conversation Information",
|
||||||
"CONTACT_NOTES": "Contact Notes",
|
"CONTACT_NOTES": "Contact Notes",
|
||||||
|
"CONTACT_MEMORIES": "Customer Memories",
|
||||||
"CONTACT_ATTRIBUTES": "Contact Attributes",
|
"CONTACT_ATTRIBUTES": "Contact Attributes",
|
||||||
"PREVIOUS_CONVERSATION": "Previous Conversations",
|
"PREVIOUS_CONVERSATION": "Previous Conversations",
|
||||||
"RESERVATION": "Reservation",
|
"RESERVATION": "Reservation",
|
||||||
|
|||||||
@ -370,6 +370,7 @@
|
|||||||
"CONVERSATION_LABELS": "Etiquetas da conversa",
|
"CONVERSATION_LABELS": "Etiquetas da conversa",
|
||||||
"CONVERSATION_INFO": "Informação da conversa",
|
"CONVERSATION_INFO": "Informação da conversa",
|
||||||
"CONTACT_NOTES": "Notas do contato",
|
"CONTACT_NOTES": "Notas do contato",
|
||||||
|
"CONTACT_MEMORIES": "Memórias do Cliente",
|
||||||
"CONTACT_ATTRIBUTES": "Atributos do contato",
|
"CONTACT_ATTRIBUTES": "Atributos do contato",
|
||||||
"PREVIOUS_CONVERSATION": "Conversas anteriores",
|
"PREVIOUS_CONVERSATION": "Conversas anteriores",
|
||||||
"RESERVATION": "Reserva",
|
"RESERVATION": "Reserva",
|
||||||
|
|||||||
@ -14,6 +14,7 @@ import ContactConversations from './ContactConversations.vue';
|
|||||||
import ConversationAction from './ConversationAction.vue';
|
import ConversationAction from './ConversationAction.vue';
|
||||||
import ConversationParticipant from './ConversationParticipant.vue';
|
import ConversationParticipant from './ConversationParticipant.vue';
|
||||||
import ContactInfo from './contact/ContactInfo.vue';
|
import ContactInfo from './contact/ContactInfo.vue';
|
||||||
|
import ContactMemories from './contact/ContactMemories.vue';
|
||||||
import ContactNotes from './contact/ContactNotes.vue';
|
import ContactNotes from './contact/ContactNotes.vue';
|
||||||
import ScheduledMessages from './scheduledMessages/ScheduledMessages.vue';
|
import ScheduledMessages from './scheduledMessages/ScheduledMessages.vue';
|
||||||
import ConversationInfo from './ConversationInfo.vue';
|
import ConversationInfo from './ConversationInfo.vue';
|
||||||
@ -337,6 +338,18 @@ onMounted(() => {
|
|||||||
<ContactNotes :contact-id="contactId" />
|
<ContactNotes :contact-id="contactId" />
|
||||||
</AccordionItem>
|
</AccordionItem>
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else-if="element.name === 'contact_memories'">
|
||||||
|
<AccordionItem
|
||||||
|
:title="$t('CONVERSATION_SIDEBAR.ACCORDION.CONTACT_MEMORIES')"
|
||||||
|
:is-open="isContactSidebarItemOpen('is_contact_memories_open')"
|
||||||
|
compact
|
||||||
|
@toggle="
|
||||||
|
value => toggleSidebarUIState('is_contact_memories_open', value)
|
||||||
|
"
|
||||||
|
>
|
||||||
|
<ContactMemories :contact-id="contactId" />
|
||||||
|
</AccordionItem>
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</Draggable>
|
</Draggable>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user