@truedat/cx 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 (110) hide show
  1. package/package.json +40 -70
  2. package/src/configurations/components/Configuration.js +3 -3
  3. package/src/configurations/components/ConfigurationActions.js +1 -2
  4. package/src/configurations/components/ConfigurationBreadcrumbs.js +2 -3
  5. package/src/configurations/components/ConfigurationCards.js +1 -2
  6. package/src/configurations/components/ConfigurationForm.js +6 -11
  7. package/src/configurations/components/ConfigurationLoader.js +1 -2
  8. package/src/configurations/components/ConfigurationRoutes.js +61 -72
  9. package/src/configurations/components/ConfigurationTokenLoader.js +0 -1
  10. package/src/configurations/components/Configurations.js +2 -2
  11. package/src/configurations/components/ConfigurationsLoader.js +0 -1
  12. package/src/configurations/components/DynamicConfigurationForm.js +5 -7
  13. package/src/configurations/components/EditConfiguration.js +0 -1
  14. package/src/configurations/components/NewConfiguration.js +0 -1
  15. package/src/configurations/components/__tests__/Configuration.spec.js +17 -10
  16. package/src/configurations/components/__tests__/ConfigurationCards.spec.js +22 -13
  17. package/src/configurations/components/__tests__/ConfigurationForm.spec.js +5 -5
  18. package/src/configurations/components/__tests__/ConfigurationLoader.spec.js +44 -36
  19. package/src/configurations/components/__tests__/ConfigurationTokenLoader.spec.js +46 -45
  20. package/src/configurations/components/__tests__/Configurations.spec.js +20 -22
  21. package/src/configurations/components/__tests__/ConfigurationsLoader.spec.js +32 -33
  22. package/src/configurations/components/__tests__/EditConfiguration.spec.js +5 -5
  23. package/src/configurations/components/__tests__/NewConfiguration.spec.js +0 -1
  24. package/src/configurations/components/__tests__/__snapshots__/Configuration.spec.js.snap +122 -57
  25. package/src/configurations/components/__tests__/__snapshots__/ConfigurationCards.spec.js.snap +160 -361
  26. package/src/configurations/components/__tests__/__snapshots__/ConfigurationForm.spec.js.snap +7 -6
  27. package/src/configurations/components/__tests__/__snapshots__/ConfigurationLoader.spec.js.snap +5 -31
  28. package/src/configurations/components/__tests__/__snapshots__/ConfigurationTokenLoader.spec.js.snap +5 -9
  29. package/src/configurations/components/__tests__/__snapshots__/Configurations.spec.js.snap +91 -72
  30. package/src/configurations/components/__tests__/__snapshots__/ConfigurationsLoader.spec.js.snap +5 -27
  31. package/src/configurations/components/__tests__/__snapshots__/EditConfiguration.spec.js.snap +12 -10
  32. package/src/configurations/components/__tests__/__snapshots__/NewConfiguration.spec.js.snap +11 -9
  33. package/src/configurations/components/index.js +1 -1
  34. package/src/configurations/reducers/configurationRedirect.js +1 -1
  35. package/src/configurations/reducers/configurations.js +1 -1
  36. package/src/configurations/reducers/index.js +1 -1
  37. package/src/configurations/reducers/systemConfigurations.js +1 -1
  38. package/src/configurations/sagas/signConfiguration.js +3 -1
  39. package/src/jobs/components/Job.js +0 -1
  40. package/src/jobs/components/JobBreadcrumbs.js +2 -3
  41. package/src/jobs/components/JobLoader.js +2 -2
  42. package/src/jobs/components/JobRoutes.js +28 -40
  43. package/src/jobs/components/JobRow.js +4 -4
  44. package/src/jobs/components/Jobs.js +5 -4
  45. package/src/jobs/components/JobsLabelResults.js +2 -3
  46. package/src/jobs/components/JobsSearch.js +0 -1
  47. package/src/jobs/components/JobsTable.js +3 -3
  48. package/src/jobs/components/JobsView.js +0 -1
  49. package/src/jobs/components/SourceJobs.js +0 -1
  50. package/src/jobs/components/__tests__/Job.spec.js +9 -11
  51. package/src/jobs/components/__tests__/JobBreadcrumbs.spec.js +5 -5
  52. package/src/jobs/components/__tests__/JobLoader.spec.js +12 -12
  53. package/src/jobs/components/__tests__/JobRow.spec.js +21 -20
  54. package/src/jobs/components/__tests__/Jobs.spec.js +1 -7
  55. package/src/jobs/components/__tests__/JobsLoader.spec.js +9 -9
  56. package/src/jobs/components/__tests__/JobsTable.spec.js +33 -28
  57. package/src/jobs/components/__tests__/JobsView.spec.js +1 -7
  58. package/src/jobs/components/__tests__/SourceJobs.spec.js +1 -7
  59. package/src/jobs/components/__tests__/__snapshots__/Job.spec.js.snap +143 -36
  60. package/src/jobs/components/__tests__/__snapshots__/JobBreadcrumbs.spec.js.snap +20 -30
  61. package/src/jobs/components/__tests__/__snapshots__/Jobs.spec.js.snap +10 -23
  62. package/src/jobs/components/__tests__/__snapshots__/JobsTable.spec.js.snap +7 -7
  63. package/src/jobs/components/__tests__/__snapshots__/JobsView.spec.js.snap +12 -24
  64. package/src/jobs/components/__tests__/__snapshots__/SourceJobs.spec.js.snap +8 -21
  65. package/src/jobs/reducers/jobActiveFilters.js +1 -1
  66. package/src/jobs/sagas/fetchJob.js +1 -1
  67. package/src/jobs/selectors/jobColumnsSelector.js +0 -1
  68. package/src/jobs/selectors/sourceJobColumnsSelector.js +0 -1
  69. package/src/sources/components/EditSource.js +0 -1
  70. package/src/sources/components/JobForm.js +1 -1
  71. package/src/sources/components/NewJob.js +0 -1
  72. package/src/sources/components/NewSource.js +0 -1
  73. package/src/sources/components/Source.js +0 -1
  74. package/src/sources/components/SourceActions.js +1 -2
  75. package/src/sources/components/SourceBreadcrumbs.js +1 -2
  76. package/src/sources/components/SourceConfiguration.js +3 -3
  77. package/src/sources/components/SourceDetail.js +46 -50
  78. package/src/sources/components/SourceForm.js +4 -7
  79. package/src/sources/components/SourceHeader.js +0 -1
  80. package/src/sources/components/SourceRoutes.js +30 -23
  81. package/src/sources/components/SourceSelector.js +0 -1
  82. package/src/sources/components/SourceTabs.js +14 -7
  83. package/src/sources/components/Sources.js +2 -2
  84. package/src/sources/components/SourcesTable.js +1 -2
  85. package/src/sources/components/__tests__/EditSource.spec.js +10 -12
  86. package/src/sources/components/__tests__/NewSource.spec.js +5 -10
  87. package/src/sources/components/__tests__/Source.spec.js +19 -27
  88. package/src/sources/components/__tests__/SourceActions.spec.js +1 -2
  89. package/src/sources/components/__tests__/SourceBreadcrumbs.spec.js +0 -1
  90. package/src/sources/components/__tests__/SourceDetail.spec.js +62 -38
  91. package/src/sources/components/__tests__/SourceForm.spec.js +109 -86
  92. package/src/sources/components/__tests__/SourceHeader.spec.js +1 -2
  93. package/src/sources/components/__tests__/SourceRoutes.spec.js +79 -7
  94. package/src/sources/components/__tests__/SourceSelector.spec.js +0 -1
  95. package/src/sources/components/__tests__/SourceTabs.spec.js +3 -4
  96. package/src/sources/components/__tests__/Sources.spec.js +24 -39
  97. package/src/sources/components/__tests__/SourcesTable.spec.js +48 -65
  98. package/src/sources/components/__tests__/__snapshots__/EditSource.spec.js.snap +134 -15
  99. package/src/sources/components/__tests__/__snapshots__/NewSource.spec.js.snap +36 -23
  100. package/src/sources/components/__tests__/__snapshots__/Source.spec.js.snap +28 -31
  101. package/src/sources/components/__tests__/__snapshots__/SourceActions.spec.js.snap +1 -1
  102. package/src/sources/components/__tests__/__snapshots__/SourceBreadcrumbs.spec.js.snap +2 -1
  103. package/src/sources/components/__tests__/__snapshots__/SourceDetail.spec.js.snap +13 -172
  104. package/src/sources/components/__tests__/__snapshots__/SourceForm.spec.js.snap +132 -106
  105. package/src/sources/components/__tests__/__snapshots__/SourceHeader.spec.js.snap +4 -4
  106. package/src/sources/components/__tests__/__snapshots__/SourceRoutes.spec.js.snap +47 -5
  107. package/src/sources/components/__tests__/__snapshots__/SourceTabs.spec.js.snap +5 -3
  108. package/src/sources/components/__tests__/__snapshots__/Sources.spec.js.snap +14 -11
  109. package/src/sources/components/__tests__/__snapshots__/SourcesTable.spec.js.snap +17 -12
  110. package/src/jobs/components/ConfigurationRoutes.js +0 -31
@@ -1,112 +1,138 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`<SourceForm /> with multiple templates matches the latest snapshot 1`] = `
4
- <Form
5
- as="form"
6
- >
7
- <FormField
8
- required={true}
3
+ exports[`<SourceForm /> SourceForm matches the latest snapshot 1`] = `
4
+ <div>
5
+ <form
6
+ class="ui form"
7
+ style=""
9
8
  >
10
- <label>
11
- <MemoizedFormattedMessage
12
- id="source.external_id"
13
- />
14
- <Label
15
- pointing="left"
9
+ <div
10
+ class="required field"
11
+ >
12
+ <label>
13
+ source.external_id
14
+ <div
15
+ class="ui left pointing label"
16
+ >
17
+ template.form.validation.empty_required
18
+ </div>
19
+ </label>
20
+ <div
21
+ class="disabled field"
16
22
  >
17
- <MemoizedFormattedMessage
18
- id="template.form.validation.empty_required"
19
- />
20
- </Label>
21
- </label>
22
- <FormInput
23
- as={[Function]}
24
- control={[Function]}
25
- disabled={true}
26
- name="external_id"
27
- onChange={[Function]}
28
- />
29
- </FormField>
30
- <FormField
31
- required={true}
32
- >
33
- <label>
34
- <MemoizedFormattedMessage
35
- id="type.selector.label"
36
- />
37
- </label>
38
- <FormDropdown
39
- as={[Function]}
40
- control={[Function]}
41
- disabled={true}
42
- name="type"
43
- onChange={[Function]}
44
- options={
45
- [
46
- {
47
- "key": 35,
48
- "text": "a",
49
- "value": "a",
50
- },
51
- {
52
- "key": 36,
53
- "text": "app-admin",
54
- "value": "micro",
55
- },
56
- ]
57
- }
58
- placeholder="type.selector.placeholder"
59
- required={true}
60
- search={true}
61
- selection={true}
62
- value="micro"
63
- />
64
- </FormField>
65
- <FormField>
66
- <label
67
- className="label"
23
+ <div
24
+ class="ui disabled input"
25
+ >
26
+ <input
27
+ disabled=""
28
+ name="external_id"
29
+ tabindex="-1"
30
+ type="text"
31
+ value=""
32
+ />
33
+ </div>
34
+ </div>
35
+ </div>
36
+ <div
37
+ class="required field"
68
38
  >
69
- <MemoizedFormattedMessage
70
- id="source.config.label"
71
- />
72
- </label>
73
- <lazy
74
- content={{}}
75
- onChange={[Function]}
76
- template={
77
- {
78
- "content": [
79
- {
80
- "cardinality": "1",
81
- "disabled": true,
82
- "group": "New Group 1",
83
- "label": "a",
84
- "name": "a",
85
- "type": "string",
86
- "widget": "string",
87
- },
88
- ],
89
- "id": 36,
90
- "label": "app-admin",
91
- "name": "micro",
92
- "scope": "cx",
93
- }
94
- }
95
- />
96
- </FormField>
97
- <div
98
- className="actions"
99
- >
100
- <HistoryBackButton
101
- content="actions.cancel"
102
- />
103
- <Button
104
- as="button"
105
- content="actions.save"
106
- disabled={true}
107
- onClick={[Function]}
108
- primary={true}
109
- />
110
- </div>
111
- </Form>
39
+ <label>
40
+ type.selector.label
41
+ </label>
42
+ <div
43
+ class="disabled required field"
44
+ >
45
+ <div
46
+ aria-busy="false"
47
+ aria-disabled="true"
48
+ aria-expanded="false"
49
+ class="ui disabled search selection dropdown"
50
+ name="type"
51
+ required=""
52
+ role="combobox"
53
+ >
54
+ <input
55
+ aria-autocomplete="list"
56
+ autocomplete="off"
57
+ class="search"
58
+ tabindex="-1"
59
+ type="text"
60
+ value=""
61
+ />
62
+ <div
63
+ aria-atomic="true"
64
+ aria-live="polite"
65
+ class="divider text"
66
+ role="alert"
67
+ >
68
+ app-admin
69
+ </div>
70
+ <i
71
+ aria-hidden="true"
72
+ class="dropdown icon"
73
+ />
74
+ <div
75
+ class="menu transition"
76
+ role="listbox"
77
+ >
78
+ <div
79
+ aria-checked="false"
80
+ aria-selected="false"
81
+ class="item"
82
+ role="option"
83
+ style="pointer-events: all;"
84
+ >
85
+ <span
86
+ class="text"
87
+ >
88
+ a
89
+ </span>
90
+ </div>
91
+ <div
92
+ aria-checked="true"
93
+ aria-selected="true"
94
+ class="active selected item"
95
+ role="option"
96
+ style="pointer-events: all;"
97
+ >
98
+ <span
99
+ class="text"
100
+ >
101
+ app-admin
102
+ </span>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ </div>
107
+ </div>
108
+ <div
109
+ class="field"
110
+ >
111
+ <label
112
+ class="label"
113
+ >
114
+ source.config.label
115
+ </label>
116
+ </div>
117
+ <div
118
+ class="actions"
119
+ >
120
+ <a
121
+ class="ui secondary button"
122
+ data-discover="true"
123
+ href="/"
124
+ role="button"
125
+ >
126
+ actions.cancel
127
+ </a>
128
+ <button
129
+ class="ui primary disabled button"
130
+ disabled=""
131
+ tabindex="-1"
132
+ >
133
+ actions.save
134
+ </button>
135
+ </div>
136
+ </form>
137
+ </div>
112
138
  `;
@@ -29,7 +29,6 @@ exports[`<SourceHeader /> matches the latest snapshot 1`] = `
29
29
  class="right aligned eight wide column"
