Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-78666

Define Completion dropdown component in the course page for empty conditions

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • MDL-78666-master
    • Hide

      Setup

      1. Apply the patch MDL-78666-test_integration.patch to your Moodle instance. This will allow us to save activity completion settings without any criteria.

        git apply MDL-78666-test.patch
        

      2. Login as administrator
      3. Create two users User01 and User02
      4. Create a course Course01
        1. Enable completion tracking
        2. Enrol User01 as a teacher
        3. Enrol User02 as a student
      5. Create a database activity Activity01 in Course01
        1. In Activity completion > Completion tracking select "Show activity as complete when conditions are met" and leave all the checkboxes unchecked

      Test teacher

      1. Login as User01
      2. Go to Course01 with "Edit mode" enabled
      3. Click on Activity01 Completion dialog
      4. Confirm that the dialog shows "You have to add at least one completion condition."
      5. Confirm that the dialog shows "+ Add conditions" button
      6. Confirm that the dialog UI follows the prototype

      Test student

      1. Login as User02
      2. Go to Course01
      3. Click on Activity01 To do dialog
      4. Confirm that the dialog shows "There are no completion conditions set for this activity."
      5. Confirm that the dialog UI follows the prototype
      Show
      Setup Apply the patch MDL-78666-test_integration.patch to your Moodle instance. This will allow us to save activity completion settings without any criteria. git apply MDL-78666-test.patch Login as administrator Create two users User01 and User02 Create a course Course01 Enable completion tracking Enrol User01 as a teacher Enrol User02 as a student Create a database activity Activity01 in Course01 In Activity completion > Completion tracking select "Show activity as complete when conditions are met" and leave all the checkboxes unchecked Test teacher Login as User01 Go to Course01 with "Edit mode" enabled Click on Activity01 Completion dialog Confirm that the dialog shows "You have to add at least one completion condition." Confirm that the dialog shows "+ Add conditions" button Confirm that the dialog UI follows the prototype Test student Login as User02 Go to Course01 Click on Activity01 To do dialog Confirm that the dialog shows "There are no completion conditions set for this activity." Confirm that the dialog UI follows the prototype
    • 1
    • HQ 2023 Planning I3 Moppies

      Reviewing MDL-78280 we realized there are some activities (e.g. Database activity) that allow the teacher to set Completion tracking to 'Show activity as complete when conditions are met' but don't mark any of the requirements, so the completion conditions are empty.

      This would be probably fixed in MDL-78517.

      But even fixing that bug and not allowing teachers to do it never again, some existing activities could face this problem, so we should decide from UX and PX perspective what to show to teachers and students in empty completion criteria use cases. 

       


      Designs

      Teachers

      Students

        1. image-2023-07-06-13-24-29-704.png
          48 kB
          Amaia Anabitarte
        2. image-2023-07-06-13-24-58-496.png
          5 kB
          Amaia Anabitarte
        3. Teachers.png
          56 kB
          Sabina Abellan
        4. Students.png
          41 kB
          Sabina Abellan
        5. MDL-78666-test.patch
          0.9 kB
          Mikel Martín Corrales
        6. image-2023-08-02-12-39-40-481.png
          7 kB
          Amaia Anabitarte
        7. MDL-78666-test_integration.patch
          0.9 kB
          Ferran Recio
        8. (I) Passed -- (Master)MDL-78666.png
          62 kB
          Kim Jared Lucas
        9. (II) Passed -- (Master)MDL-78666.png
          52 kB
          Kim Jared Lucas

            mikelmartíncorrales Mikel Martín Corrales
            amaia Amaia Anabitarte
            Amaia Anabitarte Amaia Anabitarte
            Ferran Recio Ferran Recio
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 3 hours, 22 minutes
                1d 3h 22m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.