@truedat/dd 5.2.8 → 5.3.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 +12 -0
- package/package.json +5 -5
- package/src/api/queries.js +31 -0
- package/src/components/DictionaryRoutes.js +3 -0
- package/src/components/ReferenceDatasetFieldSelector.js +146 -0
- package/src/components/Task.js +149 -0
- package/src/components/Tasks.js +138 -0
- package/src/components/TasksRoutes.js +27 -0
- package/src/components/__tests__/ReferenceDatasetFieldSelector.spec.js +86 -0
- package/src/components/__tests__/Task.spec.js +44 -0
- package/src/components/__tests__/Tasks.spec.js +120 -0
- package/src/components/__tests__/TasksRoutes.spec.js +56 -0
- package/src/components/__tests__/__snapshots__/DictionaryRoutes.spec.js.snap +4 -0
- package/src/components/__tests__/__snapshots__/Task.spec.js.snap +298 -0
- package/src/components/__tests__/__snapshots__/Tasks.spec.js.snap +301 -0
- package/src/components/__tests__/__snapshots__/TasksRoutes.spec.js.snap +448 -0
- package/src/messages/en.js +17 -0
- package/src/messages/es.js +17 -0
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
+
|
|
3
|
+
exports[`<Tasks /> matches the latest snapshot 1`] = `
|
|
4
|
+
<div>
|
|
5
|
+
<div
|
|
6
|
+
class="ui segment"
|
|
7
|
+
>
|
|
8
|
+
<h2
|
|
9
|
+
class="ui header"
|
|
10
|
+
>
|
|
11
|
+
<i
|
|
12
|
+
aria-hidden="true"
|
|
13
|
+
class="check circular icon"
|
|
14
|
+
/>
|
|
15
|
+
<div
|
|
16
|
+
class="content"
|
|
17
|
+
>
|
|
18
|
+
Tasks
|
|
19
|
+
<div
|
|
20
|
+
class="sub header"
|
|
21
|
+
>
|
|
22
|
+
Background reindex tasks
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
</h2>
|
|
26
|
+
<div
|
|
27
|
+
class="ui basic segment"
|
|
28
|
+
>
|
|
29
|
+
<button
|
|
30
|
+
class="ui primary button"
|
|
31
|
+
>
|
|
32
|
+
Refresh
|
|
33
|
+
</button>
|
|
34
|
+
<button
|
|
35
|
+
class="ui primary right floated button"
|
|
36
|
+
>
|
|
37
|
+
Reindex all structures
|
|
38
|
+
</button>
|
|
39
|
+
<button
|
|
40
|
+
class="ui primary right floated button"
|
|
41
|
+
>
|
|
42
|
+
Reindex all grants
|
|
43
|
+
</button>
|
|
44
|
+
</div>
|
|
45
|
+
<div
|
|
46
|
+
class="dimmable"
|
|
47
|
+
>
|
|
48
|
+
<div
|
|
49
|
+
class="ui inverted dimmer"
|
|
50
|
+
style=""
|
|
51
|
+
>
|
|
52
|
+
<div
|
|
53
|
+
class="content"
|
|
54
|
+
>
|
|
55
|
+
<div
|
|
56
|
+
class="ui loader"
|
|
57
|
+
/>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
<table
|
|
61
|
+
class="ui selectable table"
|
|
62
|
+
>
|
|
63
|
+
<thead
|
|
64
|
+
class=""
|
|
65
|
+
>
|
|
66
|
+
<tr
|
|
67
|
+
class=""
|
|
68
|
+
>
|
|
69
|
+
<th
|
|
70
|
+
class=""
|
|
71
|
+
>
|
|
72
|
+
Index
|
|
73
|
+
</th>
|
|
74
|
+
<th
|
|
75
|
+
class=""
|
|
76
|
+
>
|
|
77
|
+
Status
|
|
78
|
+
</th>
|
|
79
|
+
<th
|
|
80
|
+
class=""
|
|
81
|
+
>
|
|
82
|
+
Started at
|
|
83
|
+
</th>
|
|
84
|
+
<th
|
|
85
|
+
class=""
|
|
86
|
+
>
|
|
87
|
+
Last message at
|
|
88
|
+
</th>
|
|
89
|
+
<th
|
|
90
|
+
class=""
|
|
91
|
+
>
|
|
92
|
+
Progress
|
|
93
|
+
</th>
|
|
94
|
+
<th
|
|
95
|
+
class=""
|
|
96
|
+
>
|
|
97
|
+
Elapsed time
|
|
98
|
+
</th>
|
|
99
|
+
</tr>
|
|
100
|
+
</thead>
|
|
101
|
+
<tbody
|
|
102
|
+
class=""
|
|
103
|
+
>
|
|
104
|
+
<tr
|
|
105
|
+
class=""
|
|
106
|
+
>
|
|
107
|
+
<td
|
|
108
|
+
class=""
|
|
109
|
+
>
|
|
110
|
+
grants
|
|
111
|
+
</td>
|
|
112
|
+
<td
|
|
113
|
+
class=""
|
|
114
|
+
>
|
|
115
|
+
processing
|
|
116
|
+
</td>
|
|
117
|
+
<td
|
|
118
|
+
class=""
|
|
119
|
+
>
|
|
120
|
+
<time
|
|
121
|
+
datetime="1577836800000"
|
|
122
|
+
>
|
|
123
|
+
2020-01-01 00:00
|
|
124
|
+
</time>
|
|
125
|
+
</td>
|
|
126
|
+
<td
|
|
127
|
+
class=""
|
|
128
|
+
>
|
|
129
|
+
<time
|
|
130
|
+
datetime="1577836860000"
|
|
131
|
+
>
|
|
132
|
+
2020-01-01 00:01
|
|
133
|
+
</time>
|
|
134
|
+
</td>
|
|
135
|
+
<td
|
|
136
|
+
class=""
|
|
137
|
+
>
|
|
138
|
+
1000/10000
|
|
139
|
+
</td>
|
|
140
|
+
<td
|
|
141
|
+
class=""
|
|
142
|
+
>
|
|
143
|
+
0.01s
|
|
144
|
+
</td>
|
|
145
|
+
</tr>
|
|
146
|
+
</tbody>
|
|
147
|
+
</table>
|
|
148
|
+
</div>
|
|
149
|
+
</div>
|
|
150
|
+
</div>
|
|
151
|
+
`;
|
|
152
|
+
|
|
153
|
+
exports[`<Tasks /> refetches button 1`] = `
|
|
154
|
+
<div>
|
|
155
|
+
<div
|
|
156
|
+
class="ui segment"
|
|
157
|
+
>
|
|
158
|
+
<h2
|
|
159
|
+
class="ui header"
|
|
160
|
+
>
|
|
161
|
+
<i
|
|
162
|
+
aria-hidden="true"
|
|
163
|
+
class="check circular icon"
|
|
164
|
+
/>
|
|
165
|
+
<div
|
|
166
|
+
class="content"
|
|
167
|
+
>
|
|
168
|
+
Tasks
|
|
169
|
+
<div
|
|
170
|
+
class="sub header"
|
|
171
|
+
>
|
|
172
|
+
Background reindex tasks
|
|
173
|
+
</div>
|
|
174
|
+
</div>
|
|
175
|
+
</h2>
|
|
176
|
+
<div
|
|
177
|
+
class="ui basic segment"
|
|
178
|
+
>
|
|
179
|
+
<button
|
|
180
|
+
class="ui primary button"
|
|
181
|
+
>
|
|
182
|
+
Refresh
|
|
183
|
+
</button>
|
|
184
|
+
<button
|
|
185
|
+
class="ui primary right floated button"
|
|
186
|
+
>
|
|
187
|
+
Reindex all structures
|
|
188
|
+
</button>
|
|
189
|
+
<button
|
|
190
|
+
class="ui primary right floated button"
|
|
191
|
+
>
|
|
192
|
+
Reindex all grants
|
|
193
|
+
</button>
|
|
194
|
+
</div>
|
|
195
|
+
<div
|
|
196
|
+
class="dimmable"
|
|
197
|
+
>
|
|
198
|
+
<div
|
|
199
|
+
class="ui inverted dimmer"
|
|
200
|
+
style=""
|
|
201
|
+
>
|
|
202
|
+
<div
|
|
203
|
+
class="content"
|
|
204
|
+
>
|
|
205
|
+
<div
|
|
206
|
+
class="ui loader"
|
|
207
|
+
/>
|
|
208
|
+
</div>
|
|
209
|
+
</div>
|
|
210
|
+
<table
|
|
211
|
+
class="ui selectable table"
|
|
212
|
+
>
|
|
213
|
+
<thead
|
|
214
|
+
class=""
|
|
215
|
+
>
|
|
216
|
+
<tr
|
|
217
|
+
class=""
|
|
218
|
+
>
|
|
219
|
+
<th
|
|
220
|
+
class=""
|
|
221
|
+
>
|
|
222
|
+
Index
|
|
223
|
+
</th>
|
|
224
|
+
<th
|
|
225
|
+
class=""
|
|
226
|
+
>
|
|
227
|
+
Status
|
|
228
|
+
</th>
|
|
229
|
+
<th
|
|
230
|
+
class=""
|
|
231
|
+
>
|
|
232
|
+
Started at
|
|
233
|
+
</th>
|
|
234
|
+
<th
|
|
235
|
+
class=""
|
|
236
|
+
>
|
|
237
|
+
Last message at
|
|
238
|
+
</th>
|
|
239
|
+
<th
|
|
240
|
+
class=""
|
|
241
|
+
>
|
|
242
|
+
Progress
|
|
243
|
+
</th>
|
|
244
|
+
<th
|
|
245
|
+
class=""
|
|
246
|
+
>
|
|
247
|
+
Elapsed time
|
|
248
|
+
</th>
|
|
249
|
+
</tr>
|
|
250
|
+
</thead>
|
|
251
|
+
<tbody
|
|
252
|
+
class=""
|
|
253
|
+
>
|
|
254
|
+
<tr
|
|
255
|
+
class=""
|
|
256
|
+
>
|
|
257
|
+
<td
|
|
258
|
+
class=""
|
|
259
|
+
>
|
|
260
|
+
grants
|
|
261
|
+
</td>
|
|
262
|
+
<td
|
|
263
|
+
class=""
|
|
264
|
+
>
|
|
265
|
+
done
|
|
266
|
+
</td>
|
|
267
|
+
<td
|
|
268
|
+
class=""
|
|
269
|
+
>
|
|
270
|
+
<time
|
|
271
|
+
datetime="1577836800000"
|
|
272
|
+
>
|
|
273
|
+
2020-01-01 00:00
|
|
274
|
+
</time>
|
|
275
|
+
</td>
|
|
276
|
+
<td
|
|
277
|
+
class=""
|
|
278
|
+
>
|
|
279
|
+
<time
|
|
280
|
+
datetime="1577836920000"
|
|
281
|
+
>
|
|
282
|
+
2020-01-01 00:02
|
|
283
|
+
</time>
|
|
284
|
+
</td>
|
|
285
|
+
<td
|
|
286
|
+
class=""
|
|
287
|
+
>
|
|
288
|
+
10000/10000
|
|
289
|
+
</td>
|
|
290
|
+
<td
|
|
291
|
+
class=""
|
|
292
|
+
>
|
|
293
|
+
0.02s
|
|
294
|
+
</td>
|
|
295
|
+
</tr>
|
|
296
|
+
</tbody>
|
|
297
|
+
</table>
|
|
298
|
+
</div>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
`;
|