-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
fix: reviewer fetch
and XMLHttpRequest
issues
#16457
Conversation
basically restore what e55cae2 had deleted
fetch
and XMLHttpRequest
issues issuesfetch
and XMLHttpRequest
issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @BrayanDSO - do you think this is worth picking on to release-2.18?
Seems like it's worth it, to me
When we next move on this change, we need better regression test coverage A |
I'm doing picks now and this fixes regressions, I'm going to be assertive, I'm putting it on the release-2.18 pile |
Hmmm 🤔 I'm getting a persistent error in local testing on the release-2.18 branch and on main (
That seems suspiciously like the sort of thing that may break with changes in this area. It appears to work in CI though Local environment is macOS 14.5 (current) with this debug info from emulator:
I'm going to hold off on the 2.18.1 release as I'd like to get this in, and maybe it's something trivial ? |
* feat: handle audio and videos seeking in ViewerResourceHandler basically restore what e55cae2 had deleted * fix: use http base url in card viewers
Purpose / Description
#16140 was an experiment to return to the 2.16.5 way of loading media, which worked by using the
collection.media
directory as base url. The pros were that files load faster and the URL is constant, so localStorage works. The cons were that it needs to accept CORS requests and doesn't work with JSfetch
andXMLHttpRequest
For now my goal is just to restore compatibility with all decks. The new performance is still quite good, just ain't the best one anymore. Some ways to improve performance can be investigated later, if necessary, but now compatibility is the priority.
Fixes
Approach
Revert #16140
Doesn't need a backend upgrade
How Has This Been Tested?
fetch
worksloading.webm
Checklist
Please, go through these checks before submitting the PR.