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
15.81k stars 2.54k forks source link

Collapse side navigation #16392

Open andrewgormley opened 3 months ago

andrewgormley commented 3 months ago

NetBox version

v4.0.3

Feature type

New functionality

Proposed functionality

Add the ability to collapse the the side navigation, this will occur when a user clicks on a 'menu' icon, clicking the same icon will also expand the menu to it's default state. In the collapsed state the text will be hidden, showing the icon only. On hover the menu will be temporarily expand, when the user's cursor moves away from the menu it will return to it's collapsed state. The collapsed menu's sub-items should still be accessible via tabbing. The user's chosen state for the menu should be saved for future sessions.

Sub tasks

Use case

Enabling users the ability to collapse the side menu will create more space to view content such as large tables with more ease.

Database changes

No response

External dependencies

No response

jeremystretch commented 1 month ago

We've had to bump this from v4.1 due to technical challenges. I'll leave this open for anyone else who would like to make an attempt.

mugglettuk commented 1 week ago

It might also be a good idea to be able to just re-size the windows on the fly. There's so much white space in the left hand window that is not needed most of the time. It would then allow more columns to be added to the hand pane that contain more information that other users may need to display instead of going in to the device to get the info. Small screens need the ability to be able to re-size.