@truedat/dd 5.3.3 → 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.3",
3
+ "version": "5.4.0",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -87,9 +87,9 @@
87
87
  },
88
88
  "dependencies": {
89
89
  "@apollo/client": "^3.7.1",
90
- "@truedat/auth": "5.3.3",
91
- "@truedat/core": "5.3.3",
92
- "@truedat/df": "5.3.3",
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": "019b7a3383879ed824b1b494e78e03ad8cc9556f"
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
@@ -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
  >
@@ -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
  {