Closed osma closed 6 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 70.58%. Comparing base (
f22c504
) to head (fcf5be7
). Report is 5 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
You are right @UnniKohonen . I will increase the timeouts. I think it makes sense to do this on this PR branch rather than makkng a separate PR because the timeout problem is closely related even though it's probably not caused by new changes in this PR.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Reasons for creating this PR
Trying to address the AJAX race conditions related to partial page load (#1561).
This PR defines a new JS function
fetchWithAbort
that wraps thefetch
method but also keeps track of pending fetches (per category - there can be different categories) and aborts them early when it's called again.Link to relevant issue(s), if any
Description of the changes in this PR
fetchWithAbort
fetchWithAbort
when performing partial page load and also when loading mappings for the concept pagefetchWithAbort
when loading entries for the alphabetical indexKnown problems or uncertainties in this PR
Checklist
.sr-only
class, color contrast)