diff --git a/package-lock.json b/package-lock.json index 1b83285..5670cc8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@elastic/eui": "^97.3.0", "@emotion/css": "^11.11.2", "@emotion/react": "^11.11.1", - "@orchestrator-ui/orchestrator-ui-components": "^2.8.2", + "@orchestrator-ui/orchestrator-ui-components": "*", "@reduxjs/toolkit": "^2.0.1", "eslint": "^8.57.0", "moment": "^2.29.4", @@ -1983,11 +1983,10 @@ } }, "node_modules/@orchestrator-ui/eslint-config-custom": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/@orchestrator-ui/eslint-config-custom/-/eslint-config-custom-1.3.1.tgz", - "integrity": "sha512-cmoCPS98NYodTf3SO5Ml/gBIuiQ6KE6sYidoYW5ocDBEUKpdPGfP6b+YxShEccyXjGGyLwt7iQRt3O3z3a0bqQ==", + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/@orchestrator-ui/eslint-config-custom/-/eslint-config-custom-1.4.1.tgz", + "integrity": "sha512-0EXIqAxL5twFUro6BrnxRAL96kzy7CD3C/ZeHFyLs264thhdS89S71v26DMVtz92I0g/PSgnaWDVmxtXlTticA==", "dev": true, - "license": "Apache-2.0", "dependencies": { "@trivago/prettier-plugin-sort-imports": "^4.3.0", "@typescript-eslint/eslint-plugin": "^8.12.2", @@ -1999,11 +1998,10 @@ } }, "node_modules/@orchestrator-ui/jest-config": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@orchestrator-ui/jest-config/-/jest-config-1.4.1.tgz", - "integrity": "sha512-yRoO5+M5wHiPS4JZlQ69yElHGyKI+8Pr+4UOSlB+a5kzMThNGkanH9PSZG+nc3jiJbxFTuZ/+VKukp2dBYFigg==", + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@orchestrator-ui/jest-config/-/jest-config-1.5.1.tgz", + "integrity": "sha512-MvmXPR06VNyx2kUZS8ZlpaENQLeOpk2jgAmx7U5LpBcdmqecxFfTADttjTi+LZEiZ0MOh+I3nK5QAcGAWxKO8w==", "dev": true, - "license": "Apache-2.0", "dependencies": { "@testing-library/jest-dom": "^6.6.2", "@testing-library/react": "^16.0.1", @@ -2016,10 +2014,9 @@ } }, "node_modules/@orchestrator-ui/orchestrator-ui-components": { - "version": "2.9.1", - "resolved": "https://registry.npmjs.org/@orchestrator-ui/orchestrator-ui-components/-/orchestrator-ui-components-2.9.1.tgz", - "integrity": "sha512-kcDXuDo/GGek1DBEP4M9ix0I7YpT23l18n+VC51myeKqDHfmoV0/2yjBbUlin2yeCG833dQ1ZtVj2NbtJ/TVxw==", - "license": "Apache-2.0", + "version": "2.13.0", + "resolved": "https://registry.npmjs.org/@orchestrator-ui/orchestrator-ui-components/-/orchestrator-ui-components-2.13.0.tgz", + "integrity": "sha512-bKXElvsHGWzHcE7WrjdxnvXjJEA0yWOOvnBKmuJ1k9Sz/hyvvxrCX0MoU6VGgtPxdXosUVsNP6l1hmvlCK/RiA==", "dependencies": { "@elastic/eui": "^97.0.0", "@emotion/css": "^11.11.2", @@ -2053,9 +2050,9 @@ } }, "node_modules/@orchestrator-ui/tsconfig": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/@orchestrator-ui/tsconfig/-/tsconfig-1.1.1.tgz", - "integrity": "sha512-37NhPyr+yyvJo5aV6xwHLTu4t20p/LLPsZrDzUoCWV8Tnl8b8DiEKcFTbcphwua5XnlXkqzPeY13Ss8TeDJiHw==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@orchestrator-ui/tsconfig/-/tsconfig-1.2.1.tgz", + "integrity": "sha512-ei3fx/dQ5FxrC0h477iK2gcErTfaL4ZgAbUADMDwB7RUKecQOGJqiAIacuSOBylpTGtnmyavywjUOq3/mneJOQ==", "dev": true }, "node_modules/@panva/hkdf": { diff --git a/package.json b/package.json index 57bd7d3..ae309e0 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "@elastic/eui": "^97.3.0", "@emotion/css": "^11.11.2", "@emotion/react": "^11.11.1", - "@orchestrator-ui/orchestrator-ui-components": "^2.8.2", + "@orchestrator-ui/orchestrator-ui-components": "*", "@reduxjs/toolkit": "^2.0.1", "eslint": "^8.57.0", "moment": "^2.29.4", diff --git a/pages/_app.tsx b/pages/_app.tsx index b6ba276..8969582 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -17,6 +17,8 @@ import { StoreProvider, WfoAuth, WfoErrorBoundary, + WfoErrorMonitoring, + WfoErrorMonitoringProvider, WfoMenuItemLink, WfoPageTemplate, WfoToastsList, @@ -78,6 +80,11 @@ function CustomApp({ }, ]; + const errorMonitoringHandler: WfoErrorMonitoring | undefined = { + reportError: (error) => console.error(error), + reportMessage: () => {}, + }; + return ( - - - - - - - Welcome to example-orchestrator-ui! - - -
- - - + + + + + + + Welcome to + example-orchestrator-ui! + + +
+ + - - - - - -
-
-
-
+ + + +
+ +
+
+
+
+
+