Skip to content

Conversation

pheus
Copy link
Contributor

@pheus pheus commented Sep 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.

@jeremystretch jeremystretch requested review from a team and jeremystretch and removed request for a team September 15, 2025 12:36
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pheus! I just have a couple editorial tweaks.

@pheus pheus force-pushed the 19865-tweak-cable-type-groupings branch 2 times, most recently from d105d11 to 53fbdc0 Compare September 15, 2025 14:26
Refactors `CableTypeChoices` by reorganizing cable types into more
specific subcategories. Enhances clarity with distinct groups such as
Copper (Twisted Pair, Twinax, Coaxial) and Fiber (Multi Mode, Single
Mode, Other).

Closes netbox-community#19865
@pheus pheus force-pushed the 19865-tweak-cable-type-groupings branch from 53fbdc0 to 755825d Compare September 15, 2025 14:27
@pheus pheus requested a review from jeremystretch September 15, 2025 14:43
@pheus
Copy link
Contributor Author

pheus commented Sep 15, 2025

Thanks for the review and the great suggestions!

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pheus!

@jeremystretch jeremystretch merged commit 6841060 into netbox-community:main Sep 15, 2025
7 checks passed
@pheus pheus deleted the 19865-tweak-cable-type-groupings branch September 15, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revise drop down groupings for cable types
2 participants