@@ -34,47 +34,44 @@ export default App.create({
3434 ] ,
3535
3636 // Navigation menu structure
37- menus : [
37+ navigation : [
3838 {
39+ id : 'group_sales' ,
40+ type : 'group' ,
3941 label : 'Sales' ,
40- items : [
41- { type : 'object' , object : 'lead' , label : 'Leads' } ,
42- { type : 'object' , object : 'account' , label : 'Accounts' } ,
43- { type : 'object' , object : 'contact' , label : 'Contacts' } ,
44- { type : 'object' , object : 'opportunity' , label : 'Opportunities' } ,
45- { type : 'divider' } ,
46- { type : 'dashboard' , dashboard : 'sales_dashboard' , label : 'Sales Dashboard' } ,
47- { type : 'report' , report : 'opportunities_by_stage' , label : 'Pipeline Report' } ,
42+ children : [
43+ { id : 'nav_lead' , type : 'object' , objectName : 'lead' , label : 'Leads' } ,
44+ { id : 'nav_account' , type : 'object' , objectName : 'account' , label : 'Accounts' } ,
45+ { id : 'nav_contact' , type : 'object' , objectName : 'contact' , label : 'Contacts' } ,
46+ { id : 'nav_opportunity' , type : 'object' , objectName : 'opportunity' , label : 'Opportunities' } ,
47+ { id : 'nav_sales_dashboard' , type : 'dashboard' , dashboardName : 'sales_dashboard' , label : 'Sales Dashboard' } ,
4848 ]
4949 } ,
5050 {
51+ id : 'group_service' ,
52+ type : 'group' ,
5153 label : 'Service' ,
52- items : [
53- { type : 'object' , object : 'case' , label : 'Cases' } ,
54- { type : 'divider' } ,
55- { type : 'dashboard' , dashboard : 'service_dashboard' , label : 'Service Dashboard' } ,
56- { type : 'report' , report : 'cases_by_status_priority' , label : 'Case Report' } ,
54+ children : [
55+ { id : 'nav_case' , type : 'object' , objectName : 'case' , label : 'Cases' } ,
56+ { id : 'nav_service_dashboard' , type : 'dashboard' , dashboardName : 'service_dashboard' , label : 'Service Dashboard' } ,
5757 ]
5858 } ,
5959 {
60+ id : 'group_activities' ,
61+ type : 'group' ,
6062 label : 'Activities' ,
61- items : [
62- { type : 'object' , object : 'task' , label : 'Tasks' } ,
63+ children : [
64+ { id : 'nav_task' , type : 'object' , objectName : 'task' , label : 'Tasks' } ,
6365 ]
6466 } ,
6567 {
68+ id : 'group_analytics' ,
69+ type : 'group' ,
6670 label : 'Analytics' ,
67- items : [
68- { type : 'dashboard' , dashboard : 'executive_dashboard' , label : 'Executive Dashboard' } ,
69- { type : 'dashboard' , dashboard : 'sales_dashboard' , label : 'Sales Dashboard' } ,
70- { type : 'dashboard' , dashboard : 'service_dashboard' , label : 'Service Dashboard' } ,
71- { type : 'divider' } ,
72- { type : 'report' , report : 'opportunities_by_stage' , label : 'Opportunities by Stage' } ,
73- { type : 'report' , report : 'won_opportunities_by_owner' , label : 'Won Opportunities' } ,
74- { type : 'report' , report : 'accounts_by_industry_type' , label : 'Accounts Matrix' } ,
75- { type : 'report' , report : 'cases_by_status_priority' , label : 'Cases by Status' } ,
76- { type : 'report' , report : 'sla_performance' , label : 'SLA Performance' } ,
77- { type : 'report' , report : 'leads_by_source' , label : 'Leads by Source' } ,
71+ children : [
72+ { id : 'nav_exec_dashboard' , type : 'dashboard' , dashboardName : 'executive_dashboard' , label : 'Executive Dashboard' } ,
73+ { id : 'nav_analytics_sales_db' , type : 'dashboard' , dashboardName : 'sales_dashboard' , label : 'Sales Dashboard' } ,
74+ { id : 'nav_analytics_service_db' , type : 'dashboard' , dashboardName : 'service_dashboard' , label : 'Service Dashboard' } ,
7875 ]
7976 }
8077 ] ,
0 commit comments