[PR #19914] [MERGED] Closes #18204: Miscellaneous improvements to the display of image attachments #15757

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19914
Author: @jeremystretch
Created: 7/18/2025
Status: Merged
Merged: 7/22/2025
Merged by: @jeremystretch

Base: featureHead: 18204-imageattachment-cleanup


📝 Commits (8)

  • 70f746f Show human-friendly values for file size
  • 56557b6 Introduce optional dedicated columns for name & filename
  • d7b5fed Add combined dimensions column
  • 90835db Restore image preview on hover
  • 1ac4515 Remove object_type from default columns list
  • 84c36a1 Parent column is not orderable
  • adb8e53 Filter/search image attachments by filename
  • 18718fd Correct table column name

📊 Changes

3 files changed (+37 additions, -12 deletions)

View changed files

📝 netbox/extras/filtersets.py (+1 -0)
📝 netbox/extras/search.py (+1 -0)
📝 netbox/extras/tables/tables.py (+35 -12)

📄 Description

Closes: #18204

  • Enable filtering & global search by image attachment filename
  • Simplify default table configuration for image attachment list
  • Primary link now goes to the detail view for individual image attachments
  • Introduce optional columns to include additional data

🔄 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/19914 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/18/2025 **Status:** ✅ Merged **Merged:** 7/22/2025 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `18204-imageattachment-cleanup` --- ### 📝 Commits (8) - [`70f746f`](https://github.com/netbox-community/netbox/commit/70f746fe4f4cf8865f6a9493d4c6a1731aa66905) Show human-friendly values for file size - [`56557b6`](https://github.com/netbox-community/netbox/commit/56557b629ffa575e17738f1ac273fbb4a5be69ab) Introduce optional dedicated columns for name & filename - [`d7b5fed`](https://github.com/netbox-community/netbox/commit/d7b5fed152e36411ad88a368c325b713841cc78a) Add combined dimensions column - [`90835db`](https://github.com/netbox-community/netbox/commit/90835dbac2d66fc006d7a6a69e7b8cda50f3db96) Restore image preview on hover - [`1ac4515`](https://github.com/netbox-community/netbox/commit/1ac4515873afbf30d9bb85d0309a2b8f0cea800d) Remove object_type from default columns list - [`84c36a1`](https://github.com/netbox-community/netbox/commit/84c36a11b4be3cdaf2ae6e88a9401d0856b0d4bf) Parent column is not orderable - [`adb8e53`](https://github.com/netbox-community/netbox/commit/adb8e53823ed4fef408deec0e3c1e70f95432d3f) Filter/search image attachments by filename - [`18718fd`](https://github.com/netbox-community/netbox/commit/18718fda3a5589ada1c56732575437ade6418682) Correct table column name ### 📊 Changes **3 files changed** (+37 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/filtersets.py` (+1 -0) 📝 `netbox/extras/search.py` (+1 -0) 📝 `netbox/extras/tables/tables.py` (+35 -12) </details> ### 📄 Description ### Closes: #18204 - Enable filtering & global search by image attachment filename - Simplify default table configuration for image attachment list - Primary link now goes to the detail view for individual image attachments - Introduce optional columns to include additional data --- <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:52 +01:00
adam closed this issue 2025-12-30 00:23:53 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15757