[PR #14825] [MERGED] 14729 Move background tasks list from admin UI to Primary UI #14464

Closed
opened 2025-12-29 23:24:37 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/14825
Author: @arthanson
Created: 1/17/2024
Status: Merged
Merged: 2/1/2024
Merged by: @jeremystretch

Base: featureHead: 14729-rq-admin


📝 Commits (10+)

📊 Changes

15 files changed (+1094 additions, -29 deletions)

View changed files

netbox/core/constants.py (+26 -0)
📝 netbox/core/tables/__init__.py (+1 -0)
📝 netbox/core/tables/columns.py (+16 -0)
netbox/core/tables/tasks.py (+134 -0)
📝 netbox/core/tests/test_views.py (+219 -1)
📝 netbox/core/urls.py (+11 -0)
📝 netbox/core/views.py (+286 -1)
📝 netbox/netbox/navigation/menu.py (+6 -1)
📝 netbox/netbox/urls.py (+0 -1)
netbox/templates/admin/index.html (+0 -25)
netbox/templates/core/rq_queue_list.html (+34 -0)
netbox/templates/core/rq_task.html (+117 -0)
netbox/templates/core/rq_task_list.html (+104 -0)
netbox/templates/core/rq_worker.html (+82 -0)
netbox/templates/core/rq_worker_list.html (+58 -0)

📄 Description

Fixes: #14729

Adds list and drill-down to detail view for RQ queues:

Monosnap Background Tasks | NetBox 2024-01-17 07-52-17
Monosnap Job | NetBox 2024-01-17 09-24-53
Monosnap Queued Jobs in default | NetBox 2024-01-17 07-52-31

Added requeue, stop, enqueue and delete functionality to the detail view.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/14825 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 1/17/2024 **Status:** ✅ Merged **Merged:** 2/1/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `14729-rq-admin` --- ### 📝 Commits (10+) - [`39c7b1e`](https://github.com/netbox-community/netbox/commit/39c7b1ed5d3db85049f6523efe0dd5128306b4e7) 14729 rq table - [`5bada6d`](https://github.com/netbox-community/netbox/commit/5bada6d3ed62780e13d28d44c77f5ce0b0918a2f) 14729 rq table - [`0aac9c4`](https://github.com/netbox-community/netbox/commit/0aac9c451255bccafe86d0ed1b2d82866ad34dc0) 14729 rq table - [`6e9ded8`](https://github.com/netbox-community/netbox/commit/6e9ded893a4fa9e892f173eaf39293cb3f273af0) 14729 rq table - [`a7b2fe4`](https://github.com/netbox-community/netbox/commit/a7b2fe4fb256495b958f3249fd2f15d844af04a8) 14729 jobs table - [`b18453e`](https://github.com/netbox-community/netbox/commit/b18453e7603ef82c85260935fdd6df3f1f94e42f) 14729 jobs detail - [`6c41fa3`](https://github.com/netbox-community/netbox/commit/6c41fa3d795834e6e39ab32b03af54aa63753586) 14729 formatting fixup - [`d0c90bc`](https://github.com/netbox-community/netbox/commit/d0c90bc259f93b42a5388c7bd70be6e3f89fc567) 14729 formatting fixup - [`bd76a71`](https://github.com/netbox-community/netbox/commit/bd76a7148f8c3f23e8a6605749023c40c1545eca) 14729 format datetime in tables - [`635d849`](https://github.com/netbox-community/netbox/commit/635d849da940a64ac88ba372074ffcfa762d4426) 14729 display job id ### 📊 Changes **15 files changed** (+1094 additions, -29 deletions) <details> <summary>View changed files</summary> ➕ `netbox/core/constants.py` (+26 -0) 📝 `netbox/core/tables/__init__.py` (+1 -0) 📝 `netbox/core/tables/columns.py` (+16 -0) ➕ `netbox/core/tables/tasks.py` (+134 -0) 📝 `netbox/core/tests/test_views.py` (+219 -1) 📝 `netbox/core/urls.py` (+11 -0) 📝 `netbox/core/views.py` (+286 -1) 📝 `netbox/netbox/navigation/menu.py` (+6 -1) 📝 `netbox/netbox/urls.py` (+0 -1) ➖ `netbox/templates/admin/index.html` (+0 -25) ➕ `netbox/templates/core/rq_queue_list.html` (+34 -0) ➕ `netbox/templates/core/rq_task.html` (+117 -0) ➕ `netbox/templates/core/rq_task_list.html` (+104 -0) ➕ `netbox/templates/core/rq_worker.html` (+82 -0) ➕ `netbox/templates/core/rq_worker_list.html` (+58 -0) </details> ### 📄 Description ### Fixes: #14729 Adds list and drill-down to detail view for RQ queues: ![Monosnap Background Tasks | NetBox 2024-01-17 07-52-17](https://github.com/netbox-community/netbox/assets/99642/dd0a67ae-b7f5-4c48-9438-b18288c33a88) ![Monosnap Job | NetBox 2024-01-17 09-24-53](https://github.com/netbox-community/netbox/assets/99642/695b88ee-5e00-4fa8-ba2b-0c886e305e57) ![Monosnap Queued Jobs in default | NetBox 2024-01-17 07-52-31](https://github.com/netbox-community/netbox/assets/99642/3b89baa9-c775-41dd-97b7-4ee206c82084) Added requeue, stop, enqueue and delete functionality to the detail view. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:24:37 +01:00
adam closed this issue 2025-12-29 23:24:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14464