@truedat/audit 7.5.9 → 7.5.10

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.
Files changed (65) hide show
  1. package/package.json +45 -71
  2. package/src/components/ContentFilters.js +3 -1
  3. package/src/components/NotificationEvent.js +2 -2
  4. package/src/components/NotificationsMenu.js +2 -10
  5. package/src/components/ShareLinkForm.js +33 -32
  6. package/src/components/ShareLinkPopup.js +1 -1
  7. package/src/components/Subscription.js +0 -1
  8. package/src/components/SubscriptionActions.js +1 -2
  9. package/src/components/SubscriptionCrumbs.js +2 -3
  10. package/src/components/SubscriptionEdit.js +0 -1
  11. package/src/components/SubscriptionForm.js +305 -310
  12. package/src/components/SubscriptionLoader.js +2 -2
  13. package/src/components/SubscriptionNew.js +0 -1
  14. package/src/components/SubscriptionRoutes.js +58 -56
  15. package/src/components/SubscriptionWatchForm.js +0 -1
  16. package/src/components/Subscriptions.js +4 -7
  17. package/src/components/SubscriptionsLoader.js +1 -1
  18. package/src/components/__tests__/NotificationEvent.spec.js +1 -4
  19. package/src/components/__tests__/NotificationsMenu.spec.js +0 -1
  20. package/src/components/__tests__/ShareLinkForm.spec.js +23 -17
  21. package/src/components/__tests__/ShareLinkPopup.spec.js +0 -1
  22. package/src/components/__tests__/Subscription.spec.js +0 -1
  23. package/src/components/__tests__/SubscriptionActions.spec.js +0 -1
  24. package/src/components/__tests__/SubscriptionCrumbs.spec.js +5 -5
  25. package/src/components/__tests__/SubscriptionEdit.spec.js +9 -8
  26. package/src/components/__tests__/SubscriptionForm.spec.js +141 -125
  27. package/src/components/__tests__/SubscriptionLoader.spec.js +0 -1
  28. package/src/components/__tests__/SubscriptionNew.spec.js +5 -5
  29. package/src/components/__tests__/SubscriptionRoutes.spec.js +44 -6
  30. package/src/components/__tests__/SubscriptionWatchForm.spec.js +37 -34
  31. package/src/components/__tests__/Subscriptions.spec.js +0 -1
  32. package/src/components/__tests__/SubscriptionsLoader.spec.js +0 -1
  33. package/src/components/__tests__/__snapshots__/NotificationEvent.spec.js.snap +6 -6
  34. package/src/components/__tests__/__snapshots__/NotificationsMenu.spec.js.snap +7 -7
  35. package/src/components/__tests__/__snapshots__/ShareLinkForm.spec.js.snap +6 -6
  36. package/src/components/__tests__/__snapshots__/Subscription.spec.js.snap +4 -5
  37. package/src/components/__tests__/__snapshots__/SubscriptionActions.spec.js.snap +0 -1
  38. package/src/components/__tests__/__snapshots__/SubscriptionCrumbs.spec.js.snap +20 -30
  39. package/src/components/__tests__/__snapshots__/SubscriptionEdit.spec.js.snap +75 -25
  40. package/src/components/__tests__/__snapshots__/SubscriptionForm.spec.js.snap +23 -23
  41. package/src/components/__tests__/__snapshots__/SubscriptionNew.spec.js.snap +64 -25
  42. package/src/components/__tests__/__snapshots__/SubscriptionRoutes.spec.js.snap +710 -23
  43. package/src/components/__tests__/__snapshots__/SubscriptionWatchForm.spec.js.snap +83 -80
  44. package/src/components/__tests__/__snapshots__/Subscriptions.spec.js.snap +28 -37
  45. package/src/index.js +1 -2
  46. package/src/reducers/__tests__/auditMessage.spec.js +3 -3
  47. package/src/reducers/__tests__/auditRedirect.spec.js +2 -2
  48. package/src/reducers/__tests__/events.spec.js +1 -1
  49. package/src/reducers/__tests__/searchSubscription.spec.js +5 -5
  50. package/src/reducers/__tests__/subscription.spec.js +1 -1
  51. package/src/reducers/__tests__/subscriptionUpdating.spec.js +6 -6
  52. package/src/reducers/__tests__/subscriptions.spec.js +1 -1
  53. package/src/reducers/auditMessage.js +1 -1
  54. package/src/reducers/events.js +1 -1
  55. package/src/sagas/__tests__/deleteSubscription.spec.js +7 -7
  56. package/src/sagas/__tests__/fetchSubscription.spec.js +2 -2
  57. package/src/sagas/__tests__/readNotification.spec.js +2 -2
  58. package/src/sagas/__tests__/updateSubscription.spec.js +8 -8
  59. package/src/sagas/createSubscription.js +3 -3
  60. package/src/sagas/deleteSubscription.js +1 -1
  61. package/src/sagas/readNotification.js +1 -1
  62. package/src/sagas/updateSubscription.js +4 -4
  63. package/src/selectors/__tests__/getRecipients.spec.js +0 -32
  64. package/src/selectors/getRecipients.js +0 -34
  65. package/src/selectors/index.js +0 -1
