- query-insights-dashboards -
-- Congratulations, you have successfully created a new OpenSearch Dashboards Plugin! -
-- Look through the generated code and check out the plugin development documentation. -
--
- Last timestamp: Unknown -
- -diff --git a/.gitignore b/.gitignore
index 378add6..ef85a37 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,4 +8,5 @@ yarn-error.log
.DS_Store
/cypress/screenshots/
/cypress/videos/
-target
\ No newline at end of file
+target
+.eslintcache
\ No newline at end of file
diff --git a/opensearch_dashboards.json b/opensearch_dashboards.json
index eccd773..18321a8 100644
--- a/opensearch_dashboards.json
+++ b/opensearch_dashboards.json
@@ -1,7 +1,7 @@
{
"id": "queryInsightsDashboards",
"version": "1.0.0",
- "opensearchDashboardsVersion": "opensearchDashboards",
+ "opensearchDashboardsVersion": "3.0.0",
"server": true,
"ui": true,
"requiredPlugins": ["navigation"],
diff --git a/public/application.tsx b/public/application.tsx
index b6d5e84..5b6ec41 100644
--- a/public/application.tsx
+++ b/public/application.tsx
@@ -1,21 +1,14 @@
import React from 'react';
import ReactDOM from 'react-dom';
+import { HashRouter as Router } from 'react-router-dom';
import { AppMountParameters, CoreStart } from '../../../src/core/public';
-import { AppPluginStartDependencies } from './types';
import { QueryInsightsDashboardsApp } from './components/app';
-export const renderApp = (
- { notifications, http }: CoreStart,
- { navigation }: AppPluginStartDependencies,
- { appBasePath, element }: AppMountParameters
-) => {
+export const renderApp = (core: CoreStart, { element }: AppMountParameters) => {
ReactDOM.render(
-
- Look through the generated code and check out the plugin development documentation. -
-- Last timestamp: Unknown -
- -
-
-