Skip to content

Allow plugins to inject top-level navigation menu items #9071

Closed
@jeremystretch

Description

@jeremystretch

NetBox version

v3.2.0

Feature type

Change to existing functionality

Proposed functionality

Currently, plugins can define menu items only under the "Plugins" header within the navigation menu. Several plugin authors have proposed the ability for a plugin to "register" its own top-level section in the menu.

IMO the simplest approach would be to allow a plugin to define a menu heading with a title and icon. If defined, its menu items will appear there; if not, they will appear under the general "Plugins" heading.

We'd also want to give some thought to influencing the ordering of top-level menu items; assigning a "weight" to each item might suffice.

Use case

Greater visibility for plugin functions; control over order of placement (potentially?)

Database changes

No response

External dependencies

No response

Metadata

Metadata

Labels

status: acceptedThis issue has been accepted for implementationtopic: pluginsRelates to the plugins frameworktype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions