openlibrary
openlibrary copied to clipboard
Merging: Limit to one network error alert
Problem
On the merging page, a window.alert() message is displayed whenever the page fails to load the details of one of the works. Example:
Network error; failed to load editions for /works/OL30200415W. Click OK to reload.
Because network errors often result in multiple or all of the works failing to load, this can result in a high number of alerts being displayed, one after another. Only after I’ve dismissed all of the alerts does the page automatically reload.
Reproducing the bug
No response
Context
- Browser: Safari
- OS: iPadOS 18.1
- Logged in: Y
- Environment: prod
Breakdown
Requirements Checklist
- [ ]
Related files
Stakeholders
Instructions for Contributors
- Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.