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

Define Completion dropdown component in the course page for empty conditions

    XMLWordPrintable

Details

    • 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

    Description

      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

      Attachments

        1. (I) Passed -- (Master)MDL-78666.png
          (I) Passed -- (Master)MDL-78666.png
          62 kB
        2. (II) Passed -- (Master)MDL-78666.png
          (II) Passed -- (Master)MDL-78666.png
          52 kB
        3. image-2023-07-06-13-24-29-704.png
          image-2023-07-06-13-24-29-704.png
          48 kB
        4. image-2023-07-06-13-24-58-496.png
          image-2023-07-06-13-24-58-496.png
          5 kB
        5. image-2023-08-02-12-39-40-481.png
          image-2023-08-02-12-39-40-481.png
          7 kB
        6. MDL-78666-test_integration.patch
          0.9 kB
        7. MDL-78666-test.patch
          0.9 kB
        8. Students.png
          Students.png
          41 kB
        9. Teachers.png
          Teachers.png
          56 kB

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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