netbox-reorder-rack icon indicating copy to clipboard operation
netbox-reorder-rack copied to clipboard

0U child devices appear as 0.5U

Open llamafilm opened this issue 8 months ago • 3 comments

netbox-reorder-rack version

v1.1.1

Python version

3.12

Steps to Reproduce

  1. Create a new rack
  2. Add a 1U device
  3. Add a 0U child device with no position
  4. Click reorder rack

Expected Behavior

Correct behavior is undefined, but it should not be possible to add a child device to the rack.

My preference: Display child devices in a separate box, and allow dragging them into a parent device. There would need to be some kind of UI indicator of parent status.

Observed Behavior

The child device is shown in the right-hand list of un-racked devices with 0.5U height. It lets me drag it into the rack. If I try to do that and save changes, it logs Internal Server Error: /api/plugins/reorder/save/176/.

Also — the unracked devices graphic is weirdly offset to the right of the page, past the extent of the top bar.

Screenshot 2024-06-25 at 4 22 31 PM

llamafilm avatar Jun 25 '24 23:06 llamafilm