netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
16.14k stars 2.58k forks source link

Option not to display Asset Tag value appended to Device Name #17425

Open MattDRogers opened 1 month ago

MattDRogers commented 1 month ago

NetBox version

v4.1.0

Feature type

Change to existing functionality

Proposed functionality

Either do not append the Asset Tag to the Device Name, or make it an option.

What it looks like now: Screenshot 2024-09-09 092416 Screenshot 2024-09-09 092549 Screenshot 2024-09-09 092744

What I'd like the option to do: Screenshot 2024-09-09 092416a Screenshot 2024-09-09 092549a Screenshot 2024-09-09 092744a

Use case

For display purposes, appending the Asset Tag to the Device Name uses up a lot of space--especially when one is looking at a list of cable connections. It makes for a more cluttered view (though I suppose this is subjective). Having the option to disable the parenthetical Asset Tag appearing next to the Device Name would streamline things visually, make tables display in a more easy-to-read fashion, and eliminate needless redundancy of information.

Database changes

I don't believe any database changes should be necessary, as these are two separately defined fields being displayed a certain way in the Web UI.

External dependencies

No external dependencies.

goteamkor commented 1 month ago

I agree. Asset tag seems to be the only other field that gets added to a name if you have it filled in. It was so cumbersome for our users we don't use the built-in asset tag field, instead opting to create a custom field for asset tag just so it won't get appended to the name.

ITJamie commented 1 month ago

I like having it in selector fields but i dislike having it in most other places.