From d7628295190016718858d29acbf0f4dd43529275 Mon Sep 17 00:00:00 2001 From: Shivam Mishra Date: Tue, 23 Sep 2025 18:53:00 +0530 Subject: [PATCH] feat: Allow creating contact notes (#12494) Co-authored-by: Muhsin Keloth --- .../dashboard/i18n/locale/en/contact.json | 4 +- .../conversation/contact/ContactNotes.vue | 163 +++++++++++++++--- 2 files changed, 142 insertions(+), 25 deletions(-) diff --git a/app/javascript/dashboard/i18n/locale/en/contact.json b/app/javascript/dashboard/i18n/locale/en/contact.json index a7db8480f..21e8dd1b2 100644 --- a/app/javascript/dashboard/i18n/locale/en/contact.json +++ b/app/javascript/dashboard/i18n/locale/en/contact.json @@ -555,10 +555,12 @@ "WROTE": "wrote", "YOU": "You", "SAVE": "Save note", + "ADD_NOTE": "Add contact note", "EXPAND": "Expand", "COLLAPSE": "Collapse", "NO_NOTES": "No notes, you can add notes from the contact details page.", - "EMPTY_STATE": "There are no notes associated to this contact. You can add a note by typing in the box above." + "EMPTY_STATE": "There are no notes associated to this contact. You can add a note by typing in the box above.", + "CONVERSATION_EMPTY_STATE": "There are no notes yet. Use the Add note button to create one." } }, "EMPTY_STATE": { diff --git a/app/javascript/dashboard/routes/dashboard/conversation/contact/ContactNotes.vue b/app/javascript/dashboard/routes/dashboard/conversation/contact/ContactNotes.vue index 66b6876b1..c828c60ef 100644 --- a/app/javascript/dashboard/routes/dashboard/conversation/contact/ContactNotes.vue +++ b/app/javascript/dashboard/routes/dashboard/conversation/contact/ContactNotes.vue @@ -1,21 +1,34 @@