Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-27738 META Question engine rewrite - tasks to complete after main integration
  3. MDL-27430

Maintaining and improving 2,0 style number unit display in 2,1 version

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Questions
    • Labels:
      None
    • Testing Instructions:
      Hide

      Create numerical questions with the option Units are input using set to both "a multiple choice selection" and "a drop-down menu".

      You will need to create the question with some units too.

      Verify that both sorts of question work as expected.

      Show
      Create numerical questions with the option Units are input using set to both "a multiple choice selection" and "a drop-down menu". You will need to create the question with some units too. Verify that both sorts of question work as expected.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      The 2,0 offers an additional help for the available number formats and a separate unit input element.

      1. As the new renderer code already use an additional left or right unit select element, we can easily maintain the separate unit text input.
      2. The help element could be offer as additional choices as just setting an option on the edit form is easier than writing all the available formats.
      3. The actual renderer use a select element to render multiple choice unit option.
        This cannot easily render units with exponents and complex structure.
        The 2,0 simple input text element allows some HTML formatting as <sub> and <sup>
        • We could offer either the select element or the multiple choice radio type as in 2,0 to display the unit choices.
      4. As the instruction field with its HTML editor has been removed, we can easily add HTML unit editing in the edit_numerical_form without having a more complex display than the 2,0.

        Attachments

          Activity

            People

            Assignee:
            timhunt Tim Hunt
            Reporter:
            ppichet Pierre Pichet
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Helen Foster
            Participants:
            Component watchers:
            Tim Hunt, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              1/Jul/11