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

Fix requesting sections twice in Categorization experiment #579

Closed
wants to merge 1 commit into from

Conversation

albertas-jn
Copy link
Contributor

Closes #223

@BeritJanssen and @Evert-R
This is caused by preloading of the first section in useEffect of Playback.js. The section is loaded again in playSection() when the Play button is clicked. I disabled the preloading and the Categorization, BeatAlignment, Eurovision and Tunetwins experiments seem to work fine. Do you foresee any potential problems with other experiments?

@BeritJanssen
Copy link
Collaborator

I'm not sure how this is going to interact with the changes @Evert-R introduced for the preloading. Perhaps the issue will already be resolved with merge of #565 . In general, it's better to remove code rather than comment it out. If we find we need it back, we can always refer to the git history. Commented out code will confuse people outside of the project (and, given time, ourselves).

@albertas-jn
Copy link
Contributor Author

Solved by #565

@albertas-jn albertas-jn deleted the feature-aj/sections-twice branch November 22, 2023 21:23
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.

Sections are requested twice
2 participants