30
30
  >
31
31
  <div
32
- aria-disabled="false"
33
32
  aria-expanded="false"
34
33
  class="ui floating dropdown button icon group-actions"
35
34
  role="listbox"
@@ -46,6 +45,7 @@ exports[`<SourceHeader /> matches the latest snapshot 1`] = `
46
45
  aria-checked="false"
47
46
  aria-selected="true"
48
47
  class="selected item"
48
+ data-discover="true"
49
49
  href="/sources/123/edit"
50
50
  role="option"
51
51
  style="pointer-events: all;"
@@ -57,7 +57,7 @@ exports[`<SourceHeader /> matches the latest snapshot 1`] = `
57
57
  <span
58
58
  class="text"
59
59
  >
60
- Edit source
60
+ source.actions.edit
61
61
  </span>
62
62
  </a>
63
63
  <button
@@ -67,7 +67,7 @@ exports[`<SourceHeader /> matches the latest snapshot 1`] = `
67
67
  aria-hidden="true"
68
68
  class="play icon"
69
69
  />
70
- Enable
70
+ source.actions.enable
71
71
  </button>
72
72
  <button
73
73
  class="ui button"
@@ -76,7 +76,7 @@ exports[`<SourceHeader /> matches the latest snapshot 1`] = `
76
76
  aria-hidden="true"
77
77
  class="red trash alternate outline icon"
78
78
  />
79
- Delete source
79
+ source.actions.delete
80
80
  </button>
81
81
  </div>
82
82
  </div>
