@truedat/dq 4.54.5 → 4.54.7
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,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.54.7] 2022-10-26
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- [TD-4517] Messages for `df_label` Rule filter
|
|
8
|
+
|
|
9
|
+
## [4.54.6] 2022-10-25
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- [TD-5281] Change the implementation_type when it is of type draft to default
|
|
14
|
+
|
|
3
15
|
## [4.54.4] 2022-10-25
|
|
4
16
|
|
|
5
17
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dq",
|
|
3
|
-
"version": "4.54.
|
|
3
|
+
"version": "4.54.7",
|
|
4
4
|
"description": "Truedat Web Data Quality 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.54.
|
|
37
|
+
"@truedat/test": "4.54.7",
|
|
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",
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
},
|
|
94
94
|
"dependencies": {
|
|
95
95
|
"@apollo/client": "^3.7.0",
|
|
96
|
-
"@truedat/core": "4.54.
|
|
97
|
-
"@truedat/df": "4.54.
|
|
96
|
+
"@truedat/core": "4.54.7",
|
|
97
|
+
"@truedat/df": "4.54.7",
|
|
98
98
|
"graphql": "^15.5.3",
|
|
99
99
|
"path-to-regexp": "^1.7.0",
|
|
100
100
|
"prop-types": "^15.8.1",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"react-dom": ">= 16.8.6 < 17",
|
|
115
115
|
"semantic-ui-react": ">= 0.88.2 < 2.1"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "5fc1e696a1449d9e0b68531f109cc7a8a2dd9543"
|
|
118
118
|
}
|
|
@@ -260,7 +260,6 @@ export const NewRuleImplementation = ({
|
|
|
260
260
|
_.propOr([{}], "dataset"),
|
|
261
261
|
withDefaultAlias
|
|
262
262
|
)(ruleImplementationProps);
|
|
263
|
-
|
|
264
263
|
const [ruleImplementation, setRuleImplementation] = useState(
|
|
265
264
|
edition
|
|
266
265
|
? {
|
|
@@ -269,7 +268,10 @@ export const NewRuleImplementation = ({
|
|
|
269
268
|
implementationKey: clone
|
|
270
269
|
? ""
|
|
271
270
|
: ruleImplementationProps.implementation_key,
|
|
272
|
-
implementationType:
|
|
271
|
+
implementationType:
|
|
272
|
+
ruleImplementationProps.implementation_type == "draft"
|
|
273
|
+
? "default"
|
|
274
|
+
: ruleImplementationProps.implementation_type,
|
|
273
275
|
dataset: precalculatedDataset,
|
|
274
276
|
populations: _.flow(
|
|
275
277
|
_.pathOr([], "populations"),
|
|
@@ -137,7 +137,7 @@ describe("<NewRuleImplementation> NewRuleImplementation doSubmit", () => {
|
|
|
137
137
|
goal: 90,
|
|
138
138
|
id: 1329 + 1,
|
|
139
139
|
implementation_key: "oracle_prueba",
|
|
140
|
-
implementation_type: "
|
|
140
|
+
implementation_type: "draft",
|
|
141
141
|
minimum: 80,
|
|
142
142
|
populations: [],
|
|
143
143
|
result_type: "percentage",
|
|
@@ -149,6 +149,7 @@ describe("<NewRuleImplementation> NewRuleImplementation doSubmit", () => {
|
|
|
149
149
|
it("doSubmit: is empty operator", async () => {
|
|
150
150
|
const expectedRuleImplementation = {
|
|
151
151
|
...expectedRuleImplementationBase,
|
|
152
|
+
implementation_type: "default",
|
|
152
153
|
validation: [
|
|
153
154
|
[
|
|
154
155
|
{
|
|
@@ -247,6 +248,7 @@ describe("<NewRuleImplementation> NewRuleImplementation doSubmit", () => {
|
|
|
247
248
|
it("doSubmit: unique across fields operator", async () => {
|
|
248
249
|
const expectedRuleImplementation = {
|
|
249
250
|
...expectedRuleImplementationBase,
|
|
251
|
+
implementation_type: "default",
|
|
250
252
|
validation: [
|
|
251
253
|
[
|
|
252
254
|
{
|
package/src/messages/en.js
CHANGED
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
"filters.active.raw": "Active",
|
|
51
51
|
"filters.active.raw.false": "No",
|
|
52
52
|
"filters.active.raw.true": "Yes",
|
|
53
|
-
"filters.
|
|
53
|
+
"filters.df_label.raw": "Type",
|
|
54
54
|
"filters.current_business_concept_version": "Concept",
|
|
55
55
|
"filters.execution_result_info.result_text": "Execution",
|
|
56
56
|
"filters.result_type.raw": "Result Type",
|
package/src/messages/es.js
CHANGED
|
@@ -50,7 +50,7 @@ export default {
|
|
|
50
50
|
"filters.active.raw": "Activo",
|
|
51
51
|
"filters.active.raw.false": "No",
|
|
52
52
|
"filters.active.raw.true": "Sí",
|
|
53
|
-
"filters.
|
|
53
|
+
"filters.df_label.raw": "Tipo",
|
|
54
54
|
"filters.current_business_concept_version": "Concepto",
|
|
55
55
|
"filters.execution_result_info.result_text": "Ejecución",
|
|
56
56
|
"filters.result_type.raw": "Tipo de resultado",
|