Script result page lacks pagination controls for long logs
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của netbox-community/netbox-scripts
-
app: scripts Bucket: KTLO status: backlog type: housekeeping
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
netbox-community/netbox-scripts#281 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app: scripts Bucket: Improve complexity: low status: backlog type: feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
netbox-community/netbox-scripts#244 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Correct the documentation of a Project's current revisionCó thể đã có người làm @pheus đã nhận hôm nay. Đang mởapp: scripts Bucket: KTLO status: accepted type: documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
netbox-community/netbox-scripts#233 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app: scripts complexity: medium status: backlog type: feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
netbox-community/netbox-scripts#229 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
app: scripts status: backlog type: housekeeping
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
netbox-community/netbox-scripts#228 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của netbox-community/netbox-scripts
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
bad-antics/lateralus-lang#1623 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
fossguild/thelifesnake#82 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorĐang mởgood first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pietbarber/Manage2Soar#1189 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinatesCó thể đã có người làm @dtgaebe đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
sandialabs/WecOptTool#467 ·