Support new calendar API in Moodle 3.3+

I would like to see this feature supported by mod_hvp in Moodle 3.3+

https://docs.moodle.org/33/en/Course_overview#How_to_make_activities_and...

I can provide a patch / pull request via GitHub, would it be reviewed ?

0
0
Supporter votes Members of the Supporter Network can vote for feature requests. When the supporter network has generated sufficient funding for the top voted feature request it will normally be implemented and released. More about the H5P Supporter Network
thomasmars's picture

Yes, that sounds reasonable. The H5P Core team would review it.
Could you say something about use-cases for this feature, and the required steps to implement it ?
Also be sure to follow existing coding guidelines when providing the PR.

Thanks for your reply Thomas,

A basic use case is that the teacher would want to use activity completion in Moodle – see https://docs.moodle.org/33/en/Activity_completion . Then – starting in Moodle 3.3 – a teacher can set a "Expect to be completed by" date for an activity, and this activity then show in the student's Moodle Dashboard (start page), as described in https://docs.moodle.org/33/en/Course_overview#What_a_student_sees .

So in a nutshell a teacher states that he would like an H5P activity "completed by" a date he defines, and the student would see this requirement (among others) in his Moodle Dashboard.

Steps to implement are easy enough (for base functionality as described), see PR here: https://github.com/h5p/h5p-moodle-plugin/pull/173 .