Enable plugins to inject content within the top navigation bar #16359
Labels
complexity: low
Requires minimal effort to implement
status: accepted
This issue has been accepted for implementation
type: feature
Introduction of new functionality to the application
Milestone
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
The text was updated successfully, but these errors were encountered: