Content type column should display model name only, omitting app name #7131

Closed
opened 2025-12-29 20:19:32 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Oct 19, 2022).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.3.5

Feature type

Change to existing functionality

Proposed functionality

Table columns which indicate an object/content type should display only the model name, without its parent app. For example, when viewing a list of custom fields assigned to the site model, the "content types" column should display "Site" rather than "DCIM > site".

Use case

Omitting the app name for each type provides a cleaner view. While it's possible that plugins may introduce identical model names, this is unlikely to be problematic in practice, and viewing and this change is limited to lists of multiple objects. Viewing a single object would still display the associated app in additional to the model.

Database changes

No response

External dependencies

No response

Originally created by @jeremystretch on GitHub (Oct 19, 2022). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.3.5 ### Feature type Change to existing functionality ### Proposed functionality Table columns which indicate an object/content type should display only the model name, without its parent app. For example, when viewing a list of custom fields assigned to the site model, the "content types" column should display "Site" rather than "DCIM > site". ### Use case Omitting the app name for each type provides a cleaner view. While it's possible that plugins may introduce identical model names, this is unlikely to be problematic in practice, and viewing and this change is limited to lists of multiple objects. Viewing a single object would still display the associated app in additional to the model. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: feature labels 2025-12-29 20:19:32 +01:00
adam closed this issue 2025-12-29 20:19:32 +01:00
Author
Owner

@jcralbino commented on GitHub (Oct 19, 2022):

I think the users creating customs fields should be already aware of the model structure of netbox.

As a user I have accustomed to its view.

As a newbie developer i believe there is a strong possibility of collisions for the plug-in owner to create similar names to others already existing in netbox.
Can you force plug-in datamodel to appear with their "Pluginname > object ", while removing the primary only for netbox core models

@jcralbino commented on GitHub (Oct 19, 2022): I think the users creating customs fields should be already aware of the model structure of netbox. As a user I have accustomed to its view. As a newbie developer i believe there is a strong possibility of collisions for the plug-in owner to create similar names to others already existing in netbox. Can you force plug-in datamodel to appear with their "Pluginname > object ", while removing the primary only for netbox core models
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7131