Widget to view and execute queue from the UI

Created on 3 January 2017, about 8 years ago
Updated 20 April 2023, over 1 year ago

Like this module a lot and I have included it as a recommendation into DRD β†’ for Drupal 8. What I would like to see is a widget, that can be added as a block to any page which displays the status of the queue (maybe only for a specified queue category) and starts execution of the queue as a batch triggered by an ajax callback triggered from the UI. The widget should then permanently update itself to show the current status and the number of remaining items in the queue.

Background: with DRD there are a lot of actions to be executed, added to the queue either by the administrator by selecting them in the DRD ui or by other events like DrupalConsole or Drush commands. The items in the queue should be executed as soon as possible but ideally without extra triggers by the user. Very frequent cron runs would do the job but this is a problem with some hosting companies as they don't allow that to happen. Also, the feedback from executing the queue in the UI would be very helpful to the user while being navigating through the DRD.

Maybe other use cases would also benefit from such a widget. What do you think?

I'd be more than happy to contribute to such a development, probably as a separate module or a sub-module to queue_ui. But I wanted to check with the maintainers of queue_ui first, if they had similar ideas before or if they wanted to discuss that with me before putting more effort into this.

✨ Feature request
Status

Postponed: needs info

Version

3.1

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    This would be nice widget to have at the top of the admin page when inspecting a queue. Currently, we have to go back to the list of queues to run one. This would make testing and developing queue workers a little easier.

  • Status changed to Needs work 3 months ago
  • πŸ‡ΊπŸ‡¦Ukraine voleger Ukraine, Rivne
Production build 0.71.5 2024