-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
NetBox version
v2.11.12
Feature type
Change to existing functionality
Proposed functionality
As of Netbox 2.11.x, scripts are automatically discovered and rendered in the UI (extras/scripts/). The order of the scripts is based on alphabetical order.
We propose the possibility for the developer to order the scripts listing inside a python module. We'd like to propose the same implementation as was done for reports in PR #7369.
MySuperScript(Script)
pass
MySecondSuperScript(Script)
pass
script_order = (MySuperScript, MySecondSuperScript)Use case
Adding the possibility to order scripts would allow to present some kind of script's workflow within a specific module easily.
Database changes
No response
External dependencies
No response
jeremystretch and jpobeda
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application