-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device-Type 'slug' not visible in main view #2560
Comments
This is the case with all objects which have a slug. The slug's only purpose is to help form a "clean" but human-friendly URL (e.g. |
Yes, I know what As an explanation for this bug or FR, I tend to change the default auto-generated slug. In short, in my opinion, having all of the properties visible when viewing an individual primary object would be beneficial and don't see any negative aspects about it. I'll leave it up to you to decide, but those are just my thoughts. |
Given that other object types will display the slug either in the table view (such as DeviceRole, Platform, and Manufacturer) or in the URL (sites/tenants), I don't think it would be unreasonable to put the slug on the Device Type page. A quick glace through the DCIM features, DeviceType seems to be the only one without easy access to view slugs. We are using customized DeviceRole slugs to match category names in our monitoring system while keeping the display name in Netbox "pretty". |
This raises the question: Should DeviceType even have a slug? I'm not sure we actually use it for anything in the UI, but it's very possible I'm overlooking something. |
Good point. Though taking it away may cause problems for users that may be integrating it with other systems. |
Taking away the However, removing the |
We use the slug usually via the API, as it's neater to refer to than the full names. (And id's are not verbose enough.) |
Environment
Steps to Reproduce
When viewing an individual
device-type
at http://netbox.local/dcim/device-types/PK/`, theslug
property is not visible:Similarily, I know the list of
device-types
is full of other properties that are more important to see thanslug
:The only place you can see what the
slug
is set to is by editing the object:Expected Behavior
I'm not sure if this was ever visible before, but I think when viewing a single object, all of the properties tied to it should be seen.
Observed Behavior
The
device-type
property is only visible when editing an objectThe text was updated successfully, but these errors were encountered: