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

Holdings with many items are very slow to load #3759

Open
PascalRepond opened this issue Oct 4, 2024 · 0 comments
Open

Holdings with many items are very slow to load #3759

PascalRepond opened this issue Oct 4, 2024 · 0 comments
Labels
client request Issue reported by production libraries enhancement Improvement of an existing feature UX User experience, ergonomy

Comments

@PascalRepond
Copy link
Contributor

PascalRepond commented Oct 4, 2024

How it works

Certain holdings have hundreds of items and loading their permissions to display the buttons can be very long.

Loading the holdings detailed view is also quite slow, and displaying a specific item can be very difficult if it is down in the list (linked to #3392).

Examples:
This document (https://bib.rero.ch/professional/records/documents/detail/207507) has a holdings with 500+ items, the document detailed view can take more than a minute to fully load because of the API requests for permissions to display the buttons (delete, edit, etc.). This request alone (https://bib.rero.ch/api/permissions/holdings/348979?current_library=23) takes more than 30 seconds.

Improvement suggestion

  • Modify the buttons behaviour so that they don't need a large request to load.
  • Think about another way to display the items in the holdings detailed view (maybe inspired by the files component?)
@PascalRepond PascalRepond added enhancement Improvement of an existing feature UX User experience, ergonomy client request Issue reported by production libraries labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client request Issue reported by production libraries enhancement Improvement of an existing feature UX User experience, ergonomy
Projects
Status: Product Backlog
Development

No branches or pull requests

1 participant