Import cables with color name instead of hex code #10911

Closed
opened 2025-12-29 21:37:36 +01:00 by adam · 5 comments
Owner

Originally created by @1024834 on GitHub (Mar 18, 2025).

Originally assigned to: @Jathn on GitHub.

NetBox version

v.4.2.5

Feature type

Change to existing functionality

Proposed functionality

Make it possible to import cables with the color name instead of the hex code.

Currently, color names get rejected and a hex code is demanded.

Image

Use case

Would allow our Data Center Staff to enter more human-friendly color names instead of having to deal with hex codes.

Database changes

Possibly, yes - from what I can see of the API data, only the hex code is stored, not the color name

External dependencies

None

Originally created by @1024834 on GitHub (Mar 18, 2025). Originally assigned to: @Jathn on GitHub. ### NetBox version v.4.2.5 ### Feature type Change to existing functionality ### Proposed functionality Make it possible to import cables with the color name instead of the hex code. Currently, color names get rejected and a hex code is demanded. ![Image](https://github.com/user-attachments/assets/3c5645d7-d037-47b0-ad36-4e9e4969ad93) ### Use case Would allow our Data Center Staff to enter more human-friendly color names instead of having to deal with hex codes. ### Database changes Possibly, yes - from what I can see of the API data, only the hex code is stored, not the color name ### External dependencies None
adam added the status: acceptedtype: featurecomplexity: medium labels 2025-12-29 21:37:36 +01:00
adam closed this issue 2025-12-29 21:37:36 +01:00
Author
Owner

@dfex commented on GitHub (Mar 18, 2025):

I'll take a run at this one as well alongside #18843

@dfex commented on GitHub (Mar 18, 2025): I'll take a run at this one as well alongside #18843
Author
Owner

@jeremystretch commented on GitHub (Apr 9, 2025):

Hi @dfex, are you still working on this?

@jeremystretch commented on GitHub (Apr 9, 2025): Hi @dfex, are you still working on this?
Author
Owner

@dfex commented on GitHub (Apr 10, 2025):

Yes - I hope to have some more time in the next couple of weeks to take a
look at it

On Thu, Apr 10, 2025 at 5:59 AM Jeremy Stretch @.***>
wrote:

Hi @dfex https://github.com/dfex, are you still working on this?


Reply to this email directly, view it on GitHub
https://github.com/netbox-community/netbox/issues/18936#issuecomment-2790854698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQTZDWTIUYIKVD5EAJS4UT2YV3Z5AVCNFSM6AAAAABZHPUSN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJQHA2TINRZHA
.
You are receiving this because you were mentioned.Message ID:
@.***>
jeremystretch left a comment (netbox-community/netbox#18936)
https://github.com/netbox-community/netbox/issues/18936#issuecomment-2790854698

Hi @dfex https://github.com/dfex, are you still working on this?


Reply to this email directly, view it on GitHub
https://github.com/netbox-community/netbox/issues/18936#issuecomment-2790854698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQTZDWTIUYIKVD5EAJS4UT2YV3Z5AVCNFSM6AAAAABZHPUSN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJQHA2TINRZHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@dfex commented on GitHub (Apr 10, 2025): Yes - I hope to have some more time in the next couple of weeks to take a look at it On Thu, Apr 10, 2025 at 5:59 AM Jeremy Stretch ***@***.***> wrote: > Hi @dfex <https://github.com/dfex>, are you still working on this? > > — > Reply to this email directly, view it on GitHub > <https://github.com/netbox-community/netbox/issues/18936#issuecomment-2790854698>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAQTZDWTIUYIKVD5EAJS4UT2YV3Z5AVCNFSM6AAAAABZHPUSN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJQHA2TINRZHA> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> > *jeremystretch* left a comment (netbox-community/netbox#18936) > <https://github.com/netbox-community/netbox/issues/18936#issuecomment-2790854698> > > Hi @dfex <https://github.com/dfex>, are you still working on this? > > — > Reply to this email directly, view it on GitHub > <https://github.com/netbox-community/netbox/issues/18936#issuecomment-2790854698>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAQTZDWTIUYIKVD5EAJS4UT2YV3Z5AVCNFSM6AAAAABZHPUSN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJQHA2TINRZHA> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@Jathn commented on GitHub (Jul 15, 2025):

Hello, it seems this issue hasn't received any updates for a while.
I would be able to work on this if it needs a new owner.

@Jathn commented on GitHub (Jul 15, 2025): Hello, it seems this issue hasn't received any updates for a while. I would be able to work on this if it needs a new owner.
Author
Owner

@jeremystretch commented on GitHub (Jul 16, 2025):

@Jathn assigned to you, thanks!

@jeremystretch commented on GitHub (Jul 16, 2025): @Jathn assigned to you, thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10911