@truedat/audit 4.45.5 → 4.45.6

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.6] 2022-06-06
4
+
5
+ ### Added
6
+
7
+ - [TD-4655] Add errored status for quality execution subscriptions
8
+
3
9
  ## [4.45.2] 2022-05-31
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/audit",
3
- "version": "4.45.5",
3
+ "version": "4.45.6",
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.1",
37
+ "@truedat/test": "4.45.6",
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.5",
89
- "@truedat/core": "4.45.1",
88
+ "@truedat/auth": "4.45.6",
89
+ "@truedat/core": "4.45.6",
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": "c4454f208bd09af1ce23225a76df44c6390299c3"
110
+ "gitHead": "6624767ce3b6893d538087057b662d11f90eb72d"
111
111
  }
@@ -32,14 +32,14 @@ export const NotificationsMenu = ({
32
32
  {unread_counter}
33
33
  </Label>
34
34
  )}
35
- <Dropdown item icon="bell" onOpen={fetchNotifications} scrolling={true}>
35
+ <Dropdown item icon="bell" onOpen={fetchNotifications} scrolling>
36
36
  <Dropdown.Menu direction="left" className="notifications-dropdown">
37
37
  <Dropdown.Header>
38
38
  <FormattedMessage id="navigation.notifications" />
39
39
  </Dropdown.Header>
40
40
  <Dropdown.Divider />
41
41
  {notificationsLoading ? (
42
- <Dropdown.Item className="notifications-loading" disabled={true}>
42
+ <Dropdown.Item className="notifications-loading" disabled>
43
43
  <Loading />
44
44
  </Dropdown.Item>
45
45
  ) : notifications && notifications.length > 0 ? (
@@ -72,7 +72,7 @@ export const NotificationsMenu = ({
72
72
  ))
73
73
  )
74
74
  ) : (
75
- <Dropdown.Item disabled={true}>
75
+ <Dropdown.Item disabled>
76
76
  <FormattedMessage id="navigation.notifications.empty" />
77
77
  </Dropdown.Item>
78
78
  )}
@@ -469,7 +469,10 @@ export const SubscriptionForm = ({
469
469
  value: name,
470
470
  text: (
471
471
  <label>
472
- <Icon name="circle" color={color} />
472
+ <Icon
473
+ name={name == "error" ? "warning circle" : "circle"}
474
+ color={color}
475
+ />
473
476
  {formatMessage({ id: `subscriptions.status.${name}` })}
474
477
  </label>
475
478
  ),
@@ -46,6 +46,7 @@ export default {
46
46
  "subscriptions.status.error": "< Threshold",
47
47
  "subscriptions.status.success": "Goal",
48
48
  "subscriptions.status.warn": "< Goal",
49
+ "subscriptions.status.error": "Failed",
49
50
 
50
51
  "subscriptions.status.job_status_started": "Started jobs",
51
52
  "subscriptions.status.job_status_pending": "Pending jobs",
@@ -46,6 +46,7 @@ export default {
46
46
  "subscriptions.status.error": "< Umbral",
47
47
  "subscriptions.status.success": "Objetivo",
48
48
  "subscriptions.status.warn": "< Objetivo",
49
+ "subscriptions.status.error": "Fallida",
49
50
 
50
51
  "subscriptions.status.job_status_started": "Jobs iniciados",
51
52
  "subscriptions.status.job_status_pending": "Jobs pendientes",
@@ -75,6 +75,7 @@ export const STATUSES_BY_EVENT = {
75
75
  { name: "fail", color: "red" },
76
76
  { name: "warn", color: "yellow" },
77
77
  { name: "success", color: "green" },
78
+ { name: "error", color: "red" },
78
79
  ],
79
80
  status_changed: [
80
81
  { name: "job_status_started", color: "blue" },