-
Epic
-
Resolution: Unresolved
-
Minor
-
None
-
Future Dev
-
Integrate the Ordering question type (qtype_ordering) into the Moodle core (follow-up)
The Moodle Users Association (MUA) has voted on integrating the Moodle ordering question type into Moodle core.
The ordering question type displays several items in a random order which the user then drags into the correct sequential order. An ordering question can display all items or a subset of items.
- items can be plain text or formatted HTML, including text, images, audio and video.
- items can be listed vertically or horizontally
- several grading methods are available, ranging from a simple all-or-nothing grade, to more complex partial grades that consider the placement of each item relative to other items
The integration will be primarily focused on updating the JavaScript AMD modules to use native ES6 and migrating the rest of the existing plugin into Moodle. Some minimal work will be required to the plugin to meet Moodle coding requirements. This work should also convert the display logic into templates so that we may easily update layouts and allow community developers to modify the display without having to affect the underlying logic. The gift formatting functions should be moved out of the ordering question type and integrated into the gift question format, along with associated tests in question/format/gift/tests/giftformat_test.php, to ensure it remains compatible with the ordering question type.
New features and drastic changes will not be a part of the project scope for bringing the ordering question type into Moodle and any changes for the user experience should be minimal.