Revision and Script File pages do not highlight Projects in the navigation menu

Open Beginner friendly
#225 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
frontend

Research direction

Start by reading the plugin's URL and navigation configuration, then compare the Revision and Script File routes with the Migration Run routes mentioned in the issue. Reproduce the navigation state on a revision, its Activate or Deactivate action, and a Script File page; done when Projects stays highlighted on each page.

Written by the indexing model from the issue text.

Description

app: scripts severity: low status: backlog type: bug
Plugin Version

v0.1.0

NetBox Version

v4.7.6

Python Version

3.12

Steps to Reproduce
  1. Open Projects in the navigation menu and select a Project with existing revisions and Script Files.
  2. Open its Revisions tab and select a revision.
  3. Open an available Activate or Deactivate confirmation from the Revisions tab.
  4. Return to the Project and select a Script File from its Script Files panel.
Expected Behavior

Projects remains highlighted in the navigation menu when viewing revisions, Script Files, and their related actions.

Observed Behavior

The navigation menu does not highlight Projects on these pages, making it less clear which section of the plugin the user is in.

Additional Context

NetBox determines the active navigation item based on the current URL. Revision and Script File routes are currently mounted outside projects/, although both belong to a Project.

Moving these routes under projects/ would align them with the navigation structure and the existing Migration Run routes.

Dominant language
Python
Stars
9
Forks
0
Avg merge
18h 59m
Merged PRs (30d)
93

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.