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

Limit the number of non-racked devices that are listed on the Site and Location pages #8920

Closed
jcollie opened this issue Mar 20, 2022 · 3 comments · Fixed by #9067
Closed
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@jcollie
Copy link

jcollie commented Mar 20, 2022

NetBox version

netbox-84cb8b95fd-dcfw8 (v3.2.0-beta2)

Feature type

Change to existing functionality

Proposed functionality

Only show a small number (10 or so) of non-racked devices on site and location pages. Include a link that would take you to a device search with pre-populated search that limits the devices shown to that site/location and have not been assigned to a rack.

Use case

Currently, when you view a site or a location in NetBox, it will list all of the non-racked devices that have been assigned to that site or location. If you have a lot of non-racked devices, the page can take a very long time to generate and is very unwieldy to use. By linking to a device search, you can use the paging functionality or further narrow the search parameters.

Database changes

None

External dependencies

None

@jcollie jcollie added the type: feature Introduction of new functionality to the application label Mar 20, 2022
@jeremystretch
Copy link
Member

This sounds like it would be addressed by #8184 (allowing the user to paginate through the table without leaving the page).

@jeremystretch jeremystretch added the status: needs owner This issue is tentatively accepted pending a volunteer committed to its implementation label Mar 28, 2022
@jasonyates
Copy link

@jeremystretch Is this FR approved in it's current form or are you suggesting only #8184 could close it?

I'm happy to pick it up in it's current form if so.

@jeremystretch
Copy link
Member

@jasonyates both. I think it makes sense in the immediate term to limit the number of devices listed, and once #8184 is in place it will no longer be necessary to do so.

I'll assign this to you, thanks!

@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 Apr 6, 2022
jasonyates pushed a commit to jasonyates/netbox that referenced this issue Apr 7, 2022
Fixes netbox-community#8920

Limits the amount of non-racked devices on Site and Location view to 10 and provides a link to the device list this is pre-filtered to the relevant site or location.
jeremystretch added a commit that referenced this issue Apr 12, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 12, 2022
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

Successfully merging a pull request may close this issue.

3 participants