ソースを参照

HUE-8330 [core] Tweak the left menu items

Romain Rigaux 7 年 前
コミット
e78a63c

+ 1 - 1
desktop/core/src/desktop/templates/ko_components/ko_app_switcher.mako

@@ -69,7 +69,7 @@ from desktop.views import _ko
             icon:'altus-icon altus-ds'
           },
           dataFlow: {
-            label: 'Data Flow',
+            label: 'Data Engineering',
             icon:'altus-icon altus-workload'
           },
           navigator: {

+ 31 - 3
desktop/core/src/desktop/templates/ko_components/ko_multi_cluster_sidebar.mako

@@ -162,13 +162,41 @@ from desktop.views import _ko
             }
           ]
         }, {
-          label: '${ _('Data Flow') }',
+          label: '${ _('Data Engineering') }',
           url: '/',
-          icon: 'altus-icon altus-workload'
+          icon: 'altus-icon altus-workload',
+          items: [{
+              label: '${ _('Ingest') }',
+              url: '/editor?type=impala'
+            },{
+              label: '${ _('Transform') }',
+              url: '/metastore/tables'
+            },{
+              label: '${ _('Streams') }',
+              url: '/metastore/tables'
+            },{
+              label: '${ _('Schedule') }',
+              url: '/filebrowser/view=S3A://'
+            }
+          ]
         }, {
           label: '${ _('Data Stewart') }',
           url: '/',
-          icon: 'altus-icon altus-adb'
+          icon: 'altus-icon altus-adb',
+          items: [{
+              label: '${ _('Catalog') }',
+              url: '/editor?type=impala'
+            },{
+              label: '${ _('Security') }',
+              url: '/editor?type=impala'
+            },{
+              label: '${ _('Audit') }',
+              url: '/metastore/tables'
+            },{
+              label: '${ _('BDR') }',
+              url: '/filebrowser/view=S3A://'
+            }
+          ]
         }
       ]