edwilde/silverstripe-queuedjobs-live 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

edwilde/silverstripe-queuedjobs-live

最新稳定版本:0.0.1

Composer 安装命令:

composer require edwilde/silverstripe-queuedjobs-live

包简介

Live updates for Silverstripe Queued Jobs admin panel

README 文档

README

Adds live auto-refresh capability to the SilverStripe Queued Jobs admin panel.

Demo

Demo of SilverStripe Queued Jobs Live module showing auto-refreshing jobs grid with play/pause button

Features

  • Play/pause toggle button positioned next to the filter button
  • Auto-refresh every 5 seconds without full page reload
  • Minimal DOM updates using intelligent diffing (only changed cells are updated, no false positives from action buttons)
  • Subtle refresh indicator in the button icon (no intrusive popups)
  • Preserves scroll position and focus state
  • Smart pausing (10 seconds) on user interaction
  • Session timeout detection and handling
  • Network error handling with notifications
  • Button persists through DOM updates (MutationObserver ensures it remains available)
  • Progressive enhancement (graceful degradation when JavaScript is disabled)
  • Comprehensive automated test coverage (Jest + PHPUnit)

Installation

composer require edwilde/silverstripe-queuedjobs-live

Usage

Once installed, the Queued Jobs admin panel will automatically include a play/pause button positioned to the left of the "Filter" button. Click it to enable automatic refreshing of the jobs grid every 5 seconds.

The button uses a subtle outline style and shows a spinning refresh icon while updating.

Development

# Install dependencies
npm install

# Build for development
npm run dev

# Build for production
npm run build

# Run tests
npm test

# Run tests in watch mode
npm run test:js:watch

# Lint code
npm run lint

Requirements

  • SilverStripe Framework ^4.0 || ^5.0
  • symbiote/silverstripe-queuedjobs ^4.0 || ^5.0

License

BSD-3-Clause

统计信息

  • 总下载量: 40
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2025-11-27