@@ -1,8 +1,50 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`<SourceRoutes /> matches the latest snapshot 1`] = `
4
- <Route
5
- path="/sources"
6
- render={[Function]}
7
- />
3
+ exports[`<SourceRoutes /> matches the latest snapshot for route SOURCE when authorized 1`] = `
4
+ <div>
5
+ <div>
6
+ Source
7
+ </div>
8
+ </div>
9
+ `;
10
+
11
+ exports[`<SourceRoutes /> matches the latest snapshot for route SOURCES when authorized 1`] = `
12
+ <div>
13
+ <div>
14
+ Sources
15
+ </div>
16
+ </div>
17
+ `;
18
+
19
+ exports[`<SourceRoutes /> matches the latest snapshot for route SOURCES_NEW when authorized 1`] = `
20
+ <div>
21
+ <div>
22
+ NewSource
23
+ </div>
24
+ </div>
25
+ `;
26
+
27
+ exports[`<SourceRoutes /> shows unauthorized message when not authorized 1`] = `
28
+ <div>
29
+ <div
30
+ class="ui icon visible bottom attached message center"
31
+ >
32
+ <i
33
+ aria-hidden="true"
34
+ class="warning sign icon"
35
+ />
36
+ <div
37
+ class="content"
38
+ >
39
+ <div
40
+ class="header"
41
+ >
42
+ view.unauthorized.head
43
+ </div>
44
+ <p>
45
+ view.unauthorized.content
46
+ </p>
47
+ </div>
48
+ </div>
49
+ </div>
8
50
  `;
@@ -6,16 +6,18 @@ exports[`<SourceTabs /> matches the latest snapshot 1`] = `
6
6
  class="ui pointing secondary top attached tabular menu"
7
7
  >
8
8
  <a
9
- class="item"
9
+ class="active item"
10
+ data-discover="true"
10
11
  href="/sources/123"
11
12
  >
12
- Configuration
13
+ source.config.label
13
14
  </a>
14
15
  <a
15
16
  class="item"
17
+ data-discover="true"
16
18
  href="/sources/123/jobs"
17
19
  >
18
- Jobs
20
+ navigation.admin.jobs
19
21
  </a>
20
22
  </div>
21
23
  </div>
@@ -10,10 +10,11 @@ exports[`<Sources /> matches the latest snapshot 1`] = `
10
10
  >
11
11
  <a
12
12
  class="ui primary right floated button"
13
+ data-discover="true"
13
14
  href="/sources/new"
14
15
  role="button"
15
16
  >
16
- create
17
+ sources.actions.create
17
18
  </a>
18
19
  <i
19
20
  aria-hidden="true"
@@ -22,11 +23,11 @@ exports[`<Sources /> matches the latest snapshot 1`] = `
22
23
  <div
23
24
  class="content"
24
25
  >
25
- header
26
+ sources.header
26
27
  <div
27
28
  class="sub header"
28
29
  >
29
- subheader
30
+ sources.subheader
30
31
  </div>
31
32
  </div>
32
33
  </h2>
@@ -34,7 +35,7 @@ exports[`<Sources /> matches the latest snapshot 1`] = `
34
35
  class="ui icon input"
35
36
  >
36
37
  <input
37
- placeholder="search"
38
+ placeholder="sources.search.placeholder"
38
39
  type="text"
39
40
  value=""
40
41
  />
@@ -49,7 +50,7 @@ exports[`<Sources /> matches the latest snapshot 1`] = `
49
50
  <caption
50
51
  class="text-right"
51
52
  >
52
- 2 sources found
53
+ sources.count
53
54
  </caption>
54
55
  <thead
55
56
  class=""
@@ -60,32 +61,32 @@ exports[`<Sources /> matches the latest snapshot 1`] = `
60
61
  <th
61
62
  class=""
62
63
  >
63
- external_id
64
+ source.external_id
64
65
  </th>
65
66
  <th
66
67
  class=""
67
68
  >
68
- type
69
+ source.type
69
70
  </th>
70
71
  <th
71
72
  class=""
72
73
  >
73
- status
74
+ source.status
74
75
  </th>
75
76
  <th
76
77
  class=""
77
78
  >
78
- insertedAt
79
+ source.latestEvent.insertedAt
79
80
  </th>
80
81
  <th
81
82
  class=""
82
83
  >
83
- type
84
+ source.latestEvent.type
84
85
  </th>
85
86
  <th
86
87
  class=""
87
88
  >
88
- message
89
+ source.latestEvent.message
89
90
  </th>
90
91
  </tr>
91
92
  </thead>
@@ -99,6 +100,7 @@ exports[`<Sources /> matches the latest snapshot 1`] = `
99
100
  class=""
100
101
  >
101
102
  <a
103
+ data-discover="true"
102
104
  href="/sources/123"
103
105
  >
104
106
  aaaa
