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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e23aff5b3ed267cd5b70dba297813ab83042ac0b2caa073247796a735478a2f9
4
- data.tar.gz: 8f681b552e1b74935815896b1d1cf2ae7a999fd5d594e116f72d80c051936756
3
+ metadata.gz: 50a04c2460e638184b61c79875679a0f7b322126db371f524df9ddb22e885b28
4
+ data.tar.gz: 9d594b22829b196e5b2db929eddc678b637a9ec5984d597495cb98ab4abeb65f
5
5
  SHA512:
6
- metadata.gz: 35aa4f9c09861055a54937330fe4b4776a96bf05b784a55fd42354e73a1b6e04588aebceef3662bc2ee29f8f8e5f520b211d5c521ebf1cecaa550ece98371f93
7
- data.tar.gz: 566bff6556bd74c64ed153e283c3fcb53a2a47b617075715ee791b479b01cab6139585b92d964b46919a24d6cc35fc31c0f2dc74a011f29afe128cc0881826a9
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
- // Sidekiq web UI, with its own onload="adjustIframe(this)" handler already wired up in
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="sidekiq-monitor" src="<%="#{ENV['RAILS_RELATIVE_URL_ROOT']}/sidekiq".gsub('//','/')%>" title="Background Processes Monitor" frameborder="0"
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: Service Monitoring
37
- title: Service Monitoring
38
- breadcrumb: Service Monitoring
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: Monitoraggio Servizi
37
- title: Monitoraggio Servizi
38
- breadcrumb: Monitoraggio Servizi
36
+ menu: Job
37
+ title: Job
38
+ breadcrumb: Job
39
39
  change_password:
40
40
  title: Cambia Password
41
41
  breadcrumb: Cambia Password
@@ -1,3 +1,3 @@
1
1
  module ThecoreUiRailsAdmin
2
- VERSION = "3.8.11".freeze
2
+ VERSION = "3.9.0".freeze
3
3
  end
@@ -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
- # Your code goes here...
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.8.11
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-24 00:00:00.000000000 Z
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