Commit graph

2 commits

Author SHA1 Message Date
897724127c
fix(observer): update event type for course completion check
Changed event type from 'course_module_completion_updated' to 'attempt_submitted' within the observer to correctly trigger course completion checks upon quiz attempt submission. This aligns with the intended workflow of updating completion status when a quiz is attempted instead of a module update. This change ensures that the system accurately reflects users' progress and achieves synchronization with the quiz completion logic.
2024-10-21 14:45:07 +02:00
4a7f631532
feat: add course completion check functionality
Introduced a new observer to handle 'course_module_completion_updated' events, updating course completion status automatically. This streamlines the user experience by notifying users of their course completion status changes. Added observer registration to events configuration and updated the plugin version details.
2024-10-21 12:47:50 +02:00