[PR #8130] [MERGED] Closes #8114: Use HTMX to update report/script results #13324

Closed
opened 2025-12-29 22:26:46 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/8130
Author: @jeremystretch
Created: 12/21/2021
Status: Merged
Merged: 12/21/2021
Merged by: @jeremystretch

Base: developHead: 8114-htmx-jobs


📝 Commits (4)

  • 872691a Convert scripts to use HTMX
  • 4ae2b4e Convert reports to use HTMX
  • 17ba0a9 Remove jobs Javascript
  • 8af12b2 Clean up report & script templates

📊 Changes

11 files changed (+184 additions, -366 deletions)

View changed files

📝 netbox/extras/views.py (+25 -4)
📝 netbox/project-static/bundle.js (+0 -1)
netbox/project-static/dist/jobs.js (+0 -30)
netbox/project-static/dist/jobs.js.map (+0 -6)
📝 netbox/project-static/src/global.d.ts (+0 -32)
netbox/project-static/src/jobs.ts (+0 -104)
netbox/templates/extras/htmx/report_result.html (+73 -0)
netbox/templates/extras/htmx/script_result.html (+50 -0)
netbox/templates/extras/inc/result_pending.html (+6 -0)
📝 netbox/templates/extras/report_result.html (+4 -94)
📝 netbox/templates/extras/script_result.html (+26 -95)

📄 Description

Closes: #8114

  • Update the script & report result views to serve HTMX requests
  • Refactor the templates
  • Remove the jobs Typescript

🔄 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/8130 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 12/21/2021 **Status:** ✅ Merged **Merged:** 12/21/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `8114-htmx-jobs` --- ### 📝 Commits (4) - [`872691a`](https://github.com/netbox-community/netbox/commit/872691a138486c80fe5589c68314dacc4ec46c25) Convert scripts to use HTMX - [`4ae2b4e`](https://github.com/netbox-community/netbox/commit/4ae2b4e0b90446857b8d2c13cfa6eeed8e175a24) Convert reports to use HTMX - [`17ba0a9`](https://github.com/netbox-community/netbox/commit/17ba0a97d5a898b409968f66e20bc62b318c42ff) Remove jobs Javascript - [`8af12b2`](https://github.com/netbox-community/netbox/commit/8af12b22bb29c217071900e19866d85114e89b0e) Clean up report & script templates ### 📊 Changes **11 files changed** (+184 additions, -366 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/views.py` (+25 -4) 📝 `netbox/project-static/bundle.js` (+0 -1) ➖ `netbox/project-static/dist/jobs.js` (+0 -30) ➖ `netbox/project-static/dist/jobs.js.map` (+0 -6) 📝 `netbox/project-static/src/global.d.ts` (+0 -32) ➖ `netbox/project-static/src/jobs.ts` (+0 -104) ➕ `netbox/templates/extras/htmx/report_result.html` (+73 -0) ➕ `netbox/templates/extras/htmx/script_result.html` (+50 -0) ➕ `netbox/templates/extras/inc/result_pending.html` (+6 -0) 📝 `netbox/templates/extras/report_result.html` (+4 -94) 📝 `netbox/templates/extras/script_result.html` (+26 -95) </details> ### 📄 Description ### Closes: #8114 - Update the script & report result views to serve HTMX requests - Refactor the templates - Remove the jobs Typescript --- <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 22:26:46 +01:00
adam closed this issue 2025-12-29 22:26:46 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13324