@truedat/audit 4.45.0 → 4.45.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.45.2] 2022-05-31
4
+
5
+ ### Added
6
+
7
+ - [TD-3633] Add implementation checkbox filter to Subscriptions
8
+
3
9
  ## [4.44.4] 2022-05-19
4
10
 
5
11
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/audit",
3
- "version": "4.45.0",
3
+ "version": "4.45.3",
4
4
  "description": "Truedat Web Audit Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@testing-library/jest-dom": "^5.16.4",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "4.45.0",
37
+ "@truedat/test": "4.45.1",
38
38
  "babel-jest": "^28.1.0",
39
39
  "babel-plugin-dynamic-import-node": "^2.3.3",
40
40
  "babel-plugin-lodash": "^3.3.4",
@@ -85,8 +85,8 @@
85
85
  ]
86
86
  },
87
87
  "dependencies": {
88
- "@truedat/auth": "4.45.0",
89
- "@truedat/core": "4.45.0",
88
+ "@truedat/auth": "4.45.1",
89
+ "@truedat/core": "4.45.1",
90
90
  "axios": "^0.19.2",
91
91
  "path-to-regexp": "^1.7.0",
92
92
  "prop-types": "^15.8.1",
@@ -107,5 +107,5 @@
107
107
  "react-dom": ">= 16.8.6 < 17",
108
108
  "semantic-ui-react": ">= 0.88.2 < 2.1"
109
109
  },
110
- "gitHead": "b8a49c6bae0bbde203dfb4763a5657fc398e3b7a"
110
+ "gitHead": "35c764482ee330282ab7d56d9325314691da72db"
111
111
  }
@@ -29,6 +29,7 @@ const RESOURCE_TYPES = [
29
29
  "domains",
30
30
  "concept",
31
31
  "rule",
32
+ "implementation",
32
33
  "source",
33
34
  ];
34
35
 
@@ -222,6 +222,25 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
222
222
  Quality Rule
223
223
  </label>
224
224
  </div>
225
+ <div
226
+ class="ui checked checkbox"
227
+ >
228
+ <input
229
+ checked=""
230
+ class="hidden"
231
+ readonly=""
232
+ tabindex="0"
233
+ type="checkbox"
234
+ value=""
235
+ />
236
+ <label>
237
+ <i
238
+ aria-hidden="true"
239
+ class="tags icon"
240
+ />
241
+ Quality Implementation
242
+ </label>
243
+ </div>
225
244
  <div
226
245
  class="ui checked checkbox"
227
246
  >
@@ -60,6 +60,7 @@ export default {
60
60
  "subscriptions.resource.type.domains": "Domain and children",
61
61
  "subscriptions.resource.type.concept": "Concept",
62
62
  "subscriptions.resource.type.rule": "Quality Rule",
63
+ "subscriptions.resource.type.implementation": "Quality Implementation",
63
64
  "subscriptions.resource.type.source": "Source",
64
65
 
65
66
  "subscriptions.template.label": "Template",
@@ -60,6 +60,7 @@ export default {
60
60
  "subscriptions.resource.type.domains": "Dominio e hijos",
61
61
  "subscriptions.resource.type.concept": "Concepto",
62
62
  "subscriptions.resource.type.rule": "Regla de Calidad",
63
+ "subscriptions.resource.type.implementation": "Implementación de Calidad",
63
64
  "subscriptions.resource.type.source": "Origen",
64
65
 
65
66
  "subscriptions.template.label": "Plantilla",
@@ -4,7 +4,7 @@ import {
4
4
  clearRedirect,
5
5
  createSubscription,
6
6
  deleteSubscription,
7
- updateSubscription
7
+ updateSubscription,
8
8
  } from "@truedat/core/routines";
9
9
 
10
10
  const initialState = "";
@@ -1,7 +1,7 @@
1
1
  import _ from "lodash/fp";
2
2
  import {
3
3
  searchSubscriptions,
4
- clearSubscriptionsSearch
4
+ clearSubscriptionsSearch,
5
5
  } from "@truedat/core/routines";
6
6
 
7
7
  const initialState = {};
@@ -8,8 +8,8 @@ export function* searchSubscriptionsSaga({ payload }) {
8
8
  try {
9
9
  const body = {
10
10
  filters: {
11
- scope: _.pick(["resource_id", "resource_type", "events"])(payload)
12
- }
11
+ scope: _.pick(["resource_id", "resource_type", "events"])(payload),
12
+ },
13
13
  };
14
14
  const url = API_SUBSCRIPTIONS_SEARCH;
15
15
  yield put(searchSubscriptions.request());
@@ -14,6 +14,7 @@ export const RESOURCE_TYPE_ICONS = {
14
14
  domains: "sitemap",
15
15
  domain: "sitemap",
16
16
  rule: "clipboard check",
17
+ implementation: "tags",
17
18
  data_structure: "block layout",
18
19
  source: "plug",
19
20
  };