netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.69k stars 2.53k forks source link

Add extra UI element to non-community instances #16928

Closed jeffgdotorg closed 1 month ago

jeffgdotorg commented 1 month ago

NetBox version

v4.0.7

Feature type

Change to existing functionality

Proposed functionality

On instances where settings.RELEASE.edition != 'community', add a question-answer icon element In the scroll-sticky portion of the base template. Ideal placement is to the left of the light mode / dark mode toggle element. The element's id attribute should be stable, and similar to launch-help-center.

Use case

In some NetBox product editions, this element will serve as a trigger to launch an interactive help center.

Database changes

None

External dependencies

None

jeremystretch commented 1 month ago

We can add a button for this to the top navigation bar, but it should be hidden (i.e. display: hidden) by default to ensure that it's only visible if the associated tooling has been successfully initialized.