@truedat/audit 4.54.2 → 4.54.4

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.54.4] 2022-10-25
4
+
5
+ ### Added
6
+
7
+ - [TD-3765] Add empty datset status for quality execution subscriptions
8
+
3
9
  ## [4.52.6] 2022-10-03
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/audit",
3
- "version": "4.54.2",
3
+ "version": "4.54.4",
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.54.0",
37
+ "@truedat/test": "4.54.4",
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.54.2",
89
- "@truedat/core": "4.54.2",
88
+ "@truedat/auth": "4.54.4",
89
+ "@truedat/core": "4.54.4",
90
90
  "path-to-regexp": "^1.7.0",
91
91
  "prop-types": "^15.8.1",
92
92
  "react-color": "^2.17.3",
@@ -106,5 +106,5 @@
106
106
  "react-dom": ">= 16.8.6 < 17",
107
107
  "semantic-ui-react": ">= 0.88.2 < 2.1"
108
108
  },
109
- "gitHead": "5f8e708ced0c68fbe8a38373f3cc579702f3e7e4"
109
+ "gitHead": "065f4870d4b2195564585d7d70fec26b475f337a"
110
110
  }
@@ -480,7 +480,12 @@ export const SubscriptionForm = ({
480
480
  <label>
481
481
  {color ? (
482
482
  <Icon
483
- name={name == "error" ? "warning circle" : "circle"}
483
+ name={
484
+ name == "error" || "empty_dataset"
485
+ ? "warning circle"
486
+ : "circle"
487
+ }
488
+ inverted={name == "empty_dataset" ? true : false}
484
489
  color={color}
485
490
  />
486
491
  ) : null}
@@ -46,11 +46,11 @@ export default {
46
46
  "subscriptions.filters.description": "Template:",
47
47
 
48
48
  "subscriptions.status": "Notify results",
49
+ "subscriptions.status.error": "Failed",
50
+ "subscriptions.status.empty_dataset": "Empty dataset",
49
51
  "subscriptions.status.fail": "< Threshold",
50
- "subscriptions.status.error": "< Threshold",
51
52
  "subscriptions.status.success": "Goal",
52
53
  "subscriptions.status.warn": "< Goal",
53
- "subscriptions.status.error": "Failed",
54
54
 
55
55
  "subscriptions.status.job_status_started": "Started jobs",
56
56
  "subscriptions.status.job_status_pending": "Pending jobs",
@@ -46,11 +46,11 @@ export default {
46
46
  "subscriptions.filters.description": "Plantilla:",
47
47
 
48
48
  "subscriptions.status": "Notificar resultados",
49
+ "subscriptions.status.error": "Fallida",
50
+ "subscriptions.status.empty_dataset": "Sin datos",
49
51
  "subscriptions.status.fail": "< Umbral",
50
- "subscriptions.status.error": "< Umbral",
51
52
  "subscriptions.status.success": "Objetivo",
52
53
  "subscriptions.status.warn": "< Objetivo",
53
- "subscriptions.status.error": "Fallida",
54
54
 
55
55
  "subscriptions.status.job_status_started": "Jobs iniciados",
56
56
  "subscriptions.status.job_status_pending": "Jobs pendientes",
@@ -89,6 +89,7 @@ export const STATUSES_BY_EVENT = {
89
89
  { name: "fail", color: "red" },
90
90
  { name: "warn", color: "yellow" },
91
91
  { name: "success", color: "green" },
92
+ { name: "empty_dataset", color: "grey" },
92
93
  { name: "error", color: "red" },
93
94
  ],
94
95
  status_changed: [