feat: Creates custom attributes route (#2877)

This commit is contained in:
Sivin Varghese
2021-08-25 20:30:34 +05:30
committed by GitHub
parent 8d6b3efa2e
commit 4a23a393f7
7 changed files with 66 additions and 0 deletions

View File

@@ -144,6 +144,7 @@ export const getSidebarItems = accountId => ({
'canned_list',
'labels_list',
'settings_inbox',
'attributes_list',
'settings_inbox_new',
'settings_inbox_list',
'settings_inbox_show',
@@ -202,6 +203,13 @@ export const getSidebarItems = accountId => ({
toState: frontendURL(`accounts/${accountId}/settings/labels/list`),
toStateName: 'labels_list',
},
attributes: {
icon: 'ion-code',
label: 'ATTRIBUTES',
hasSubMenu: false,
toState: frontendURL(`accounts/${accountId}/settings/attributes/list`),
toStateName: 'attributes_list',
},
cannedResponses: {
icon: 'ion-chatbox-working',
label: 'CANNED_RESPONSES',

View File

@@ -0,0 +1,6 @@
{
"ATTRIBUTES_MGMT": {
"HEADER": "Attributes",
"HEADER_BTN_TXT": "Add Attribute"
}
}

View File

@@ -17,6 +17,7 @@ import { default as _signup } from './signup.json';
import { default as _teamsSettings } from './teamsSettings.json';
import { default as _integrationApps } from './integrationApps.json';
import { default as _csatMgmtMgmt } from './csatMgmt.json';
import { default as _attributesMgmt } from './attributesMgmt.json';
export default {
..._agentMgmt,
@@ -38,4 +39,5 @@ export default {
..._teamsSettings,
..._integrationApps,
..._csatMgmtMgmt,
..._attributesMgmt,
};

View File

@@ -138,6 +138,7 @@
"ACCOUNT_SETTINGS": "Account Settings",
"APPLICATIONS": "Applications",
"LABELS": "Labels",
"ATTRIBUTES": "Attributes",
"TEAMS": "Teams",
"ALL_CONTACTS": "All Contacts",
"TAGGED_WITH": "Tagged with",