netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Toggle the display of consumed rack units when creating a device

Open jbro209070 opened this issue 10 years ago • 7 comments

Is there anyway to only show the available positions in the rack position drop down list instead of showing the full list whether it is occupied or not? I think that would be really useful.

jbro209070 avatar Jul 20 '16 00:07 jbro209070

Personally, I like having the occupied units included in the list, as it provides something of a sanity check. But we'll see what others say. (Let's try using the +1 and -1 reactions to vote.)

jeremystretch avatar Jul 20 '16 16:07 jeremystretch

I think this would probably be best addressed with a user definable configuration.

I'm going to presume we'll have many things that work for some and not for others and if they are somewhat trivial to implement (see #285) and don't creep the scope badly it would be beneficial for the user base to have them.

bellwood avatar Jul 20 '16 21:07 bellwood

Having mentioned this on IRC I understand the reasoning of the way it is but at the same time would like to have the option.

Gelob avatar Jul 22 '16 03:07 Gelob

Maybe just a format change (e.g. bold) on currently occupied RUs? Or some sort of flag character or icon?

mjclancyau avatar Jul 26 '16 02:07 mjclancyau

@mjclancy83 Unfortunately, there's not much we can do as far as styling the stock pull-down widget. We'd have to replace it with a custom widget, which probably isn't worth the effort.

jeremystretch avatar Jul 26 '16 13:07 jeremystretch

I will note on Mac's dropdown styles (background colors) are not visible so text styling is really the only option if we're to change the look.

I would honestly make a setting to hide consumed U's when adding a device to a rack and let the administrator decide but ultimately it may need to be a user level setting (what works for the admin doesn't always work for the end-user)

bellwood avatar Jul 26 '16 13:07 bellwood

Closing this out as I don't see any progress being made on it. However, we're sure to implement something along this vein in a (distant) future release once the web UI becomes API-driven.

jeremystretch avatar Feb 01 '17 17:02 jeremystretch