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

オープン 初心者向け
#225 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
frontend

調査の方向性

まずプラグインのURLとナビゲーションの設定を読み、RevisionとScript Fileのルートを、issueで言及されているMigration Runのルートと比較します。リビジョン、そのActivateまたはDeactivateアクション、およびScript Fileページでのナビゲーション状態を再現します。各ページでProjectsがハイライトされたままになれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
9
フォーク
0
平均マージ
18時間 59分
マージ済み PR(30日)
93

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

netbox-community/netbox-scripts のほかの issue

netbox-community/netbox-scripts の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。