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.21k stars 2.59k forks source link

Location of the rack in the device menu #8424

Closed KosenkoIvan closed 2 years ago

KosenkoIvan commented 2 years ago

NetBox version

nexbox (v3.1.5)

Feature type

Change to existing functionality

Proposed functionality

It would be convenient if the racks were displayed not only in the racks menu but also in the devices menu. This would simplify switching between devices. That is, we will not need to go to the racks menu and select the object we need again, but instantly select the desired device. Screenshot_4 Screenshot_3

Use case

This would simplify switching between devices. That is, we will not need to go to the racks menu and select the object we need again, but instantly select the desired device.

Database changes

No response

External dependencies

No response

jeremystretch commented 2 years ago

Probably related to #4434

DanSheps commented 2 years ago

I don't think devices should be showing the rack they are in, at least in my opinion. Conflating two different views, is something I think we should avoid, as it will add to the maintenance burden.

KosenkoIvan commented 2 years ago

Before NetBox, we used RackTables and racks were shown there. From my own experience I can say about the convenience.

cpmills1975 commented 2 years ago

How about adding the elevations button to the "Rack" row on the left hand "Device" pane which redirects to the elevations view pre-filtered to just one rack?

KosenkoIvan commented 2 years ago

I do not think that such an implementation will be correct, because the advantage of a solid display of the rack is that it would be possible not only to view the appearance of the rack, but also to switch the next device in 1 click.

jeremystretch commented 2 years ago

I think it makes sense to embed the rack elevation, however in doing so we'd certainly want to highlight the device itself within the SVG drawing. I'm going to mark this as blocked by #4434, which seeks to do just that.

jeremystretch commented 2 years ago

If pursued, this work needs to be done on a v3.3 or later release (to enable device highlighting).

SimonSchmitz commented 2 years ago

Is there a way to display the racks on the left? Because now all plug-in extensions are displayed under the rack.

Bildschirmfoto 2022-10-13 um 18 36 30