@truedat/dd 5.3.2 → 5.4.0

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
+ ## [5.4.0] 2023-03-21
4
+
5
+ ### Added
6
+
7
+ - [TD-5481] Add filename column in view my tasks page
8
+
3
9
  ## [5.3.2] 2023-03-13
4
10
 
5
11
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "5.3.2",
3
+ "version": "5.4.0",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
34
  "@testing-library/jest-dom": "^5.16.5",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "5.3.2",
37
+ "@truedat/test": "5.3.3",
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",
@@ -87,9 +87,9 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@apollo/client": "^3.7.1",
90
- "@truedat/auth": "5.3.2",
91
- "@truedat/core": "5.3.2",
92
- "@truedat/df": "5.3.2",
90
+ "@truedat/auth": "5.4.0",
91
+ "@truedat/core": "5.4.0",
92
+ "@truedat/df": "5.4.0",
93
93
  "lodash": "^4.17.21",
94
94
  "moment": "^2.29.4",
95
95
  "path-to-regexp": "^1.7.0",
@@ -114,5 +114,5 @@
114
114
  "react-dom": ">= 16.8.6 < 17",
115
115
  "semantic-ui-react": ">= 2.0.3 < 2.2"
116
116
  },
117
- "gitHead": "ea33c4f9396f3843573b2508a93473bb3d98ee65"
117
+ "gitHead": "e8b1b4b4323f098ac213ecbd53fe6a005254a672"
118
118
  }
@@ -110,8 +110,8 @@ export const StructuresUploadEventsTable = ({
110
110
  </Table.Row>
111
111
  </Table.Header>
112
112
  <Table.Body>
113
- {_.map((eventKey) => {
114
- return (
113
+ {_.map(
114
+ (eventKey) => (
115
115
  <Table.Row
116
116
  className={
117
117
  events[eventKey].expanded ? "expanded" : "contracted"
@@ -132,9 +132,16 @@ export const StructuresUploadEventsTable = ({
132
132
  />
133
133
  ))
134
134
  ) : (
135
- <Table.Cell
136
- colSpan={columns.length}
137
- content={columns.map((column, key) => (
135
+ <Table.Cell colSpan={columns.length}>
136
+ {events[eventKey].csv_hash ? (
137
+ <>
138
+ <FormattedMessage
139
+ id={`structures.bulkUploadEvents.props.csv_hash`}
140
+ />
141
+ :&nbsp;{events[eventKey].csv_hash}
142
+ </>
143
+ ) : null}
144
+ {columns.map((column, key) => (
138
145
  <div key={key}>
139
146
  {columnDecorator(column)({
140
147
  ...events[eventKey],
@@ -142,11 +149,12 @@ export const StructuresUploadEventsTable = ({
142
149
  })}
143
150
  </div>
144
151
  ))}
145
- />
152
+ </Table.Cell>
146
153
  )}
147
154
  </Table.Row>
148
- );
149
- }, Object.keys(events))}
155
+ ),
156
+ Object.keys(events)
157
+ )}
150
158
  </Table.Body>
151
159
  </Table>
152
160
  )}
@@ -22,7 +22,7 @@ exports[`<DictionaryRoutes /> matches the latest snapshot 1`] = `
22
22
  render={[Function]}
23
23
  />
24
24
  <Route
25
- path="/bulk_update_template_content_events"
25
+ path="/bulkUpdateTemplateContentEvents"
26
26
  render={[Function]}
27
27
  />
28
28
  <Route
@@ -26,7 +26,7 @@ exports[`<GrantApprovalRuleEdit /> matches the last snapshot 1`] = `
26
26
  </div>
27
27
  </div>
28
28
  <div
29
- class="required field"
29
+ class="required field fix-dropdown-selector"
30
30
  >
31
31
  <label>
32
32
  Domain
@@ -690,7 +690,7 @@ exports[`<GrantApprovalRuleForm /> matches the last snapshot for new rule 1`] =
690
690
  </div>
691
691
  </div>
692
692
  <div
693
- class="required field"
693
+ class="required field fix-dropdown-selector"
694
694
  >
695
695
  <label>
696
696
  Domain
@@ -26,7 +26,7 @@ exports[`<GrantApprovalRuleNew /> matches the last snapshot 1`] = `
26
26
  </div>
27
27
  </div>
28
28
  <div
29
- class="required field"
29
+ class="required field fix-dropdown-selector"
30
30
  >
31
31
  <label>
32
32
  Domain
@@ -130,7 +130,7 @@ exports[`<ReferenceDataset /> edit dataset view matches the latest snapshot 1`]
130
130
  class="ui form"
131
131
  >
132
132
  <div
133
- class="field"
133
+ class="field fix-dropdown-selector"
134
134
  >
135
135
  <label>
136
136
  Domain
@@ -41,7 +41,7 @@ exports[`<ReferenceDatasetCreate /> matches the latest snapshot 1`] = `
41
41
  class="ui form"
42
42
  >
43
43
  <div
44
- class="field"
44
+ class="field fix-dropdown-selector"
45
45
  >
46
46
  <label>
47
47
  Domain
@@ -6,7 +6,7 @@ exports[`<ReferenceDatasetDetail /> matches the latest snapshot (edit route) 1`]
6
6
  class="ui form"
7
7
  >
8
8
  <div
9
- class="field"
9
+ class="field fix-dropdown-selector"
10
10
  >
11
11
  <label>
12
12
  Domain
@@ -6,7 +6,7 @@ exports[`<ReferenceDatasetForm /> matches the latest snapshot 1`] = `
6
6
  class="ui form"
7
7
  >
8
8
  <div
9
- class="field"
9
+ class="field fix-dropdown-selector"
10
10
  >
11
11
  <label>
12
12
  Domain
@@ -41,7 +41,7 @@ exports[`<ReferenceDatasetRoutes /> matches the latest snapshot (create route) 1
41
41
  class="ui form"
42
42
  >
43
43
  <div
44
- class="field"
44
+ class="field fix-dropdown-selector"
45
45
  >
46
46
  <label>
47
47
  Domain
@@ -4,7 +4,7 @@ exports[`<StructuresUpdateOption /> matches the latest snapshot 1`] = `
4
4
  <div>
5
5
  <a
6
6
  class="item"
7
- href="/structures/bulk_update"
7
+ href="/structures/bulkUpdate"
8
8
  role="option"
9
9
  >
10
10
  <i
@@ -11,11 +11,6 @@ exports[`<StructuresUploadEventsTable /> matches the latest snapshot 1`] = `
11
11
  <tr
12
12
  class=""
13
13
  >
14
- <th
15
- class="two wide"
16
- >
17
- CSV hash
18
- </th>
19
14
  <th
20
15
  class="two wide"
21
16
  >
@@ -39,11 +34,6 @@ exports[`<StructuresUploadEventsTable /> matches the latest snapshot 1`] = `
39
34
  <tr
40
35
  class="contracted"
41
36
  >
42
- <td
43
- class=""
44
- >
45
- 99E400B91D164F8F0A39F400CA323C8F
46
- </td>
47
37
  <td
48
38
  class=""
49
39
  >
@@ -72,11 +62,6 @@ exports[`<StructuresUploadEventsTable /> matches the latest snapshot 1`] = `
72
62
  <tr
73
63
  class="contracted"
74
64
  >
75
- <td
76
- class=""
77
- >
78
- 47D90FDF1AD967BD7DBBDAE28664278E
79
- </td>
80
65
  <td
81
66
  class=""
82
67
  >
@@ -1,7 +1,6 @@
1
1
  import _ from "lodash/fp";
2
2
  import {
3
3
  clearGraph,
4
- clearStructure,
5
4
  fetchGraph,
6
5
  fetchStructure,
7
6
  createGraph,
@@ -41,7 +41,7 @@ const statusDecorator = (status) => (
41
41
 
42
42
  export const defaultStructuresUploadEventColumns = [
43
43
  {
44
- name: "csv_hash",
44
+ name: "filename",
45
45
  width: 2,
46
46
  },
47
47
  {