Skip to content
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

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

Closed
jeremystretch opened this issue Oct 19, 2022 · 1 comment
Closed
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

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

@jeremystretch jeremystretch added type: feature Introduction of new functionality to the application status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Oct 19, 2022
@jcralbino
Copy link

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

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: under review Further discussion is needed to determine this issue's scope and/or implementation labels Nov 2, 2022
@jeremystretch jeremystretch self-assigned this Nov 2, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants