foreman-tasks 0.15.11 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/foreman_tasks/tasks_controller.rb +14 -19
  3. data/app/helpers/foreman_tasks/foreman_tasks_helper.rb +0 -20
  4. data/app/lib/actions/bulk_action.rb +1 -1
  5. data/app/models/foreman_tasks/lock.rb +0 -9
  6. data/app/models/foreman_tasks/task.rb +12 -74
  7. data/app/models/foreman_tasks/task/dynflow_task.rb +2 -1
  8. data/app/models/foreman_tasks/task/search.rb +52 -0
  9. data/app/views/foreman_tasks/tasks/index.html.erb +0 -3
  10. data/app/views/foreman_tasks/tasks/show.html.erb +9 -1
  11. data/db/migrate/20180927120509_add_user_id.foreman_tasks.rb +40 -0
  12. data/lib/foreman_tasks/dynflow/persistence.rb +0 -1
  13. data/lib/foreman_tasks/tasks/export_tasks.rake +1 -1
  14. data/lib/foreman_tasks/version.rb +1 -1
  15. data/test/controllers/tasks_controller_test.rb +0 -46
  16. data/test/factories/task_factory.rb +0 -8
  17. data/test/unit/actions/bulk_action_test.rb +0 -2
  18. data/test/unit/dynflow_console_authorizer_test.rb +1 -1
  19. data/test/unit/task_test.rb +6 -2
  20. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/PausedTasksCard/PausedTasksCard.js +1 -6
  21. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/PausedTasksCard/__snapshots__/PausedTasksCard.test.js.snap +0 -2
  22. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/RunningTasksCard/RunningTasksCard.js +1 -6
  23. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/RunningTasksCard/__snapshots__/RunningTasksCard.test.js.snap +0 -2
  24. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/ScheduledTasksCard/ScheduledTasksCard.js +6 -3
  25. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/ScheduledTasksCard/ScheduledTasksCard.scss +3 -0
  26. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/ScheduledTasksCard/__snapshots__/ScheduledTasksCard.test.js.snap +0 -3
  27. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/StoppedTasksCard/StoppedTasksCard.js +0 -2
  28. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/StoppedTasksCard/StoppedTasksCard.scss +4 -0
  29. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/StoppedTasksCard/StoppedTasksCardHelper.js +3 -3
  30. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/StoppedTasksCard/__snapshots__/StoppedTasksCard.test.js.snap +54 -495
  31. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/TasksDonutCard/TasksDonutCard.js +0 -1
  32. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/TasksDonutCard/TasksDonutCard.scss +0 -6
  33. data/webpack/ForemanTasks/Components/TasksDashboard/Components/TasksCardsGrid/Components/TasksDonutChart/TasksDonutChart.scss +3 -0
  34. metadata +6 -5
  35. data/test/helpers/foreman_tasks/foreman_tasks_helper_test.rb +0 -39
@@ -5,14 +5,6 @@ FactoryBot.define do
5
5
  state { 'stopped' }
6
6
  result { 'success' }
7
7
 
8
- transient do
9
- set_owner { nil }
10
- end
11
-
12
- after(:create) do |task, evaluator|
13
- ForemanTasks::Lock.owner!(evaluator.set_owner, task.id) if evaluator.set_owner
14
- end
15
-
16
8
  factory :dynflow_task, :class => ForemanTasks::Task::DynflowTask do
17
9
  label { 'Support::DummyDynflowAction' }
18
10
  type { 'ForemanTasks::Task::DynflowTask' }
@@ -28,7 +28,6 @@ module ForemanTasks
28
28
  end
29
29
 
30
30
  specify 'it plans a task for each target' do
31
- Target.expects(:unscoped).returns(Target)
32
31
  Target.expects(:where).with(:id => targets.map(&:id)).returns(targets)
33
32
 
34
33
  task.sub_tasks.count.must_equal targets.count
@@ -38,7 +37,6 @@ module ForemanTasks
38
37
  end
39
38
 
40
39
  specify 'it plans a task for each target even if target cannot be found' do
41
- Target.expects(:unscoped).returns(Target)
42
40
  Target.expects(:where).with(:id => targets.map(&:id)).returns(targets.take(4))
43
41
 
44
42
  task.sub_tasks.count.must_equal targets.count
@@ -8,7 +8,7 @@ module ForemanTasks
8
8
  User.current = User.where(:login => 'apiadmin').first
9
9
  end
10
10
 
11
- let(:own_task) { FactoryBot.create(:dynflow_task, :set_owner => user) }
11
+ let(:own_task) { FactoryBot.create(:dynflow_task, :user => user) }
12
12
  let(:foreign_task) { FactoryBot.create(:dynflow_task) }
13
13
 
14
14
  let(:edit_foreman_tasks_permission) do
@@ -7,8 +7,8 @@ class TasksTest < ActiveSupport::TestCase
7
7
  @user_one = FactoryBot.create(:user)
8
8
  @user_two = FactoryBot.create(:user)
9
9
 
10
- @task_one = FactoryBot.create(:some_task, :set_owner => @user_one)
11
- FactoryBot.create(:some_task, :set_owner => @user_two)
10
+ @task_one = FactoryBot.create(:some_task, :user => @user_one)
11
+ FactoryBot.create(:some_task, :user => @user_two)
12
12
 
13
13
  User.current = @user_one
14
14
  end
@@ -18,6 +18,10 @@ class TasksTest < ActiveSupport::TestCase
18
18
  assert_equal [@task_one], ForemanTasks::Task.search_for('owner.id = current_user')
19
19
  end
20
20
 
21
+ test 'can search by implicit search' do
22
+ assert_equal [@task_one], ForemanTasks::Task.search_for(@task_one.label)
23
+ end
24
+
21
25
  test 'can search the tasks by current_user in combination with implicit search' do
22
26
  assert_equal [@task_one], ForemanTasks::Task.search_for("owner.id = current_user AND #{@task_one.label}")
23
27
  end
@@ -4,12 +4,7 @@ import { translate as __ } from 'foremanReact/common/I18n';
4
4
  import TasksDonutCard from '../TasksDonutCard/TasksDonutCard';
5
5
 
6
6
  const PausedTasksCard = ({ ...props }) => (
7
- <TasksDonutCard
8
- title={__('Paused')}
9
- wantedQueryState="paused"
10
- id="paused-tasks-card"
11
- {...props}
12
- />
7
+ <TasksDonutCard title={__('Paused')} wantedQueryState="paused" {...props} />
13
8
  );
14
9
 
15
10
  const filterUnwantedFields = obj => {
@@ -9,7 +9,6 @@ exports[`PausedTasksCard render with minimal props 1`] = `
9
9
  "older": 0,
10
10
  }
11
11
  }
12
- id="paused-tasks-card"
13
12
  query={Object {}}
14
13
  time="H24"
15
14
  title="Paused"
@@ -27,7 +26,6 @@ exports[`PausedTasksCard render with some props 1`] = `
27
26
  "older": 0,
28
27
  }
29
28
  }
30
- id="paused-tasks-card"
31
29
  query={Object {}}
32
30
  some="prop"
33
31
  time="H24"
@@ -4,12 +4,7 @@ import { translate as __ } from 'foremanReact/common/I18n';
4
4
  import TasksDonutCard from '../TasksDonutCard/TasksDonutCard';
5
5
 
6
6
  const RunningTasksCard = ({ ...props }) => (
7
- <TasksDonutCard
8
- title={__('Running')}
9
- wantedQueryState="running"
10
- id="running-tasks-card"
11
- {...props}
12
- />
7
+ <TasksDonutCard title={__('Running')} wantedQueryState="running" {...props} />
13
8
  );
14
9
 
15
10
  const filterUnwantedFields = obj => {
@@ -9,7 +9,6 @@ exports[`RunningTasksCard render with minimal props 1`] = `
9
9
  "older": 0,
10
10
  }
11
11
  }
12
- id="running-tasks-card"
13
12
  query={Object {}}
14
13
  time="H24"
15
14
  title="Running"
@@ -27,7 +26,6 @@ exports[`RunningTasksCard render with some props 1`] = `
27
26
  "older": 0,
28
27
  }
29
28
  }
30
- id="running-tasks-card"
31
29
  query={Object {}}
32
30
  some="prop"
33
31
  time="H24"
@@ -27,15 +27,18 @@ const ScheduledTasksCard = ({
27
27
  className,
28
28
  {
29
29
  'selected-tasks-card': query.state === SCHEDULED,
30
- 'not-focused': query.state && query.state !== SCHEDULED,
31
30
  }
32
31
  )}
33
32
  {...props}
34
- id="scheduled-tasks-card"
35
33
  >
36
34
  <Card.Title onClick={onClick}>{__('Scheduled')}</Card.Title>
37
35
  <Card.Body>
38
- <div className="scheduled-data" onClick={onClick}>
36
+ <div
37
+ className={classNames('scheduled-data', {
38
+ 'not-focused': query.state && query.state !== SCHEDULED,
39
+ })}
40
+ onClick={onClick}
41
+ >
39
42
  {data}
40
43
  <p>{__('Total')}</p>
41
44
  </div>
