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.97k stars 2.56k forks source link

Improve sidebar UX #17675

Open patrickfnielsen opened 1 week ago

patrickfnielsen commented 1 week ago

NetBox version

v4.1.3

Feature type

Change to existing functionality

Proposed functionality

I propose the following changes to the sidebar:

A mockup of indentation could look like this: image

Using the following css:

.navbar-vertical.navbar-expand-lg .navbar-collapse .text-secondary {
  padding-left: 2.8rem;
}

.dropdown-item a.d-inline-flex.flex-fill.py-1  {
  padding-left: 2.6rem;
}

Use case

Database changes

None

External dependencies

None

sleepinggenius2 commented 1 week ago

Open issue for collapsible sidebar is #16392

jeremystretch commented 4 days ago

Indentation of sub menu items

Please elaborate on your proposal. A mock-up graphic would help.

patrickfnielsen commented 3 days ago

I have added a mockup to the issue that can be used as reference, including the css I used. I'll be happy to create a PR if this is something you want to accept.