@truedat/core 7.11.0 → 7.11.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": "7.11.0",
3
+ "version": "7.11.1",
4
4
  "description": "Truedat Web Core",
5
5
  "sideEffects": false,
6
6
  "module": "src/index.js",
@@ -48,7 +48,7 @@
48
48
  "@testing-library/jest-dom": "^6.6.3",
49
49
  "@testing-library/react": "^16.3.0",
50
50
  "@testing-library/user-event": "^14.6.1",
51
- "@truedat/test": "7.11.0",
51
+ "@truedat/test": "7.11.1",
52
52
  "identity-obj-proxy": "^3.0.0",
53
53
  "jest": "^29.7.0",
54
54
  "redux-saga-test-plan": "^4.0.6"
@@ -85,5 +85,5 @@
85
85
  "slate-react": "^0.22.10",
86
86
  "swr": "^2.3.3"
87
87
  },
88
- "gitHead": "c8c0d3e62835df86440869c7b797bbe2fc12f3a6"
88
+ "gitHead": "efc0969708811b5e4fc2ea39e628a1b2691e4042"
89
89
  }
@@ -8,6 +8,7 @@ import {
8
8
  IMPLEMENTATIONS,
9
9
  IMPLEMENTATIONS_DEPRECATED,
10
10
  IMPLEMENTATIONS_PENDING,
11
+ IMPLEMENTATIONS_UPLOAD_JOBS,
11
12
  QUALITY_DASHBOARD,
12
13
  RULES,
13
14
  } from "../routes";
@@ -27,6 +28,11 @@ export const ITEMS = [
27
28
  routes: [IMPLEMENTATIONS_DEPRECATED],
28
29
  groups: ["quality_implementation_workflow_management"],
29
30
  },
31
+ {
32
+ name: "implementations_upload_jobs",
33
+ routes: [IMPLEMENTATIONS_UPLOAD_JOBS],
34
+ groups: ["quality"],
35
+ },
30
36
  {
31
37
  name: "executions",
32
38
  routes: [EXECUTION_GROUPS],
@@ -88,6 +88,20 @@ exports[`<QualityMenu /> matches the latest snapshot 1`] = `
88
88
  implementations_deprecated
89
89
  </span>
90
90
  </a>
91
+ <a
92
+ aria-checked="false"
93
+ class="item"
94
+ data-discover="true"
95
+ href="/implementations/uploadJobs"
96
+ name="implementations_upload_jobs"
97
+ role="option"
98
+ >
99
+ <span
100
+ class="text"
101
+ >
102
+ implementations_upload_jobs
103
+ </span>
104
+ </a>
91
105
  <a
92
106
  aria-checked="false"
93
107
  class="item"
@@ -323,6 +323,13 @@ exports[`<SideMenu /> matches the latest snapshot 1`] = `
323
323
  >
324
324
  implementations_deprecated
325
325
  </a>
326
+ <a
327
+ class="link item"
328
+ data-discover="true"
329
+ href="/implementations/uploadJobs"
330
+ >
331
+ implementations_upload_jobs
332
+ </a>
326
333
  <a
327
334
  class="link item"
328
335
  data-discover="true"
package/src/routes.js CHANGED
@@ -103,6 +103,8 @@ export const IMPLEMENTATION = "/implementations/:implementation_id";
103
103
  export const IMPLEMENTATIONS = "/implementations";
104
104
  export const IMPLEMENTATIONS_DEPRECATED = "/implementations/deprecated";
105
105
  export const IMPLEMENTATIONS_PENDING = "/implementations/pending";
106
+ export const IMPLEMENTATIONS_UPLOAD_JOBS = "/implementations/uploadJobs";
107
+ export const IMPLEMENTATIONS_UPLOAD_JOB = "/implementations/uploadJobs/:id";
106
108
  export const IMPLEMENTATION_CLONE = "/implementations/:implementation_id/clone";
107
109
  export const IMPLEMENTATION_CONCEPT_LINKS =
108
110
  "/implementations/:implementation_id/links/concepts";
@@ -364,6 +366,8 @@ const routes = {
364
366
  IMPLEMENTATIONS,
365
367
  IMPLEMENTATIONS_DEPRECATED,
366
368
  IMPLEMENTATIONS_PENDING,
369
+ IMPLEMENTATIONS_UPLOAD_JOBS,
370
+ IMPLEMENTATIONS_UPLOAD_JOB,
367
371
  IMPLEMENTATION_CLONE,
368
372
  IMPLEMENTATION_CONCEPT_LINKS,
369
373
  IMPLEMENTATION_CONCEPT_LINKS_NEW,
@@ -72,7 +72,7 @@ export const SearchContextProvider = (props) => {
72
72
 
73
73
  const debouncedTriggerSearchFilters = useCallback(
74
74
  _.debounce(debounceQueryTime)((filterParam) => {
75
- triggerFilters(filterParam).then(({ data }) => {
75
+ triggerFilters?.(filterParam).then(({ data }) => {
76
76
  setFiltersPayload(data);
77
77
  setLoadingFilters(false);
78
78
  });
@@ -216,7 +216,7 @@ export const SearchContextProvider = (props) => {
216
216
  [sortColumn, sortDirection]
217
217
  );
218
218
 
219
- const { trigger: triggerFilters } = useFilters();
219
+ const triggerFilters = useFilters?.()?.trigger;
220
220
 
221
221
  useEffect(() => {
222
222
  setLoadingFilters(true);