Sort queues alphabetically by id

Created on 5 May 2023, over 1 year ago

Problem/Motivation

Currently the queues are listed in an unsorted order. Because this module provides a User Interface it would be expected that the sorting order has a logical default. Because queue workers are mostly created in-code, sorting by 'id' (machine name) makes sense.

There is the 'queue_order' module, but is has just 1% of the install base of the queue_ui module. Therefor an a-z default is an improvement for most of the queue_ui users.

Steps to reproduce

  1. Create multiple queues with various ids.
  2. Visit /admin/config/system/queue-ui
  3. Notice the order in the UI is different.

Proposed resolution

By default, sort by id (machine-name).

Remaining tasks

  • Decide if a default sorting a-z is an improvement from now.
  • Decide what's the appropriate place to accomplish this.

User interface changes

In the overview, queue workers are sorted by machine name.

API changes

none

Data model changes

none

✨ Feature request
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands ndf Amsterdam

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

Comments & Activities

Production build 0.71.5 2024