[PR #19337] [MERGED] Closes: #18215 Add script results view to script job history #15620

Closed
opened 2025-12-30 00:23:02 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19337
Author: @renatoalmeidaoliveira
Created: 4/26/2025
Status: Merged
Merged: 4/28/2025
Merged by: @jnovinger

Base: mainHead: 18215-Script-results-tab


📝 Commits (1)

  • 75e4a5a Create ScriptJobTable from JobTable and add it to ScriptSourceView

📊 Changes

2 files changed (+22 additions, -3 deletions)

View changed files

📝 netbox/extras/tables/tables.py (+20 -0)
📝 netbox/extras/views.py (+2 -3)

📄 Description

Closes: #18215 Add script results view to script job history

  • Created a ScriptJobTable from JobTable
  • Added that table in ScriptJobsView

Observations:

IMO that approach makes the behaivour more natural, and similar to the previous versions like in 3.6.x, but it should be more intuitive if the tab name changes to Results or a new column with a button icon linking for the results.


🔄 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/19337 **Author:** [@renatoalmeidaoliveira](https://github.com/renatoalmeidaoliveira) **Created:** 4/26/2025 **Status:** ✅ Merged **Merged:** 4/28/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `main` ← **Head:** `18215-Script-results-tab` --- ### 📝 Commits (1) - [`75e4a5a`](https://github.com/netbox-community/netbox/commit/75e4a5ab69c8db75d7c050d00d8fb806f113f374) Create ScriptJobTable from JobTable and add it to ScriptSourceView ### 📊 Changes **2 files changed** (+22 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/tables/tables.py` (+20 -0) 📝 `netbox/extras/views.py` (+2 -3) </details> ### 📄 Description ### Closes: #18215 Add script results view to script job history - Created a `ScriptJobTable` from `JobTable` - Added that table in `ScriptJobsView` Observations: IMO that approach makes the behaivour more natural, and similar to the previous versions like in `3.6.x`, but it should be more intuitive if the tab name changes to `Results` or a new column with a button icon linking for the results. --- <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-30 00:23:02 +01:00
adam closed this issue 2025-12-30 00:23:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15620