Script result page lacks pagination controls for long logs
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the script result view, where the log table is configured for pagination but rendered without a paginator, and with the automatic refresh logic that drops the page and page size parameters. Reproduce with a script that logs 60 lines and confirm the log stops at 50 with no controls. Done when the paginator appears, ?page=2 shows the remaining entries, and the selected page and page size survive an automatic refresh.
索引モデルが issue の本文から書いたものです。
説明
Plugin Version
v0.2.0
NetBox Version
v4.7.6
Python Version
3.12
Steps to Reproduce
- Upload and activate a Project containing a Script File, for example
deploy.py:from netbox_scripts import Script class Chatty(Script): def run(self, data, commit): for number in range(1, 61): self.log_info(f'Line {number}') - Run the Script from its Run tab with the default page size of 50.
- Inspect the log on the result page after the run completes.
Expected Behavior
All log entries are accessible through pagination controls, consistent with NetBox's built-in Script result page.
The selected page and page size are preserved during automatic refreshes.
Observed Behavior
The log stops after Line 50 without displaying pagination controls or indicating that additional entries exist.
Manually appending ?page=2 to the URL displays the remaining ten entries.
This can hide important messages at the end of longer runs, including failure reasons and database rollback messages.
The result view configures a paginated table but renders it without a paginator. Automatic refreshes also discard pagination parameters.
Related to #153, but independent of the Job-level log messages addressed there.
- 主要言語
- Python
- スター
- 9
- フォーク
- 0
- 平均マージ
- 18時間 59分
- マージ済み PR(30日)
- 93
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
netbox-community/netbox-scripts のほかの issue
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
netbox-community/netbox-scripts#281 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts Bucket: Improve complexity: low status: backlog type: feature
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
netbox-community/netbox-scripts#244 ·
メンテナーはふだん 1 日以内に返信
-
Correct the documentation of a Project's current revision対応中かも @pheus が今日担当しました。 オープンapp: scripts Bucket: KTLO status: accepted type: documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
netbox-community/netbox-scripts#233 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts complexity: medium status: backlog type: feature
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
netbox-community/netbox-scripts#229 ·
メンテナーはふだん 1 日以内に返信
-
app: scripts status: backlog type: housekeeping
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
netbox-community/netbox-scripts#228 ·
メンテナーはふだん 1 日以内に返信
netbox-community/netbox-scripts の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
plone/plone.observability#114 ·
メンテナーはふだん 1 日以内に返信
-
area:docs type:docs
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
jejjohnson/gauss_flows#246 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openvax/varcode#824 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
netbox status: needs triage type: feature
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
netbox-community/netbox#23868 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
emeryberger/CSrankings#15757 ·
メンテナーはふだん 9 日以内に返信