Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paginate component lists under device views #6001

Closed
jeremystretch opened this issue Mar 17, 2021 · 2 comments
Closed

Paginate component lists under device views #6001

jeremystretch opened this issue Mar 17, 2021 · 2 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@jeremystretch
Copy link
Member

NetBox version

v2.10.6

Feature type

Change to existing functionality

Proposed functionality

Paginate the lists of device components (e.g. interfaces) when viewing a device. For example, when viewing /dcim/devices/123/interfaces/, the interfaces table should support pagination.

Use case

Limits the amount of time required to load very large component lists, as evidenced in #5988, and provides a more consistent user experience (as most tables in NetBox are paginated).

Database changes

No response

External dependencies

No response

@jeremystretch jeremystretch added type: feature Introduction of new functionality to the application status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Mar 17, 2021
@cpmills1975
Copy link
Contributor

cpmills1975 commented Mar 18, 2021

I've spent some time looking at pagination lately with #5429 so happy to take this on if you wish @jeremystretch?

I have a PoC working for dcim/devices/int:pk/interfaces/.

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation and removed status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation labels Mar 31, 2021
@jeremystretch jeremystretch self-assigned this Mar 31, 2021
@jeremystretch
Copy link
Member Author

I'm going to handle this under the feature branch since we now have paginate_table() available there.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

2 participants