@@ -139,6 +141,7 @@ exports[`<Sources /> matches the latest snapshot 1`] = `
139
141
  class=""
140
142
  >
141
143
  <a
144
+ data-discover="true"
142
145
  href="/sources/456"
143
146
  >
144
147
  bbbb
@@ -8,7 +8,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
8
8
  <caption
9
9
  class="text-right"
10
10
  >
11
- 5 sources found
11
+ sources.count
12
12
  </caption>
13
13
  <thead
14
14
  class=""
@@ -19,32 +19,32 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
19
19
  <th
20
20
  class=""
21
21
  >
22
- external_id
22
+ source.external_id
23
23
  </th>
24
24
  <th
25
25
  class=""
26
26
  >
27
- type
27
+ source.type
28
28
  </th>
29
29
  <th
30
30
  class=""
31
31
  >
32
- status
32
+ source.status
33
33
  </th>
34
34
  <th
35
35
  class=""
36
36
  >
37
- eventInsertedAt
37
+ source.latestEvent.insertedAt
38
38
  </th>
39
39
  <th
40
40
  class=""
41
41
  >
42
- eventType
42
+ source.latestEvent.type
43
43
  </th>
44
44
  <th
45
45
  class=""
46
46
  >
47
- eventMessage
47
+ source.latestEvent.message
48
48
  </th>
49
49
  </tr>
50
50
  </thead>
@@ -58,6 +58,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
58
58
  class=""
59
59
  >
60
60
  <a
61
+ data-discover="true"
61
62
  href="/sources/1"
62
63
  >
63
64
  con_url
@@ -71,7 +72,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
71
72
  <td
72
73
  class="disabled"
73
74
  >
74
- disabled
75
+ source.disabled
75
76
  </td>
76
77
  <td
77
78
  class="disabled"
@@ -90,6 +91,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
90
91
  class=""
91
92
  >
92
93
  <a
94
+ data-discover="true"
93
95
  href="/sources/2"
94
96
  >
95
97
  id1
@@ -103,7 +105,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
103
105
  <td
104
106
  class="disabled"
105
107
  >
106
- disabled
108
+ source.disabled
107
109
  </td>
108
110
  <td
109
111
  class="disabled"
@@ -122,6 +124,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
122
124
  class=""
123
125
  >
124
126
  <a
127
+ data-discover="true"
125
128
  href="/sources/3"
126
129
  >
127
130
  id2
@@ -135,7 +138,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
135
138
  <td
136
139
  class="disabled"
137
140
  >
138
- disabled
141
+ source.disabled
139
142
  </td>
140
143
  <td
141
144
  class="disabled"
@@ -154,6 +157,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
154
157
  class=""
155
158
  >
156
159
  <a
160
+ data-discover="true"
157
161
  href="/sources/4"
158
162
  >
159
163
  id3
@@ -167,7 +171,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
167
171
  <td
168
172
  class="disabled"
169
173
  >
170
- disabled
174
+ source.disabled
171
175
  </td>
172
176
  <td
173
177
  class="disabled"
@@ -186,6 +190,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
186
190
  class=""
187
191
  >
188
192
  <a
193
+ data-discover="true"
189
194
  href="/sources/5"
190
195
  >
191
196
  id4
@@ -199,7 +204,7 @@ exports[`<SourcesTable /> matches the latest snapshot 1`] = `
199
204
  <td
200
205
  class="disabled"
201
206
  >
202
- disabled
207
+ source.disabled
203
208
  </td>
204
209
  <td
205
210
  class="disabled"
@@ -1,31 +0,0 @@
1
- import React from "react";
2
- import { Route } from "react-router-dom";
3
- import { Unauthorized } from "@truedat/core/components";
4
- import { useAuthorized } from "@truedat/core/hooks";
5
- import { CONFIGURATIONS } from "@truedat/core/routes";
6
- import Configurations from "./Configurations";
7
- import ConfigurationsLoader from "./ConfigurationsLoader";
8
- import ConfigurationFiltersLoader from "./ConfigurationFiltersLoader";
9
-
10
- export const ConfigurationRoutes = () => {
11
- const authorized = useAuthorized();
12
- return (
13
- <Route
14
- exact
15
- path={CONFIGURATIONS}
16
- render={() =>
17
- authorized ? (
18
- <>
19
- <ConfigurationsLoader />
20
- <ConfigurationFiltersLoader />
21
- <Configurations />
22
- </>
23
- ) : (
24
- <Unauthorized />
25
- )
26
- }
27
- />
28
- );
29
- };
30
-
31
- export default ConfigurationRoutes;