Calculated question bugs and new features proposal: Difference between revisions
From MoodleDocs
Line 12: | Line 12: | ||
##adding a table showing the shareable category wild cards available in the first page of question creation or edition | ##adding a table showing the shareable category wild cards available in the first page of question creation or edition | ||
##identifying more clearly which of the wild cards has an already defined shareable category wild cards available | ##identifying more clearly which of the wild cards has an already defined shareable category wild cards available | ||
# ... | |||
==Adding new class functions or make substantial change to existing one== | ==Adding new class functions or make substantial change to existing one== |
Revision as of 17:55, 2 February 2007
This page will be used as a TODO-List in relation to the bug tracker tasks
Main objectives
The actual plan is to
- Correct the minor problems of the new 1.8 interface and add some features
- Improving the code flow so that if something is badly set (datadesf, dataitems) the calculated question default to a numerical one with a warning in the quiz display (and in the question name so it appears clrealy in the questions display in the question or quiz edit form).
- ...
Improvement of the user interface
- Correct the minor problems of the new 1.8 interface and add some features
- Removing the side effects when typing the enter key in dataitems_form.php input fields
- Verify that there is at least one wild card in either the question or the answer text.
- adding a table showing the shareable category wild cards available in the first page of question creation or edition
- identifying more clearly which of the wild cards has an already defined shareable category wild cards available
- ...
Adding new class functions or make substantial change to existing one
- adding a table display function showing the shareable category wild cards available in the first page of question creation or edition
- a general function for the abstractype class (showing only the name and nb of items)
- a specific function for the calculatedquestion class showing the definition (min:max:type) in a user readable format.
Improvement to import-export process and question category moving
- There is no way to import calculated questions in Moodle actually.The steps to correct this are:
- Adding an importdatadef() function and import dataitem function() to calculated questiontype class
- adding a preliminary verifyimporteddata() function to calculated questiontype class
- modify the savequestion() and saveoptions() function to accept import data.
- ...
(to be continued)Pierre Pichet 2 February 2007