Add a Scripts view grouped by Project and module

Open
#81 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Start at the Scripts page implementation and trace how it loads scripts, applies search and filters, checks object permissions, and exposes detail and Run links. Then identify the templates and tests for that page. Done means an optional view groups scripts by Project and module path, preserves active filters when switching views, and keeps links and Run controls consistent with permissions and execution availability.

Written by the indexing model from the issue text.

Description

app: scripts complexity: medium status: backlog type: feature
Plugin Version

v0.0.1

Proposed functionality

Add an optional grouped view to the Scripts page, with Project headings and subgroups for each module path. Keep the current table view available.

Reuse the existing search, filters and object permissions, and retain active filters when switching views. Include links to each Script's details and Run page, with Run controls respecting permissions and execution availability.

Use case

NetBox's built-in Scripts page groups Scripts by module. After migration, a Project can contain several modules, while the plugin presents their Scripts in a flat table.

Community testing included one Project with 21 Scripts across several modules. Filtering by Project or module path helps narrow the list, but grouping would make related Scripts easier to browse together without repeatedly changing filters.

External dependencies

None.

Dominant language
Python
Stars
8
Forks
0
Avg merge
11h 23m
Merged PRs (30d)
24

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from netbox-community/netbox-scripts

All issues in netbox-community/netbox-scripts

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.