Skip to content

Closes #19550: Enhancement: Refactor rack elevations template for lazy loading /dcim/rack-elevations/ #19823

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

Merged
merged 5 commits into from
Jul 8, 2025

Conversation

jnovinger
Copy link
Member

Closes: #19550

The existing rack elevations template does not scale well, for e.g if the user has the pagination set 1000, the rack elevation template will try and make a rack http call for every rack when the page loads (#19550)

this PR does the following

  • introduce lazy loading so that racks are only loaded once they intersect with the viewport
  • spinner added to show while racks are being lazy loaded

Note:

This PR replaces #19549.

@jeremystretch jeremystretch merged commit ee94fb0 into main Jul 8, 2025
10 checks passed
@jeremystretch jeremystretch deleted the 19550-add-rack-lazy-loading branch July 8, 2025 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rack Elevation Lazy Loading
4 participants