[PR #7767] [MERGED] Fixes: #6925 Interfaces Table - bring back the visual aids from v2.9 #13278

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/7767
Author: @teixemf
Created: 11/6/2021
Status: Merged
Merged: 11/11/2021
Merged by: @jeremystretch

Base: developHead: FR6925


📝 Commits (3)

  • 94bd27b Fix interface icons on the device interfaces table
  • b07e888 Fix interfaces row colors on device interfaces table
  • 251abdb Apply suggestions from code review

📊 Changes

1 file changed (+11 additions, -3 deletions)

View changed files

📝 netbox/dcim/tables/devices.py (+11 -3)

📄 Description

Fixes: #6925 Interfaces Table - bring back the visual aids from v2.9

Reduce the need of the columns "Management Only", "Enabled" and "Type" on the Interfaces table by adding some visual aids that were used on past versions (v2.9).

  1. Virtual Interfaces are distinguished by row color "primary ".
  2. Disabled Interfaces are distinguished by row color "danger".
  3. Keep Connected Interfaces distinguished by row color "success".
  4. Interface type distinguished by different icons before the interface name:
    • Management Only: wrench
    • LAG: reorder-horizontal
    • Virtual: circle
    • Wireless: wifi
    • Others: ethernet

🔄 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/7767 **Author:** [@teixemf](https://github.com/teixemf) **Created:** 11/6/2021 **Status:** ✅ Merged **Merged:** 11/11/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `FR6925` --- ### 📝 Commits (3) - [`94bd27b`](https://github.com/netbox-community/netbox/commit/94bd27bcf5e63283164e55b9c1a330a88ed667ed) Fix interface icons on the device interfaces table - [`b07e888`](https://github.com/netbox-community/netbox/commit/b07e88869aa382fa45643470f05bd6f7abbb1780) Fix interfaces row colors on device interfaces table - [`251abdb`](https://github.com/netbox-community/netbox/commit/251abdb4ddc6224e9c41dfe493614767985ee889) Apply suggestions from code review ### 📊 Changes **1 file changed** (+11 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/tables/devices.py` (+11 -3) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #6925 Interfaces Table - bring back the visual aids from v2.9 <!-- Please include a summary of the proposed changes below. --> Reduce the need of the columns "Management Only", "Enabled" and "Type" on the Interfaces table by adding some visual aids that were used on past versions (v2.9). 1. Virtual Interfaces are distinguished by row color "primary ". 2. Disabled Interfaces are distinguished by row color "danger". 3. Keep Connected Interfaces distinguished by row color "success". 4. Interface type distinguished by different icons before the interface name: - Management Only: wrench - LAG: reorder-horizontal - Virtual: circle - Wireless: wifi - Others: ethernet --- <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:29 +01:00
adam closed this issue 2025-12-29 22:26:30 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13278