Skip to content

Enable plugins to inject content within the top navigation bar #16359

@jeremystretch

Description

@jeremystretch

NetBox version

v4.0.3

Feature type

New functionality

Proposed functionality

It is currently possible for a plugin to embed custom content in NetBox core views by employing one or more of the available extension methods of the PluginTemplateExtension class. This proposal would add a new method, navbar(), to enable a plugin to inject custom content within the top navigation bar, to the left of the user menu (opposite the global search bar).

This will also require slight modification to the logic for registering template extensions, which currently requires the association of an extension with a particular NetBox model.

Use case

It may be desirable for a plugin to embed a notification or control widget of some kind which persists across multiple views.

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

Labels

complexity: lowRequires minimal effort to implementstatus: acceptedThis issue has been accepted for implementationtype: 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