flightdeck 0.5.2 → 0.5.3
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.
- checksums.yaml +4 -4
- data/app/assets/flightdeck/{flightdeck-00403457c5d9.css → flightdeck-3967b9e6c506.css} +1 -1
- data/app/assets/flightdeck/{flightdeck-747ab6d1a6fa.js → flightdeck-3aac23f80afe.js} +2 -2
- data/app/assets/flightdeck/manifest.json +7 -7
- data/app/controllers/concerns/flightdeck/toasts.rb +23 -13
- data/app/controllers/flightdeck/jobs/actions_controller.rb +41 -42
- data/app/controllers/flightdeck/jobs/discards_controller.rb +0 -1
- data/app/controllers/flightdeck/jobs/retries_controller.rb +0 -1
- data/app/controllers/flightdeck/processes_controller.rb +8 -3
- data/app/controllers/flightdeck/queues_controller.rb +8 -3
- data/app/controllers/flightdeck/recurring_tasks_controller.rb +7 -2
- data/app/helpers/flightdeck/application_helper.rb +17 -0
- data/app/helpers/flightdeck/jobs_helper.rb +1 -20
- data/app/models/flightdeck/duration.rb +23 -0
- data/app/models/flightdeck/job_detail.rb +1 -8
- data/app/models/flightdeck/job_row.rb +10 -0
- data/app/models/flightdeck/jobs_query.rb +8 -16
- data/app/models/flightdeck/metrics/line_chart.rb +3 -7
- data/app/models/flightdeck/overview.rb +12 -19
- data/app/models/flightdeck/process_registry.rb +0 -6
- data/app/models/flightdeck/queue_stats.rb +0 -2
- data/app/models/flightdeck/recurring_catalog.rb +0 -2
- data/app/views/flightdeck/jobs/_list.html.erb +9 -4
- data/app/views/flightdeck/jobs/index.html.erb +2 -5
- data/app/views/flightdeck/overview/_tiles.html.erb +1 -1
- data/app/views/flightdeck/overview/index.html.erb +12 -37
- data/app/views/flightdeck/processes/index.html.erb +2 -6
- data/app/views/flightdeck/queues/index.html.erb +2 -6
- data/app/views/flightdeck/recurring_tasks/index.html.erb +2 -6
- data/app/views/flightdeck/shared/refresh.turbo_stream.erb +14 -0
- data/lib/flightdeck/assets.rb +0 -6
- data/lib/flightdeck/version.rb +1 -1
- metadata +5 -7
- data/app/views/flightdeck/jobs/actions/create.turbo_stream.erb +0 -18
- data/app/views/flightdeck/processes/prune.turbo_stream.erb +0 -15
- data/app/views/flightdeck/queues/update.turbo_stream.erb +0 -15
- data/app/views/flightdeck/recurring_tasks/run.turbo_stream.erb +0 -15
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flightdeck
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carl Mercier
|
|
@@ -48,8 +48,8 @@ extra_rdoc_files: []
|
|
|
48
48
|
files:
|
|
49
49
|
- MIT-LICENSE
|
|
50
50
|
- README.md
|
|
51
|
-
- app/assets/flightdeck/flightdeck-
|
|
52
|
-
- app/assets/flightdeck/flightdeck-
|
|
51
|
+
- app/assets/flightdeck/flightdeck-3967b9e6c506.css
|
|
52
|
+
- app/assets/flightdeck/flightdeck-3aac23f80afe.js
|
|
53
53
|
- app/assets/flightdeck/manifest.json
|
|
54
54
|
- app/controllers/concerns/flightdeck/toasts.rb
|
|
55
55
|
- app/controllers/flightdeck/application_controller.rb
|
|
@@ -70,6 +70,7 @@ files:
|
|
|
70
70
|
- app/models/flightdeck/bulk_action.rb
|
|
71
71
|
- app/models/flightdeck/cache.rb
|
|
72
72
|
- app/models/flightdeck/cron_schedule.rb
|
|
73
|
+
- app/models/flightdeck/duration.rb
|
|
73
74
|
- app/models/flightdeck/error_summary.rb
|
|
74
75
|
- app/models/flightdeck/grouped_failures.rb
|
|
75
76
|
- app/models/flightdeck/job_detail.rb
|
|
@@ -91,7 +92,6 @@ files:
|
|
|
91
92
|
- app/views/flightdeck/jobs/_pager.html.erb
|
|
92
93
|
- app/views/flightdeck/jobs/_row.html.erb
|
|
93
94
|
- app/views/flightdeck/jobs/_state_tabs.html.erb
|
|
94
|
-
- app/views/flightdeck/jobs/actions/create.turbo_stream.erb
|
|
95
95
|
- app/views/flightdeck/jobs/index.html.erb
|
|
96
96
|
- app/views/flightdeck/jobs/show.html.erb
|
|
97
97
|
- app/views/flightdeck/metrics/_bar_chart.html.erb
|
|
@@ -108,14 +108,12 @@ files:
|
|
|
108
108
|
- app/views/flightdeck/processes/_fleet.html.erb
|
|
109
109
|
- app/views/flightdeck/processes/_row.html.erb
|
|
110
110
|
- app/views/flightdeck/processes/index.html.erb
|
|
111
|
-
- app/views/flightdeck/processes/prune.turbo_stream.erb
|
|
112
111
|
- app/views/flightdeck/queues/_cards.html.erb
|
|
113
112
|
- app/views/flightdeck/queues/index.html.erb
|
|
114
|
-
- app/views/flightdeck/queues/update.turbo_stream.erb
|
|
115
113
|
- app/views/flightdeck/recurring_tasks/_table.html.erb
|
|
116
114
|
- app/views/flightdeck/recurring_tasks/index.html.erb
|
|
117
|
-
- app/views/flightdeck/recurring_tasks/run.turbo_stream.erb
|
|
118
115
|
- app/views/flightdeck/shared/_toast.html.erb
|
|
116
|
+
- app/views/flightdeck/shared/refresh.turbo_stream.erb
|
|
119
117
|
- app/views/layouts/flightdeck/application.html.erb
|
|
120
118
|
- config/routes.rb
|
|
121
119
|
- lib/flightdeck.rb
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<turbo-stream action="append" target="fd-toasts">
|
|
2
|
-
<template><%= render partial: "flightdeck/shared/toast", formats: [ :html ], locals: { toast: @toast } %></template>
|
|
3
|
-
</turbo-stream>
|
|
4
|
-
|
|
5
|
-
<%# Re-render the list the action was launched from, so counts, rows and the
|
|
6
|
-
state tabs all settle in the same round trip. A page that has no jobs frame
|
|
7
|
-
(the job detail page, say) simply ignores this stream. %>
|
|
8
|
-
<turbo-stream action="replace" target="fd-jobs">
|
|
9
|
-
<template>
|
|
10
|
-
<turbo-frame id="fd-jobs"
|
|
11
|
-
data-controller="refresh"
|
|
12
|
-
data-refresh-interval-value="<%= (Flightdeck.config.poll_interval.to_f * 1000).round %>"
|
|
13
|
-
data-refresh-url-value="<%= fd_refreshed_list_url %>">
|
|
14
|
-
<%= render partial: "flightdeck/jobs/list", formats: [ :html ],
|
|
15
|
-
locals: { query: @refreshed_query, rows: @refreshed_rows, groups: @refreshed_groups } %>
|
|
16
|
-
</turbo-frame>
|
|
17
|
-
</template>
|
|
18
|
-
</turbo-stream>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<turbo-stream action="append" target="fd-toasts">
|
|
2
|
-
<template><%= render partial: "flightdeck/shared/toast", formats: [ :html ], locals: { toast: @toast } %></template>
|
|
3
|
-
</turbo-stream>
|
|
4
|
-
|
|
5
|
-
<turbo-stream action="replace" target="fd-processes">
|
|
6
|
-
<template>
|
|
7
|
-
<turbo-frame id="fd-processes"
|
|
8
|
-
target="_top"
|
|
9
|
-
data-controller="refresh"
|
|
10
|
-
data-refresh-interval-value="<%= (Flightdeck.config.poll_interval.to_f * 1000).round %>"
|
|
11
|
-
data-refresh-url-value="<%= processes_path %>">
|
|
12
|
-
<%= render partial: "flightdeck/processes/fleet", formats: [ :html ], locals: { registry: @registry } %>
|
|
13
|
-
</turbo-frame>
|
|
14
|
-
</template>
|
|
15
|
-
</turbo-stream>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<turbo-stream action="append" target="fd-toasts">
|
|
2
|
-
<template><%= render partial: "flightdeck/shared/toast", formats: [ :html ], locals: { toast: @toast } %></template>
|
|
3
|
-
</turbo-stream>
|
|
4
|
-
|
|
5
|
-
<turbo-stream action="replace" target="fd-queues">
|
|
6
|
-
<template>
|
|
7
|
-
<turbo-frame id="fd-queues"
|
|
8
|
-
target="_top"
|
|
9
|
-
data-controller="refresh"
|
|
10
|
-
data-refresh-interval-value="<%= (Flightdeck.config.poll_interval.to_f * 1000).round %>"
|
|
11
|
-
data-refresh-url-value="<%= queues_path %>">
|
|
12
|
-
<%= render partial: "flightdeck/queues/cards", formats: [ :html ], locals: { stats: @stats, sparklines: @sparklines } %>
|
|
13
|
-
</turbo-frame>
|
|
14
|
-
</template>
|
|
15
|
-
</turbo-stream>
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<turbo-stream action="append" target="fd-toasts">
|
|
2
|
-
<template><%= render partial: "flightdeck/shared/toast", formats: [ :html ], locals: { toast: @toast } %></template>
|
|
3
|
-
</turbo-stream>
|
|
4
|
-
|
|
5
|
-
<turbo-stream action="replace" target="fd-recurring">
|
|
6
|
-
<template>
|
|
7
|
-
<turbo-frame id="fd-recurring"
|
|
8
|
-
target="_top"
|
|
9
|
-
data-controller="refresh"
|
|
10
|
-
data-refresh-interval-value="<%= (Flightdeck.config.poll_interval.to_f * 1000).round %>"
|
|
11
|
-
data-refresh-url-value="<%= recurring_tasks_path %>">
|
|
12
|
-
<%= render partial: "flightdeck/recurring_tasks/table", formats: [ :html ], locals: { catalog: @catalog } %>
|
|
13
|
-
</turbo-frame>
|
|
14
|
-
</template>
|
|
15
|
-
</turbo-stream>
|