Closes #19865: Improve CableTypeChoices structure and grouping #1256

Closed
opened 2026-04-05 22:38:19 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pheus on 9/12/2025

Fixes: #19865

Summary

Regroups CableTypeChoices into clearer headings to improve scanability of the cable type dropdown. This is a UI‑only change; no slugs or stored values are modified.

Proposed UI grouping

  • Copper — Ethernet (Twisted Pair)
    • CAT3, CAT5, CAT5e, CAT6, CAT6a, CAT7, CAT7a, CAT8, MRJ21 Trunk
  • Copper — Twinax (DAC)
    • Direct Attach Copper (Active), Direct Attach Copper (Passive)
  • Copper — Coaxial
    • Coaxial
  • Fiber — Multimode
    • Multimode Fiber (OM1/OM2/OM3/OM4/OM5)
  • Fiber — Singlemode
    • Singlemode Fiber (OS1/OS2)
  • Fiber — Other / Active
    • Active Optical Cabling (AOC)
  • Other
    • USB, Power

Rationale

Makes the dropdown easier to read by grouping related families; keeps coax generic for now.

Backward compatibility

No breaking changes. Existing API slugs and database values remain unchanged.

*Originally created by @pheus on 9/12/2025* <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid wasted time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #19865 ### Summary Regroups `CableTypeChoices` into clearer headings to improve scanability of the cable type dropdown. This is a UI‑only change; no slugs or stored values are modified. ### Proposed UI grouping - **Copper — Ethernet (Twisted Pair)** - CAT3, CAT5, CAT5e, CAT6, CAT6a, CAT7, CAT7a, CAT8, MRJ21 Trunk - **Copper — Twinax (DAC)** - Direct Attach Copper (Active), Direct Attach Copper (Passive) - **Copper — Coaxial** - Coaxial - **Fiber — Multimode** - Multimode Fiber (OM1/OM2/OM3/OM4/OM5) - **Fiber — Singlemode** - Singlemode Fiber (OS1/OS2) - **Fiber — Other / Active** - Active Optical Cabling (AOC) - **Other** - USB, Power ### Rationale Makes the dropdown easier to read by grouping related families; keeps coax generic for now. ### Backward compatibility No breaking changes. Existing API slugs and database values remain unchanged.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#1256