@@ -1,5 +1,8 @@
1
1
  .scheduled-tasks-card {
2
2
  text-align: center;
3
+ .not-focused {
4
+ opacity: 0.3;
5
+ }
3
6
  .scheduled-data {
4
7
  padding-right: 15px;
5
8
  cursor: pointer;
@@ -7,7 +7,6 @@ exports[`ScheduledTasksCard render selected 1`] = `
7
7
  aggregatedMini={false}
8
8
  cardRef={null}
9
9
  className="tasks-donut-card scheduled-tasks-card selected-tasks-card"
10
- id="scheduled-tasks-card"
11
10
  matchHeight={false}
12
11
  >
13
12
  <CardTitle
@@ -39,7 +38,6 @@ exports[`ScheduledTasksCard render with minimal props 1`] = `
39
38
  aggregatedMini={false}
40
39
  cardRef={null}
41
40
  className="tasks-donut-card scheduled-tasks-card"
42
- id="scheduled-tasks-card"
43
41
  matchHeight={false}
44
42
  >
45
43
  <CardTitle
@@ -71,7 +69,6 @@ exports[`ScheduledTasksCard render with props 1`] = `
71
69
  aggregatedMini={false}
72
70
  cardRef={null}
73
71
  className="tasks-donut-card scheduled-tasks-card some-class"
74
- id="scheduled-tasks-card"
75
72
  matchHeight={false}
76
73
  >
77
74
  <CardTitle
@@ -34,11 +34,9 @@ const StoppedTasksCard = ({
34
34
  className,
35
35
  {
36
36
  'selected-tasks-card': query.state === STOPPED,
37
- 'not-focused': query.state && query.state !== STOPPED,
38
37
  }
39
38
  )}
40
39
  {...props}
41
- id="stopped-tasks-card"
42
40
  >
43
41
  <Card.Title onClick={() => updateQuery({ state: STOPPED })}>
44
42
  {__('Stopped')}
@@ -4,6 +4,10 @@
4
4
  border: none;
5
5
  table-layout: fixed;
6
6
 
7
+ .not-focused {
8
+ opacity: 0.3;
9
+ }
10
+
7
11
  thead {
8
12
  background-color: transparent;
9
13
  background-image: none;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { capitalize } from 'lodash';
3
3
  import classNames from 'classnames';
4
- import { Icon, Button } from 'patternfly-react';
4
+ import { Icon } from 'patternfly-react';
5
5
  import {
6
6
  TASKS_DASHBOARD_AVAILABLE_QUERY_STATES,
7
7
  TASKS_DASHBOARD_AVAILABLE_QUERY_MODES,
@@ -40,7 +40,7 @@ export const StoppedTable = (data, query, time, updateQuery) =>
40
40
  })}
41
41
  onClick={() => updateQuery({ state: STOPPED, result })}
42
42
  >
43
- <Button bsStyle="link">{total}</Button>
43
+ {total}
44
44
  </td>
45
45
  <td
46
46
  className={classNames('data-col', {
@@ -56,7 +56,7 @@ export const StoppedTable = (data, query, time, updateQuery) =>
56
56
  })
57
57
  }
58
58
  >
59
- <Button bsStyle="link">{last}</Button>
59
+ {last}
60
60
  </td>
61
61
  </tr>
62
62
  );
@@ -7,7 +7,6 @@ exports[`StoppedTasksCard render error-last selected 1`] = `
7
7
  aggregatedMini={false}
8
8
  cardRef={null}
9
9
  className="tasks-donut-card stopped-tasks-card selected-tasks-card"
10
- id="stopped-tasks-card"
11
10
  matchHeight={false}
12
11
  >
13
12
  <CardTitle
@@ -48,29 +47,13 @@ exports[`StoppedTasksCard render error-last selected 1`] = `
48
47
  className="data-col not-focused"
49
48
  onClick={[Function]}
50
49
  >
51
- <Button
52
- active={false}
53
- block={false}
54
- bsClass="btn"
55
- bsStyle="link"
56
- disabled={false}
57
- >
58
- 0
59
- </Button>
50
+ 0
60
51
  </td>
61
52
  <td
62
53
  className="data-col active"
63
54
  onClick={[Function]}
64
55
  >
65
- <Button
66
- active={false}
67
- block={false}
68
- bsClass="btn"
69
- bsStyle="link"
70
- disabled={false}
71
- >
72
- 0
73
- </Button>
56
+ 0
74
57
  </td>
75
58
  </tr>
76
59
  <tr
@@ -87,29 +70,13 @@ exports[`StoppedTasksCard render error-last selected 1`] = `
87
70
  className="data-col not-focused"
88
71
  onClick={[Function]}
89
72
  >
90
- <Button
91
- active={false}
92
- block={false}
93
- bsClass="btn"
94
- bsStyle="link"
95
- disabled={false}
96
- >
97
- 0
98
- </Button>
73
+ 0
99
74
  </td>
100
75
  <td
101
76
  className="data-col not-focused"
102
77
  onClick={[Function]}
103
78
  >
104
- <Button
105
- active={false}
106
- block={false}
107
- bsClass="btn"
108
- bsStyle="link"
109
- disabled={false}
110
- >
111
- 0
112
- </Button>
79
+ 0
113
80
  </td>
114
81
  </tr>
115
82
  <tr
@@ -126,29 +93,13 @@ exports[`StoppedTasksCard render error-last selected 1`] = `
126
93
  className="data-col not-focused"
127
94
  onClick={[Function]}
128
95
  >
129
- <Button
130
- active={false}
131
- block={false}
132
- bsClass="btn"
133
- bsStyle="link"
134
- disabled={false}
135
- >
136
- 0
137
- </Button>
96
+ 0
138
97
  </td>
139
98
  <td
140
99
  className="data-col not-focused"
141
100
  onClick={[Function]}
142
101
  >
143
- <Button
144
- active={false}
145
- block={false}
146
- bsClass="btn"
147
- bsStyle="link"
148
- disabled={false}
149
- >
150
- 0
151
- </Button>
102
+ 0
152
103
  </td>
153
104
  </tr>
154
105
  </tbody>
@@ -164,7 +115,6 @@ exports[`StoppedTasksCard render error-total selected 1`] = `
164
115
  aggregatedMini={false}
165
116
  cardRef={null}
166
117
  className="tasks-donut-card stopped-tasks-card selected-tasks-card"
167
- id="stopped-tasks-card"
168
118
  matchHeight={false}
169
119
  >
170
120
  <CardTitle
@@ -205,29 +155,13 @@ exports[`StoppedTasksCard render error-total selected 1`] = `
205
155
  className="data-col active"
206
156
  onClick={[Function]}
207
157
  >
208
- <Button
209
- active={false}
210
- block={false}
211
- bsClass="btn"
212
- bsStyle="link"
213
- disabled={false}
214
- >
215
- 0
216
- </Button>
158
+ 0
217
159
  </td>
218
160
  <td
219
161
  className="data-col not-focused"
220
162
  onClick={[Function]}
221
163
  >
222
- <Button
223
- active={false}
224
- block={false}
225
- bsClass="btn"
226
- bsStyle="link"
227
- disabled={false}
228
- >
229
- 0
230
- </Button>
164
+ 0
231
165
  </td>
232
166
  </tr>
233
167
  <tr
@@ -244,29 +178,13 @@ exports[`StoppedTasksCard render error-total selected 1`] = `
244
178
  className="data-col not-focused"
245
179
  onClick={[Function]}
246
180
  >
247
- <Button
248
- active={false}
249
- block={false}
250
- bsClass="btn"
251
- bsStyle="link"
252
- disabled={false}
253
- >
254
- 0
255
- </Button>
181
+ 0
256
182
  </td>
257
183
  <td
258
184
  className="data-col not-focused"
259
185
  onClick={[Function]}
260
186
  >
261
- <Button
262
- active={false}
263
- block={false}
264
- bsClass="btn"
265
- bsStyle="link"
266
- disabled={false}
267
- >
268
- 0
269
- </Button>
187
+ 0
270
188
  </td>
271
189
  </tr>
272
190
  <tr
@@ -283,29 +201,13 @@ exports[`StoppedTasksCard render error-total selected 1`] = `
283
201
  className="data-col not-focused"
284
202
  onClick={[Function]}
285
203
  >
286
- <Button
287
- active={false}
288
- block={false}
289
- bsClass="btn"
290
- bsStyle="link"
291
- disabled={false}
292
- >
293
- 0
294
- </Button>
204
+ 0
295
205
  </td>
296
206
  <td
297
207
  className="data-col not-focused"
298
208
  onClick={[Function]}
299
209
  >
300
- <Button
301
- active={false}
302
- block={false}
303
- bsClass="btn"
304
- bsStyle="link"
305
- disabled={false}
306
- >
307
- 0
308
- </Button>
210
+ 0
309
211
  </td>
310
212
  </tr>
311
213
  </tbody>
@@ -321,7 +223,6 @@ exports[`StoppedTasksCard render selected 1`] = `
321
223
  aggregatedMini={false}
322
224
  cardRef={null}
323
225
  className="tasks-donut-card stopped-tasks-card selected-tasks-card"
324
- id="stopped-tasks-card"
325
226
  matchHeight={false}
326
227
  >
327
228
  <CardTitle
@@ -362,29 +263,13 @@ exports[`StoppedTasksCard render selected 1`] = `
362
263
  className="data-col"
363
264
  onClick={[Function]}
364
265
  >
365
- <Button
366
- active={false}
367
- block={false}
368
- bsClass="btn"
369
- bsStyle="link"
370
- disabled={false}
371
- >
372
- 0
373
- </Button>
266
+ 0
374
267
  </td>
375
268
  <td
376
269
  className="data-col"
377
270
  onClick={[Function]}
378
271
  >
379
- <Button
380
- active={false}
381
- block={false}
382
- bsClass="btn"
383
- bsStyle="link"
384
- disabled={false}
385
- >
386
- 0
387
- </Button>
272
+ 0
388
273
  </td>
389
274
  </tr>
390
275
  <tr
@@ -401,29 +286,13 @@ exports[`StoppedTasksCard render selected 1`] = `
401
286
  className="data-col"
402
287
  onClick={[Function]}
403
288
  >
404
- <Button
405
- active={false}
406
- block={false}
407
- bsClass="btn"
408
- bsStyle="link"
409
- disabled={false}
410
- >
411
- 0
412
- </Button>
289
+ 0
413
290
  </td>
414
291
  <td
415
292
  className="data-col"
416
293
  onClick={[Function]}
417
294
  >
418
- <Button
419
- active={false}
420
- block={false}
421
- bsClass="btn"
422
- bsStyle="link"
423
- disabled={false}
424
- >
425
- 0
426
- </Button>
295
+ 0
427
296
  </td>
428
297
  </tr>
429
298
  <tr
@@ -440,29 +309,13 @@ exports[`StoppedTasksCard render selected 1`] = `
440
309
  className="data-col"
441
310
  onClick={[Function]}
442
311
  >
443
- <Button
444
- active={false}
445
- block={false}
446
- bsClass="btn"
447
- bsStyle="link"
448
- disabled={false}
449
- >
450
- 0
451
- </Button>
312
+ 0
452
313
  </td>
453
314
  <td
454
315
  className="data-col"
455
316
  onClick={[Function]}
456
317
  >
457
- <Button
458
- active={false}
459
- block={false}
460
- bsClass="btn"
461
- bsStyle="link"
462
- disabled={false}
463
- >
464
- 0
465
- </Button>
318
+ 0
466
319
  </td>
467
320
  </tr>
468
321
  </tbody>
@@ -478,7 +331,6 @@ exports[`StoppedTasksCard render success-last selected 1`] = `
478
331
  aggregatedMini={false}
479
332
  cardRef={null}
480
333
  className="tasks-donut-card stopped-tasks-card selected-tasks-card"
481
- id="stopped-tasks-card"
482
334
  matchHeight={false}
483
335
  >
484
336
  <CardTitle
@@ -519,29 +371,13 @@ exports[`StoppedTasksCard render success-last selected 1`] = `
519
371
  className="data-col not-focused"
520
372
  onClick={[Function]}
521
373
  >
522
- <Button
523
- active={false}
524
- block={false}
525
- bsClass="btn"
526
- bsStyle="link"
527
- disabled={false}
528
- >
529
- 0
530
- </Button>
374
+ 0
531
375
  </td>
532
376
  <td
533
377
  className="data-col not-focused"
534
378
  onClick={[Function]}
535
379
  >
536
- <Button
537
- active={false}
538
- block={false}
539
- bsClass="btn"
540
- bsStyle="link"
541
- disabled={false}
542
- >
543
- 0
544
- </Button>
380
+ 0
545
381
  </td>
546
382
  </tr>
547
383
  <tr
@@ -558,29 +394,13 @@ exports[`StoppedTasksCard render success-last selected 1`] = `
558
394
  className="data-col not-focused"
559
395
  onClick={[Function]}
560
396
  >
561
- <Button
562
- active={false}
563
- block={false}
564
- bsClass="btn"
565
- bsStyle="link"
566
- disabled={false}
567
- >
568
- 0
569
- </Button>
397
+ 0
570
398
  </td>
571
399
  <td
572
400
  className="data-col not-focused"
573
401
  onClick={[Function]}
574
402
  >
575
- <Button
576
- active={false}
577
- block={false}
578
- bsClass="btn"
579
- bsStyle="link"
580
- disabled={false}
581
- >
582
- 0
583
- </Button>
403
+ 0
584
404
  </td>
585
405
  </tr>
586
406
  <tr
@@ -597,29 +417,13 @@ exports[`StoppedTasksCard render success-last selected 1`] = `
597
417
  className="data-col not-focused"
598
418
  onClick={[Function]}
599
419
  >
600
- <Button
601
- active={false}
602
- block={false}
603
- bsClass="btn"
604
- bsStyle="link"
605
- disabled={false}
606
- >
607
- 0
608
- </Button>
420
+ 0
609
421
  </td>
610
422
  <td
611
423
  className="data-col active"
612
424
  onClick={[Function]}
613
425
  >
614
- <Button
615
- active={false}
616
- block={false}
617
- bsClass="btn"
618
- bsStyle="link"
619
- disabled={false}
620
- >
621
- 0
622
- </Button>
426
+ 0
623
427
  </td>
624
428
  </tr>
625
429
  </tbody>
@@ -635,7 +439,6 @@ exports[`StoppedTasksCard render success-total selected 1`] = `
635
439
  aggregatedMini={false}
636
440
  cardRef={null}
637
441
  className="tasks-donut-card stopped-tasks-card selected-tasks-card"
638
- id="stopped-tasks-card"
639
442
  matchHeight={false}
640
443
  >
641
444
  <CardTitle
@@ -676,29 +479,13 @@ exports[`StoppedTasksCard render success-total selected 1`] = `
676
479
  className="data-col not-focused"
677
480
  onClick={[Function]}
678
481
  >
679
- <Button
680
- active={false}
681
- block={false}
682
- bsClass="btn"
683
- bsStyle="link"
684
- disabled={false}
685
- >
686
- 0
687
- </Button>
482
+ 0
688
483
  </td>
689
484
  <td
690
485
  className="data-col not-focused"
691
486
  onClick={[Function]}
692
487
  >
693
- <Button
694
- active={false}
695
- block={false}
696
- bsClass="btn"
697
- bsStyle="link"
698
- disabled={false}
699
- >
700
- 0
701
- </Button>
488
+ 0
702
489
  </td>
703
490
  </tr>
704
491
  <tr
@@ -715,29 +502,13 @@ exports[`StoppedTasksCard render success-total selected 1`] = `
715
502
  className="data-col not-focused"
716
503
  onClick={[Function]}
717
504
  >
718
- <Button
719
- active={false}
720
- block={false}
721
- bsClass="btn"
722
- bsStyle="link"
723
- disabled={false}
724
- >
725
- 0
726
- </Button>
505
+ 0
727
506
  </td>
728
507
  <td
729
508
  className="data-col not-focused"
730
509
  onClick={[Function]}
731
510
  >
732
- <Button
733
- active={false}
734
- block={false}
735
- bsClass="btn"
736
- bsStyle="link"
737
- disabled={false}
738
- >
739
- 0
740
- </Button>
511
+ 0
741
512
  </td>
742
513
  </tr>
743
514
  <tr
@@ -754,29 +525,13 @@ exports[`StoppedTasksCard render success-total selected 1`] = `
754
525
  className="data-col active"
755
526
  onClick={[Function]}
756
527
  >
757
- <Button
758
- active={false}
759
- block={false}
760
- bsClass="btn"
761
- bsStyle="link"
762
- disabled={false}
763
- >
764
- 0
765
- </Button>
528
+ 0
766
529
  </td>
767
530
  <td
768
531
  className="data-col not-focused"
769
532
  onClick={[Function]}
770
533
  >
771
- <Button
772
- active={false}
773
- block={false}
774
- bsClass="btn"
775
- bsStyle="link"
776
- disabled={false}
777
- >
778
- 0
779
- </Button>
534
+ 0
780
535
  </td>
781
536
  </tr>
782
537
  </tbody>
@@ -792,7 +547,6 @@ exports[`StoppedTasksCard render warning-last selected 1`] = `
792
547
  aggregatedMini={false}
793
548
  cardRef={null}
794
549
  className="tasks-donut-card stopped-tasks-card selected-tasks-card"
795
- id="stopped-tasks-card"
796
550
  matchHeight={false}
797
551
  >
798
552
  <CardTitle
@@ -833,29 +587,13 @@ exports[`StoppedTasksCard render warning-last selected 1`] = `
833
587
  className="data-col not-focused"
834
588
  onClick={[Function]}
835
589
  >
836
- <Button
837
- active={false}
838
- block={false}
839
- bsClass="btn"
840
- bsStyle="link"
841
- disabled={false}
842
- >
843
- 0
844
- </Button>
590
+ 0
845
591
  </td>
846
592
  <td
847
593
  className="data-col not-focused"
848
594
  onClick={[Function]}
849
595
  >
850
- <Button
851
- active={false}
852
- block={false}
853
- bsClass="btn"
854
- bsStyle="link"
855
- disabled={false}
856
- >
857
- 0
858
- </Button>
596
+ 0
859
597
  </td>
860
598
  </tr>
861
599
  <tr
@@ -872,29 +610,13 @@ exports[`StoppedTasksCard render warning-last selected 1`] = `
872
610
  className="data-col not-focused"
873
611
  onClick={[Function]}
874
612
  >
875
- <Button
876
- active={false}
877
- block={false}
878
- bsClass="btn"
879
- bsStyle="link"
880
- disabled={false}
881
- >
882
- 0
883
- </Button>
613
+ 0
884
614
  </td>
885
615
  <td
886
616
  className="data-col active"
887
617
  onClick={[Function]}
888
618
  >
889
- <Button
890
- active={false}
891
- block={false}
892
- bsClass="btn"
893
- bsStyle="link"
894
- disabled={false}
895
- >
896
- 0
897
- </Button>
619
+ 0
898
620
  </td>
899
621
  </tr>
900
622
  <tr
@@ -911,29 +633,13 @@ exports[`StoppedTasksCard render warning-last selected 1`] = `
911
633
  className="data-col not-focused"
912
634
  onClick={[Function]}
913
635
  >
914
- <Button
915
- active={false}
916
- block={false}
917
- bsClass="btn"
918
- bsStyle="link"
919
- disabled={false}
920
- >
921
- 0
922
- </Button>
636
+ 0
923
637
  </td>
924
638
  <td
925
639
  className="data-col not-focused"
926
640
  onClick={[Function]}
927
641
  >
928
- <Button
929
- active={false}
930
- block={false}
931
- bsClass="btn"
932
- bsStyle="link"
933
- disabled={false}
934
- >
935
- 0
936
- </Button>
642
+ 0
937
643
  </td>
938
644
  </tr>
939
645
  </tbody>
@@ -949,7 +655,6 @@ exports[`StoppedTasksCard render warning-total selected 1`] = `
949
655
  aggregatedMini={false}
950
656
  cardRef={null}
951
657
  className="tasks-donut-card stopped-tasks-card selected-tasks-card"
952
- id="stopped-tasks-card"
953
658
  matchHeight={false}
954
659
  >
955
660
  <CardTitle
@@ -990,29 +695,13 @@ exports[`StoppedTasksCard render warning-total selected 1`] = `
990
695
  className="data-col not-focused"
991
696
  onClick={[Function]}
992
697
  >
993
- <Button
994
- active={false}
995
- block={false}
996
- bsClass="btn"
997
- bsStyle="link"
998
- disabled={false}
999
- >
1000
- 0
1001
- </Button>
698
+ 0
1002
699
  </td>
1003
700
  <td
1004
701
  className="data-col not-focused"
1005
702
  onClick={[Function]}
1006
703
  >
1007
- <Button
1008
- active={false}
1009
- block={false}
1010
- bsClass="btn"
1011
- bsStyle="link"
1012
- disabled={false}
1013
- >
1014
- 0
1015
- </Button>
704
+ 0
1016
705
  </td>
1017
706
  </tr>
1018
707
  <tr
@@ -1029,29 +718,13 @@ exports[`StoppedTasksCard render warning-total selected 1`] = `
1029
718
  className="data-col active"
1030
719
  onClick={[Function]}
1031
720
  >
1032
- <Button
1033
- active={false}
1034
- block={false}
1035
- bsClass="btn"
1036
- bsStyle="link"
1037
- disabled={false}
1038
- >
1039
- 0
1040
- </Button>
721
+ 0
1041
722
  </td>
1042
723
  <td
1043
724
  className="data-col not-focused"
1044
725
  onClick={[Function]}
1045
726
  >
1046
- <Button
1047
- active={false}
1048
- block={false}
1049
- bsClass="btn"
1050
- bsStyle="link"
1051
- disabled={false}
1052
- >
1053
- 0
1054
- </Button>
727
+ 0
1055
728
  </td>
1056
729
  </tr>
1057
730
  <tr
@@ -1068,29 +741,13 @@ exports[`StoppedTasksCard render warning-total selected 1`] = `
1068
741
  className="data-col not-focused"
1069
742
  onClick={[Function]}
1070
743
  >
1071
- <Button
1072
- active={false}
1073
- block={false}
1074
- bsClass="btn"
1075
- bsStyle="link"
1076
- disabled={false}
1077
- >
1078
- 0
1079
- </Button>
744
+ 0
1080
745
  </td>
1081
746
  <td
1082
747
  className="data-col not-focused"
1083
748
  onClick={[Function]}
1084
749
  >
1085
- <Button
1086
- active={false}
1087
- block={false}
1088
- bsClass="btn"
1089
- bsStyle="link"
1090
- disabled={false}
1091
- >
1092
- 0
1093
- </Button>
750
+ 0
1094
751
  </td>
1095
752
  </tr>
1096
753
  </tbody>
@@ -1106,7 +763,6 @@ exports[`StoppedTasksCard render with minimal props 1`] = `
1106
763
  aggregatedMini={false}
1107
764
  cardRef={null}
1108
765
  className="tasks-donut-card stopped-tasks-card"
1109
- id="stopped-tasks-card"
1110
766
  matchHeight={false}
1111
767
  >
1112
768
  <CardTitle
@@ -1147,29 +803,13 @@ exports[`StoppedTasksCard render with minimal props 1`] = `
1147
803
  className="data-col"
1148
804
  onClick={[Function]}
1149
805
  >
1150
- <Button
1151
- active={false}
1152
- block={false}
1153
- bsClass="btn"
1154
- bsStyle="link"
1155
- disabled={false}
1156
- >
1157
- 0
1158
- </Button>
806
+ 0
1159
807
  </td>
1160
808
  <td
1161
809
  className="data-col"
1162
810
  onClick={[Function]}
1163
811
  >
1164
- <Button
1165
- active={false}
1166
- block={false}
1167
- bsClass="btn"
1168
- bsStyle="link"
1169
- disabled={false}
1170
- >
1171
- 0
1172
- </Button>
812
+ 0
1173
813
  </td>
1174
814
  </tr>
1175
815
  <tr
@@ -1186,29 +826,13 @@ exports[`StoppedTasksCard render with minimal props 1`] = `
1186
826
  className="data-col"
1187
827
  onClick={[Function]}
1188
828
  >
1189
- <Button
1190
- active={false}
1191
- block={false}
1192
- bsClass="btn"
1193
- bsStyle="link"
1194
- disabled={false}
1195
- >
1196
- 0
1197
- </Button>
829
+ 0
1198
830
  </td>
1199
831
  <td
1200
832
  className="data-col"
1201
833
  onClick={[Function]}
1202
834
  >
1203
- <Button
1204
- active={false}
1205
- block={false}
1206
- bsClass="btn"
1207
- bsStyle="link"
1208
- disabled={false}
1209
- >
1210
- 0
1211
- </Button>
835
+ 0
1212
836
  </td>
1213
837
  </tr>
1214
838
  <tr
@@ -1225,29 +849,13 @@ exports[`StoppedTasksCard render with minimal props 1`] = `
1225
849
  className="data-col"
1226
850
  onClick={[Function]}
1227
851
  >
1228
- <Button
1229
- active={false}
1230
- block={false}
1231
- bsClass="btn"
1232
- bsStyle="link"
1233
- disabled={false}
1234
- >
1235
- 0
1236
- </Button>
852
+ 0
1237
853
  </td>
1238
854
  <td
1239
855
  className="data-col"
1240
856
  onClick={[Function]}
1241
857
  >
1242
- <Button
1243
- active={false}
1244
- block={false}
1245
- bsClass="btn"
1246
- bsStyle="link"
1247
- disabled={false}
1248
- >
1249
- 0
1250
- </Button>
858
+ 0
1251
859
  </td>
1252
860
  </tr>
1253
861
  </tbody>
@@ -1263,7 +871,6 @@ exports[`StoppedTasksCard render with props 1`] = `
1263
871
  aggregatedMini={false}
1264
872
  cardRef={null}
1265
873
  className="tasks-donut-card stopped-tasks-card"
1266
- id="stopped-tasks-card"
1267
874
  matchHeight={false}
1268
875
  >
1269
876
  <CardTitle
@@ -1304,29 +911,13 @@ exports[`StoppedTasksCard render with props 1`] = `
1304
911
  className="data-col"
1305
912
  onClick={[Function]}
1306
913
  >
1307
- <Button
1308
- active={false}
1309
- block={false}
1310
- bsClass="btn"
1311
- bsStyle="link"
1312
- disabled={false}
1313
- >
1314
- 9
1315
- </Button>
914
+ 9
1316
915
  </td>
1317
916
  <td
1318
917
  className="data-col"
1319
918
  onClick={[Function]}
1320
919
  >
1321
- <Button
1322
- active={false}
1323
- block={false}
1324
- bsClass="btn"
1325
- bsStyle="link"
1326
- disabled={false}
1327
- >
1328
- 1
1329
- </Button>
920
+ 1
1330
921
  </td>
1331
922
  </tr>
1332
923
  <tr
@@ -1343,29 +934,13 @@ exports[`StoppedTasksCard render with props 1`] = `
1343
934
  className="data-col"
1344
935
  onClick={[Function]}
1345
936
  >
1346
- <Button
1347
- active={false}
1348
- block={false}
1349
- bsClass="btn"
1350
- bsStyle="link"
1351
- disabled={false}
1352
- >
1353
- 8
1354
- </Button>
937
+ 8
1355
938
  </td>
1356
939
  <td
1357
940
  className="data-col"
1358
941
  onClick={[Function]}
1359
942
  >
1360
- <Button
1361
- active={false}
1362
- block={false}
1363
- bsClass="btn"
1364
- bsStyle="link"
1365
- disabled={false}
1366
- >
1367
- 2
1368
- </Button>
943
+ 2
1369
944
  </td>
1370
945
  </tr>
1371
946
  <tr
@@ -1382,29 +957,13 @@ exports[`StoppedTasksCard render with props 1`] = `
1382
957
  className="data-col"
1383
958
  onClick={[Function]}
1384
959
  >
1385
- <Button
1386
- active={false}
1387
- block={false}
1388
- bsClass="btn"
1389
- bsStyle="link"
1390
- disabled={false}
1391
- >
1392
- 7
1393
- </Button>
960
+ 7
1394
961
  </td>
1395
962
  <td
1396
963
  className="data-col"
1397
964
  onClick={[Function]}
1398
965
  >
1399
- <Button
1400
- active={false}
1401
- block={false}
1402
- bsClass="btn"
1403
- bsStyle="link"
1404
- disabled={false}
1405
- >
1406
- 3
1407
- </Button>
966
+ 3
1408
967
  </td>
1409
968
  </tr>
1410
969
  </tbody>