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

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 2.1
    • Questions
    • None
    • MOODLE_21_STABLE
    • MOODLE_21_STABLE
    • 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.

    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

            timhunt Tim Hunt
            ppichet Pierre Pichet
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Helen Foster Helen Foster
            Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Raquel Ortega, Sabina Abellan, Sander Bangma, Sara Arjona (@sarjona), Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1/Jul/11