thecore_ui_rails_admin 3.8.11 → 3.9.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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/rails_admin/actions/active_job_monitor.js +1 -1
- data/app/views/rails_admin/main/active_job_monitor.html.erb +1 -1
- data/config/locales/en.thecore_ui_ra.yml +3 -3
- data/config/locales/it.thecore_ui_ra.yml +3 -3
- data/lib/thecore_ui_rails_admin/version.rb +1 -1
- data/lib/thecore_ui_rails_admin.rb +11 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50a04c2460e638184b61c79875679a0f7b322126db371f524df9ddb22e885b28
|
|
4
|
+
data.tar.gz: 9d594b22829b196e5b2db929eddc678b637a9ec5984d597495cb98ab4abeb65f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ab44035b7b4c06558935fcce8077789f98e72e3dc02ab239212208515f29ae722826de3a9dabba4b2501f7b2eb191c81d13142e06cd79489e97aeed3a22c8bed
|
|
7
|
+
data.tar.gz: c93d924bc3f642f3ec2058b682f08d61a79311f5113719d8718d0ca45194ead764e8a59ba9f6471518c469897abdc1f162a7d3218d6901bf37a848ceeac8a6a2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Companion JS for the active_job_monitor root action. The real UI (see
|
|
2
2
|
// app/views/rails_admin/main/active_job_monitor.html.erb) is a plain iframe embedding the
|
|
3
|
-
//
|
|
3
|
+
// jobs monitor (ThecoreUiRailsAdmin.jobs_monitor_path, Mission Control at /jobs), with its own onload="adjustIframe(this)" handler already wired up in
|
|
4
4
|
// app/assets/javascripts/rails_admin/custom/ui.js.erb -- this file is deliberately inert
|
|
5
5
|
// rather than a copy of the thecore:root_action generator's own button/ActionCable starter
|
|
6
6
|
// script, which would wire up event listeners against DOM elements
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<%= stylesheet_link_tag 'rails_admin/actions/active_job_monitor' %>
|
|
2
2
|
<span class="hide-toolbar"></span>
|
|
3
3
|
|
|
4
|
-
<iframe class="
|
|
4
|
+
<iframe class="jobs-monitor" src="<%= ThecoreUiRailsAdmin.jobs_monitor_path %>" title="Jobs monitor" frameborder="0"
|
|
5
5
|
allow="accelerometer; clipboard-write; encrypted-media; gyroscope;" allowfullscreen style="width:100%;"
|
|
6
6
|
scrolling="no" onload="adjustIframe(this)"></iframe>
|
|
7
7
|
<%= javascript_include_tag 'rails_admin/actions/active_job_monitor' %>
|
|
@@ -33,9 +33,9 @@ en:
|
|
|
33
33
|
link: Show All Items
|
|
34
34
|
no_records: No records to display
|
|
35
35
|
active_job_monitor:
|
|
36
|
-
menu:
|
|
37
|
-
title:
|
|
38
|
-
breadcrumb:
|
|
36
|
+
menu: Jobs
|
|
37
|
+
title: Jobs
|
|
38
|
+
breadcrumb: Jobs
|
|
39
39
|
change_password:
|
|
40
40
|
title: Change Password
|
|
41
41
|
breadcrumb: Change Password
|
|
@@ -33,9 +33,9 @@ it:
|
|
|
33
33
|
link: Mostra tutti gli Elementi
|
|
34
34
|
no_records: Nessun record da mostrare
|
|
35
35
|
active_job_monitor:
|
|
36
|
-
menu:
|
|
37
|
-
title:
|
|
38
|
-
breadcrumb:
|
|
36
|
+
menu: Job
|
|
37
|
+
title: Job
|
|
38
|
+
breadcrumb: Job
|
|
39
39
|
change_password:
|
|
40
40
|
title: Cambia Password
|
|
41
41
|
breadcrumb: Cambia Password
|
|
@@ -7,5 +7,15 @@ require "thecore_ui_rails_admin/engine"
|
|
|
7
7
|
require "rails_admin_filter_controller_helper"
|
|
8
8
|
|
|
9
9
|
module ThecoreUiRailsAdmin
|
|
10
|
-
#
|
|
10
|
+
# Path of the background jobs monitor the active_job_monitor root action embeds: the one
|
|
11
|
+
# thecore_background_jobs mounts (ThecoreBackgroundJobs.monitor_path, Mission Control at /jobs,
|
|
12
|
+
# since 3.1.0). With an older thecore_background_jobs, which lacks the method, the same default:
|
|
13
|
+
# RAILS_RELATIVE_URL_ROOT + "/jobs".
|
|
14
|
+
def self.jobs_monitor_path
|
|
15
|
+
if defined?(ThecoreBackgroundJobs) && ThecoreBackgroundJobs.respond_to?(:monitor_path)
|
|
16
|
+
ThecoreBackgroundJobs.monitor_path
|
|
17
|
+
else
|
|
18
|
+
"#{ENV.fetch("RAILS_RELATIVE_URL_ROOT", "/")}/jobs".squeeze("/")
|
|
19
|
+
end
|
|
20
|
+
end
|
|
11
21
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore_ui_rails_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thecore_ui_commons
|