diff --git a/app/javascript/dashboard/components-next/ConversationWorkflow/ConversationResolveAttributesModal.vue b/app/javascript/dashboard/components-next/ConversationWorkflow/ConversationResolveAttributesModal.vue new file mode 100644 index 000000000..8769a11bf --- /dev/null +++ b/app/javascript/dashboard/components-next/ConversationWorkflow/ConversationResolveAttributesModal.vue @@ -0,0 +1,197 @@ + + + + + + + + + {{ attribute.label }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/javascript/dashboard/components-next/input/ChoiceToggle.vue b/app/javascript/dashboard/components-next/input/ChoiceToggle.vue new file mode 100644 index 000000000..d18fdf896 --- /dev/null +++ b/app/javascript/dashboard/components-next/input/ChoiceToggle.vue @@ -0,0 +1,52 @@ + + + + + + + + {{ option.label }} + + + + diff --git a/app/javascript/dashboard/i18n/locale/en/settings.json b/app/javascript/dashboard/i18n/locale/en/settings.json index 407e43dda..0ddbb18a4 100644 --- a/app/javascript/dashboard/i18n/locale/en/settings.json +++ b/app/javascript/dashboard/i18n/locale/en/settings.json @@ -500,6 +500,25 @@ "SAVE": { "SUCCESS": "Required attributes updated", "ERROR": "Could not update required attributes, please try again" + }, + "MODAL": { + "TITLE": "Resolve conversation", + "DESCRIPTION": "Please fill in the following custom attributes before resolving this conversation", + "ACTIONS": { + "RESOLVE": "Resolve conversation", + "CANCEL": "Cancel" + }, + "PLACEHOLDERS": { + "TEXT": "Write a note...", + "NUMBER": "Enter a number", + "LINK": "Add a link", + "DATE": "Pick a date", + "LIST": "Select an option" + }, + "CHECKBOX": { + "YES": "Yes", + "NO": "No" + } } } },