packagist dereuromark/cakephp-queue 8.10.0

5 hours ago

Modern Isolated Admin Dashboard (#461)

This release introduces a modern, self-contained admin dashboard for the Queue plugin that is completely isolated from the host application's CSS/JS.

Key Features

  • Bootstrap 5.3.3 + Font Awesome 6.7.2 via CDN with SRI hashes
  • Isolated base controller (QueueAppController) that extends Cake\Controller\Controller directly
  • Default enabled - the new layout is used automatically (can be disabled)
  • Mobile responsive - offcanvas navigation for mobile devices
  • Backwards compatible - can revert to app's layout via config

Configuration Options

'Queue' => [
    // Layout for admin pages:
    // - null (default): Uses 'Queue.queue' isolated Bootstrap 5 layout
    // - false: Disables plugin layout, uses app's default layout
    // - string: Uses specified layout
    'adminLayout' => null,

    // Auto-refresh dashboard every N seconds (0 = disabled)
    'dashboardAutoRefresh' => 30,
],

Dashboard Features

  • Status banner showing queue running/idle state
  • Statistics cards for pending, scheduled, running, and failed jobs
  • Pending/scheduled jobs tables with inline actions
  • Job statistics with Chart.js visualization
  • Trigger jobs section for addable tasks
  • Configuration display
  • Sidebar navigation with quick actions
  • Mobile offcanvas navigation

Stats Page Improvements

  • Fixed Chart.js infinite vertical expansion issue
  • Job type filter now uses query parameters (supports job types with slashes)
  • Added back button when viewing specific job type stats

Full Changelog: 8.9.1...8.10.0

dashboard_queue

Don't miss a new cakephp-queue release

NewReleases is sending notifications on new releases.