[PR #14265] [MERGED] Closes #14173: Enable plugins to register columns on core tables #14353

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/14265
Author: @jeremystretch
Created: 11/14/2023
Status: Merged
Merged: 11/16/2023
Merged by: @jeremystretch

Base: featureHead: 14173-registered-table-columns


📝 Commits (3)

  • 02c2d9f Closes #14173: Enable plugins to register columns on core tables
  • ce6d642 Support translation for column name
  • a6920dc Document new registry store

📊 Changes

8 files changed (+81 additions, -1 deletions)

View changed files

📝 docs/development/application-registry.md (+4 -0)
📝 docs/plugins/development/tables.md (+25 -0)
📝 netbox/netbox/registry.py (+1 -0)
📝 netbox/netbox/tables/tables.py (+9 -1)
netbox/netbox/tests/dummy_plugin/tables.py (+11 -0)
📝 netbox/netbox/tests/dummy_plugin/views.py (+2 -0)
📝 netbox/netbox/tests/test_plugins.py (+10 -0)
📝 netbox/utilities/tables.py (+19 -0)

📄 Description

Fixes: #14173

  • Introduce register_table_column() utility function to register custom columns on existing tables
  • Establish new tables registry key
  • Add documentation & test

🔄 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/14265 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 11/14/2023 **Status:** ✅ Merged **Merged:** 11/16/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `14173-registered-table-columns` --- ### 📝 Commits (3) - [`02c2d9f`](https://github.com/netbox-community/netbox/commit/02c2d9f378f59f3d76b97e655a1cd2fd3804ae6a) Closes #14173: Enable plugins to register columns on core tables - [`ce6d642`](https://github.com/netbox-community/netbox/commit/ce6d642cb4395bc2167ab48db432e2ad2fb70ff3) Support translation for column name - [`a6920dc`](https://github.com/netbox-community/netbox/commit/a6920dcb2440f12d81bbc748690dc1a233899bf0) Document new registry store ### 📊 Changes **8 files changed** (+81 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/development/application-registry.md` (+4 -0) 📝 `docs/plugins/development/tables.md` (+25 -0) 📝 `netbox/netbox/registry.py` (+1 -0) 📝 `netbox/netbox/tables/tables.py` (+9 -1) ➕ `netbox/netbox/tests/dummy_plugin/tables.py` (+11 -0) 📝 `netbox/netbox/tests/dummy_plugin/views.py` (+2 -0) 📝 `netbox/netbox/tests/test_plugins.py` (+10 -0) 📝 `netbox/utilities/tables.py` (+19 -0) </details> ### 📄 Description ### Fixes: #14173 - Introduce `register_table_column()` utility function to register custom columns on existing tables - Establish new `tables` registry key - Add documentation & test --- <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:00 +01:00
adam closed this issue 2025-12-29 23:24:00 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14353