@truedat/core 5.12.0 → 5.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/core",
3
- "version": "5.12.0",
3
+ "version": "5.12.1",
4
4
  "description": "Truedat Web Core",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -35,7 +35,7 @@
35
35
  "@testing-library/jest-dom": "^5.16.5",
36
36
  "@testing-library/react": "^12.0.0",
37
37
  "@testing-library/user-event": "^13.2.1",
38
- "@truedat/test": "5.12.0",
38
+ "@truedat/test": "5.12.1",
39
39
  "babel-jest": "^28.1.0",
40
40
  "babel-plugin-dynamic-import-node": "^2.3.3",
41
41
  "babel-plugin-lodash": "^3.3.4",
@@ -117,5 +117,5 @@
117
117
  "react-dom": ">= 16.8.6 < 17",
118
118
  "semantic-ui-react": ">= 2.0.3 < 2.2"
119
119
  },
120
- "gitHead": "a375f76a49b351e47d5530ca0e023f0e8a3a4b31"
120
+ "gitHead": "acdeec68776c8a8f6101ac67e2f053445585a94d"
121
121
  }
@@ -0,0 +1,14 @@
1
+ import React from "react";
2
+ import { useAuthorized } from "../hooks";
3
+ import { DATA_SETS } from "../routes";
4
+ import Submenu from "./Submenu";
5
+
6
+ export const ITEMS = [{ name: "data_sets", routes: [DATA_SETS] }];
7
+
8
+ export default function QxMenu() {
9
+ const authorized = useAuthorized();
10
+
11
+ return authorized ? (
12
+ <Submenu items={ITEMS} icon="weight" name="quality_experience" />
13
+ ) : null;
14
+ }
@@ -8,6 +8,7 @@ import DashboardMenu from "./DashboardMenu";
8
8
  import GlossaryMenu from "./GlossaryMenu";
9
9
  import IngestMenu from "./IngestMenu";
10
10
  import LineageMenu from "./LineageMenu";
11
+ import QxMenu from "./QxMenu";
11
12
  import QualityMenu from "./QualityMenu";
12
13
  import SearchMenu from "./SearchMenu";
13
14
  import SidebarToggle from "./SidebarToggle";
@@ -39,6 +40,7 @@ export const SideMenu = ({
39
40
  <CatalogMenu />
40
41
  <GrantMenu />
41
42
  <QualityMenu />
43
+ <QxMenu />
42
44
  <LineageMenu />
43
45
  <IngestMenu />
44
46
  <DashboardMenu />
package/src/routes.js CHANGED
@@ -38,6 +38,7 @@ export const CONFIGURATIONS = "/configurations";
38
38
  export const CONFIGURATION_CREATE = "/configurations/new";
39
39
  export const CONFIGURATION_EDIT = "/configurations/:external_id/edit";
40
40
  export const DASHBOARD = "/dashboard";
41
+ export const DATA_SETS = "/data_sets";
41
42
  export const DOMAIN = "/domains/:id";
42
43
  export const DOMAINS = "/domains";
43
44
  export const DOMAINS_ACTIONS = "/domains/:action";