diff --git a/public/components/application_analytics/__tests__/__snapshots__/log_config.test.tsx.snap b/public/components/application_analytics/__tests__/__snapshots__/log_config.test.tsx.snap index 284a2e51ae..07bbed198c 100644 --- a/public/components/application_analytics/__tests__/__snapshots__/log_config.test.tsx.snap +++ b/public/components/application_analytics/__tests__/__snapshots__/log_config.test.tsx.snap @@ -89,6 +89,10 @@ exports[`Log Config component renders empty log config 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -712,6 +716,10 @@ exports[`Log Config component renders with query 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/public/components/application_analytics/__tests__/__snapshots__/service_config.test.tsx.snap b/public/components/application_analytics/__tests__/__snapshots__/service_config.test.tsx.snap index 73f87a2de7..a6fe2db733 100644 --- a/public/components/application_analytics/__tests__/__snapshots__/service_config.test.tsx.snap +++ b/public/components/application_analytics/__tests__/__snapshots__/service_config.test.tsx.snap @@ -89,6 +89,10 @@ exports[`Service Config component renders empty service config 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -1282,6 +1286,10 @@ exports[`Service Config component renders with one service selected 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/public/components/application_analytics/__tests__/__snapshots__/trace_config.test.tsx.snap b/public/components/application_analytics/__tests__/__snapshots__/trace_config.test.tsx.snap index 8b70a1a6a6..e826e2cab7 100644 --- a/public/components/application_analytics/__tests__/__snapshots__/trace_config.test.tsx.snap +++ b/public/components/application_analytics/__tests__/__snapshots__/trace_config.test.tsx.snap @@ -88,6 +88,10 @@ exports[`Trace Config component renders empty trace config 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -994,6 +998,10 @@ exports[`Trace Config component renders with one trace selected 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/public/components/custom_panels/__tests__/__snapshots__/custom_panel_view.test.tsx.snap b/public/components/custom_panels/__tests__/__snapshots__/custom_panel_view.test.tsx.snap index f5f95e97e6..f11fbdd3a7 100644 --- a/public/components/custom_panels/__tests__/__snapshots__/custom_panel_view.test.tsx.snap +++ b/public/components/custom_panels/__tests__/__snapshots__/custom_panel_view.test.tsx.snap @@ -1230,6 +1230,10 @@ exports[`Panels View Component renders panel view container with visualizations "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -3019,6 +3023,10 @@ exports[`Panels View Component renders panel view container with visualizations "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -3465,6 +3473,10 @@ exports[`Panels View Component renders panel view container without visualizatio "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -5138,6 +5150,10 @@ exports[`Panels View Component renders panel view container without visualizatio "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/public/components/custom_panels/panel_modules/panel_grid/__tests__/__snapshots__/panel_grid.test.tsx.snap b/public/components/custom_panels/panel_modules/panel_grid/__tests__/__snapshots__/panel_grid.test.tsx.snap index b47c7d6296..e34037c526 100644 --- a/public/components/custom_panels/panel_modules/panel_grid/__tests__/__snapshots__/panel_grid.test.tsx.snap +++ b/public/components/custom_panels/panel_modules/panel_grid/__tests__/__snapshots__/panel_grid.test.tsx.snap @@ -246,6 +246,10 @@ exports[`Panel Grid Component renders panel grid component with empty visualizat "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/public/components/metrics/view/__tests__/__snapshots__/metrics_grid.test.tsx.snap b/public/components/metrics/view/__tests__/__snapshots__/metrics_grid.test.tsx.snap index 1b862c66cc..45a5578a72 100644 --- a/public/components/metrics/view/__tests__/__snapshots__/metrics_grid.test.tsx.snap +++ b/public/components/metrics/view/__tests__/__snapshots__/metrics_grid.test.tsx.snap @@ -99,6 +99,10 @@ exports[`Metrics Grid Component renders Metrics Grid Component 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -261,6 +265,10 @@ exports[`Metrics Grid Component renders Metrics Grid Component 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard.test.tsx.snap b/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard.test.tsx.snap index d50f36ca02..3d120357a6 100644 --- a/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard.test.tsx.snap +++ b/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard.test.tsx.snap @@ -102,6 +102,10 @@ exports[`Dashboard component renders dashboard 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -441,6 +445,10 @@ exports[`Dashboard component renders dashboard 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -1259,6 +1267,10 @@ exports[`Dashboard component renders empty dashboard 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -1597,6 +1609,10 @@ exports[`Dashboard component renders empty dashboard 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -2415,6 +2431,10 @@ exports[`Dashboard component renders empty jaeger dashboard 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -2755,6 +2775,10 @@ exports[`Dashboard component renders empty jaeger dashboard 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/public/components/trace_analytics/components/services/__tests__/__snapshots__/services.test.tsx.snap b/public/components/trace_analytics/components/services/__tests__/__snapshots__/services.test.tsx.snap index 265e4e0572..511e3efcd4 100644 --- a/public/components/trace_analytics/components/services/__tests__/__snapshots__/services.test.tsx.snap +++ b/public/components/trace_analytics/components/services/__tests__/__snapshots__/services.test.tsx.snap @@ -102,6 +102,10 @@ exports[`Services component renders empty services page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -429,6 +433,10 @@ exports[`Services component renders empty services page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -2268,6 +2276,10 @@ exports[`Services component renders jaeger services page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -2596,6 +2608,10 @@ exports[`Services component renders jaeger services page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -3868,6 +3884,10 @@ exports[`Services component renders services page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -4195,6 +4215,10 @@ exports[`Services component renders services page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/public/components/trace_analytics/components/traces/__tests__/__snapshots__/traces.test.tsx.snap b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/traces.test.tsx.snap index 3521c7e230..d437f7b90e 100644 --- a/public/components/trace_analytics/components/traces/__tests__/__snapshots__/traces.test.tsx.snap +++ b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/traces.test.tsx.snap @@ -102,6 +102,10 @@ exports[`Traces component renders empty traces page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -428,6 +432,10 @@ exports[`Traces component renders empty traces page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -1719,6 +1727,10 @@ exports[`Traces component renders jaeger traces page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -2046,6 +2058,10 @@ exports[`Traces component renders jaeger traces page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -3342,6 +3358,10 @@ exports[`Traces component renders traces page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], @@ -3668,6 +3688,10 @@ exports[`Traces component renders traces page 1`] = ` "registerLeft": [MockFunction], "registerRight": [MockFunction], }, + "navGroup": Object { + "getNavGroupEnabled": [MockFunction], + "getNavGroupsMap$": [MockFunction], + }, "navLinks": Object { "enableForcedAppSwitcherNavigation": [MockFunction], "get": [MockFunction], diff --git a/server/adaptors/notebooks/saved_objects_notebooks_router.tsx b/server/adaptors/notebooks/saved_objects_notebooks_router.tsx index 2187dbd4d3..de4b6e47e2 100644 --- a/server/adaptors/notebooks/saved_objects_notebooks_router.tsx +++ b/server/adaptors/notebooks/saved_objects_notebooks_router.tsx @@ -80,7 +80,6 @@ export async function addSampleNotes( dateModified: createdNotebooks.attributes.savedNotebook.dateModified, name: createdNotebooks.attributes.savedNotebook.name, id: createdNotebooks.id, - // name: createdNotebooks.attributes.savedNotebook.name }); }