Skip to content

MDL-83243_main: Prevent loss of SCORM progress due to unstable network#13

Closed
sam-smucker wants to merge 2 commits into
mainfrom
MDL-83243_main
Closed

MDL-83243_main: Prevent loss of SCORM progress due to unstable network#13
sam-smucker wants to merge 2 commits into
mainfrom
MDL-83243_main

Conversation

@sam-smucker
Copy link
Copy Markdown
Owner

No description provided.

@sam-smucker sam-smucker changed the title MDL-83243: Prevent loss of SCORM progress due to unstable network MDL-83243_main: Prevent loss of SCORM progress due to unstable network Nov 20, 2025
@sam-smucker sam-smucker force-pushed the MDL-83243_main branch 2 times, most recently from dbc7f93 to 71ac4cc Compare February 4, 2026 16:38
On pages using the session manager's keepalive logic, an unstable network
connection should cause an alert modal to appear warning the user that
their learning progress may not be saved. This doesn't always happen
because the modal contents must be fetched with a network request. This
commit pre-fetches the alert modal on page load to ensure that it is
available if network connection is lost, and if two consecutive requests
to touch the session fail, the modal will force the user to leave the
page, either by reloading or redirection.
When a user is on a SCORM player page and has a persistently
unstable network connection, their Moodle session can expire
and/or the SCORM package can fail to save their progress.
This change will force the user to exit the SCORM player page
to avoid losing unsaved progress.
@sam-smucker sam-smucker closed this Mar 3, 2026
@sam-smucker sam-smucker deleted the MDL-83243_main branch March 3, 2026 17:47
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.

1 participant