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

Đang mở Phù hợp với người mới
#225 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
frontend

Hướng nghiên cứu

Bắt đầu bằng cách đọc cấu hình URL và điều hướng của plugin, sau đó so sánh các route Revision và Script File với các route Migration Run được đề cập trong issue. Tái tạo trạng thái điều hướng trên một revision, hành động Activate hoặc Deactivate của revision đó và một trang Script File; hoàn tất khi Projects vẫn được tô sáng trên mỗi trang.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
9
Fork
0
Merge trung bình
18 giờ 59 phút
Pull request đã merge (30 ngày)
93

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của netbox-community/netbox-scripts

Tất cả issue của netbox-community/netbox-scripts

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.