@@ -7,9 +7,10 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
7
7
  >
8
8
  <a
9
9
  class="section"
10
+ data-discover="true"
10
11
  href="/subscriptions"
11
12
  >
12
- Subscriptions
13
+ subscriptions.header
13
14
  </a>
14
15
  <i
15
16
  aria-hidden="true"
@@ -18,7 +19,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
18
19
  <div
19
20
  class="active section"
20
21
  >
21
- New Subscription
22
+ subscriptions.actions.create
22
23
  </div>
23
24
  </div>
24
25
  <div
@@ -34,18 +35,17 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
34
35
  <div
35
36
  class="content"
36
37
  >
37
- New Subscription
38
+ subscriptions.actions.create
38
39
  </div>
39
40
  </h2>
40
41
  <form
41
42
  class="ui form"
42
- style="display: none;"
43
43
  >
44
44
  <div
45
45
  class="required field subscription-form-radio-group"
46
46
  >
47
47
  <label>
48
- Subscriber
48
+ subscriptions.subscriber
49
49
  </label>
50
50
  <div
51
51
  class="ui checked radio checkbox"
@@ -65,7 +65,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
65
65
  aria-hidden="true"
66
66
  class="student icon"
67
67
  />
68
- Role
68
+ role
69
69
  </label>
70
70
  </div>
71
71
  <div
@@ -85,7 +85,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
85
85
  aria-hidden="true"
86
86
  class="student icon"
87
87
  />
88
- Role in taxonomy
88
+ taxonomy_role
89
89
  </label>
90
90
  </div>
91
91
  <div
@@ -105,7 +105,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
105
105
  aria-hidden="true"
106
106
  class="envelope icon"
107
107
  />
108
- Email
108
+ email
109
109
  </label>
110
110
  </div>
111
111
  <div
@@ -125,15 +125,53 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
125
125
  aria-hidden="true"
126
126
  class="user icon"
127
127
  />
128
- User
128
+ user
129
129
  </label>
130
130
  </div>
131
131
  </div>
132
+ <div
133
+ aria-disabled="false"
134
+ aria-expanded="false"
135
+ class="ui search selection dropdown"
136
+ role="combobox"
137
+ >
138
+ <input
139
+ aria-autocomplete="list"
140
+ autocomplete="off"
141
+ class="search"
142
+ tabindex="0"
143
+ type="text"
144
+ value=""
145
+ />
146
+ <div
147
+ aria-atomic="true"
148
+ aria-live="polite"
149
+ class="divider default text"
150
+ role="alert"
151
+ >
152
+ role.search.placeholder
153
+ </div>
154
+ <i
155
+ aria-hidden="true"
156
+ class="dropdown icon"
157
+ />
158
+ <div
159
+ aria-multiselectable="false"
160
+ class="menu transition"
161
+ role="listbox"
162
+ >
163
+ <div
164
+ class="message"
165
+ >
166
+ No results found.
167
+ </div>
168
+ </div>
169
+ </div>
132
170
  <div
133
171
  class="required field subscription-form-radio-group"
134
172
  >
135
173
  <label>
136
- Resource
174
+ subscriptions.resource
137
175
  </label>
138
176
  <div
139
177
  class="ui radio checkbox"
@@ -151,7 +189,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
151
189
  aria-hidden="true"
152
190
  class="sitemap icon"
153
191
  />
154
- Domain
192
+ domain
155
193
  </label>
156
194
  </div>
157
195
  <div
@@ -170,7 +208,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
170
208
  aria-hidden="true"
171
209
  class="sitemap icon"
172
210
  />
173
- Domain and children
211
+ domains
174
212
  </label>
175
213
  </div>
176
214
  <div
@@ -189,7 +227,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
189
227
  aria-hidden="true"
190
228
  class="book icon"
191
229
  />
192
- Concept
230
+ concept
193
231
  </label>
194
232
  </div>
195
233
  <div
@@ -208,7 +246,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
208
246
  aria-hidden="true"
209
247
  class="block layout icon"
210
248
  />
211
- Structure
249
+ data_structure
212
250
  </label>
213
251
  </div>
214
252
  <div
@@ -228,7 +266,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
228
266
  aria-hidden="true"
229
267
  class="plug icon"
230
268
  />
231
- Source
269
+ source
232
270
  </label>
233
271
  </div>
234
272
  <div
@@ -248,7 +286,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
248
286
  aria-hidden="true"
249
287
  class="clipboard check icon"
250
288
  />
251
- Quality Rule
289
+ rule
252
290
  </label>
253
291
  </div>
254
292
  </div>
@@ -256,7 +294,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
256
294
  class="required field"
257
295
  >
258
296
  <label>
259
- Notifications periodicity
297
+ subscriptions.periodicity
260
298
  </label>
261
299
  <div
262
300
  aria-expanded="false"
@@ -271,7 +309,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
271
309
  class="divider default text"
272
310
  role="alert"
273
311
  >
274
- Notifications periodicity
312
+ subscriptions.periodicity
275
313
  </div>
276
314
  <i
277
315
  aria-hidden="true"
@@ -290,7 +328,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
290
328
  <span
291
329
  class="text"
292
330
  >
293
- Daily
331
+ daily
294
332
  </span>
295
333
  </div>
296
334
  <div
@@ -303,7 +341,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
303
341
  <span
304
342
  class="text"
305
343
  >
306
- Immediately
344
+ minutely
307
345
  </span>
308
346
  </div>
309
347
  <div
@@ -316,7 +354,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
316
354
  <span
317
355
  class="text"
318
356
  >
319
- Hourly
357
+ hourly
320
358
  </span>
321
359
  </div>
322
360
  </div>
@@ -326,7 +364,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
326
364
  class="disabled required field"
327
365
  >
328
366
  <label>
329
- Events
367
+ subscriptions.events
330
368
  </label>
331
369
  <div
332
370
  aria-disabled="true"
@@ -343,7 +381,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
343
381
  class="divider default text"
344
382
  role="alert"
345
383
  >
346
- Events
384
+ subscriptions.events
347
385
  </div>
348
386
  <i
349
387
  aria-hidden="true"
@@ -359,10 +397,11 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
359
397
  >
360
398
  <a
361
399
  class="ui secondary button"
400
+ data-discover="true"
362
401
  href="/"
363
402
  role="button"
364
403
  >
365
- Cancel
404
+ actions.cancel
366
405
  </a>
367
406
  <button
368
407
  class="ui primary disabled button"
@@ -370,7 +409,7 @@ exports[`<SubscriptionNew /> matches the latest snapshot 1`] = `
370
409
  tabindex="-1"
371
410
  type="submit"
372
411
  >
373
- Save
412
+ actions.save
374
413
  </button>
375
414
  </div>
376
415
  </form>