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

H5P Progress tracking issue for drag and drop question types #13010

Open
rtibbles opened this issue Jan 16, 2025 · 0 comments
Open

H5P Progress tracking issue for drag and drop question types #13010

rtibbles opened this issue Jan 16, 2025 · 0 comments
Assignees

Comments

@rtibbles
Copy link
Member

Observed behavior

When using the H5P drag and drop response question type, the "answered" event seems to get swallowed and not properly emitted. This results in the resource never being marked as completed, even when all questions are correctly answered.

This appears to be related to the debounce behaviour that I added (in my wisdom) to our H5P event logging. I had observed in initial testing that H5P tended to rather prolifically log certain kinds of events, including "answered" - it seems that this debouncing is actually preventing them being logged at all.

I think the simplest solution here would probably be to remove the debouncing all together - or maybe as a half way, to remove it from the "answered" event - as "interacted" is far more common, and we don't use it anywhere for progress tracking.

If that solution doesn't work, then falling back to removing debouncing completely will be warranted.

Expected behavior

All H5P types should properly handle the answered event, and allow the progress calculation to set it as complete.

Steps to reproduce

This was specifically discovered within an unlisted channel, so I won't share the token here, but internal team members can reach out on Slack for details.

Context

Kolibri: 0.17+

@rtibbles rtibbles self-assigned this Jan 16, 2025
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

No branches or pull requests

1 participant