feat: Add automation route (#3410)
This commit is contained in:
6
app/javascript/dashboard/i18n/locale/en/automation.json
Normal file
6
app/javascript/dashboard/i18n/locale/en/automation.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"AUTOMATION": {
|
||||
"HEADER": "Automation",
|
||||
"HEADER_BTN_TXT": "Add Automation Rule"
|
||||
}
|
||||
}
|
||||
@@ -18,6 +18,7 @@ import { default as _setNewPassword } from './setNewPassword.json';
|
||||
import { default as _settings } from './settings.json';
|
||||
import { default as _signup } from './signup.json';
|
||||
import { default as _teamsSettings } from './teamsSettings.json';
|
||||
import { default as _automation } from './automation.json';
|
||||
|
||||
export default {
|
||||
..._agentMgmt,
|
||||
@@ -40,4 +41,5 @@ export default {
|
||||
..._settings,
|
||||
..._signup,
|
||||
..._teamsSettings,
|
||||
..._automation,
|
||||
};
|
||||
|
||||
@@ -140,6 +140,7 @@
|
||||
"APPLICATIONS": "Applications",
|
||||
"LABELS": "Labels",
|
||||
"CUSTOM_ATTRIBUTES": "Custom Attributes",
|
||||
"AUTOMATION": "Automation",
|
||||
"TEAMS": "Teams",
|
||||
"ALL_CONTACTS": "All Contacts",
|
||||
"TAGGED_WITH": "Tagged with",
|
||||
|
||||
@@ -28,6 +28,7 @@ const settings = accountId => ({
|
||||
'settings_teams_edit',
|
||||
'settings_teams_edit_members',
|
||||
'settings_teams_edit_finish',
|
||||
'automation_list',
|
||||
],
|
||||
menuItems: {
|
||||
back: {
|
||||
@@ -74,6 +75,13 @@ const settings = accountId => ({
|
||||
),
|
||||
toStateName: 'attributes_list',
|
||||
},
|
||||
automation: {
|
||||
icon: 'ion-wrench',
|
||||
label: 'AUTOMATION',
|
||||
hasSubMenu: false,
|
||||
toState: frontendURL(`accounts/${accountId}/settings/automation/list`),
|
||||
toStateName: 'automation_list',
|
||||
},
|
||||
cannedResponses: {
|
||||
icon: 'ion-chatbox-working',
|
||||
label: 'CANNED_RESPONSES',
|
||||
|
||||
Reference in New Issue
Block a user