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

Add details dropdown to completion criteria badge

    XMLWordPrintable

Details

    • MOODLE_403_STABLE
    • MOODLE_403_STABLE
    • MDL-78280-master
    • Hide
      • Behaviour changes are covered by phpunit/behat tests.
      • Writing steps to check the new UI.

      Setup

      1. Login as administrator
      2. Create a new course, and two users (enroled as student and teacher)
      3. Enable completion tracking in the course
      4. Create some activities with different completion criteria (manual, automatic, etc)
        1. Some activity should have "Receive a passing grade" criteria with a defined passing grade

      Test

      1. Login as teacher
      2. Go to the course homepage
      3. Confirm that activities with completion (also manual completion) have a new dropdown with the text "Completion"
      4. Click on the dropdown and confirm that the UI matches the prototype ("Edit requirements" button is not included in this issue)
      5. Go to the activity with passing grade criteria, and grade the student below the passing grade
      6. Login as student
      7. Go to the course homepage
      8. Complete some activities completion criterias
      9. Confirm that activities with completion (NOT manual completion) have a new dropdown with the text "To do"
      10. Click on the dropdown and confirm that the UI matches the prototype
      11. Confirm that manual completion activities display the "Mark as done" button
      Show
      Behaviour changes are covered by phpunit/behat tests. Writing steps to check the new UI. Setup Login as administrator Create a new course, and two users (enroled as student and teacher) Enable completion tracking in the course Create some activities with different completion criteria (manual, automatic, etc) Some activity should have "Receive a passing grade" criteria with a defined passing grade Test Login as teacher Go to the course homepage Confirm that activities with completion (also manual completion) have a new dropdown with the text "Completion" Click on the dropdown and confirm that the UI matches the prototype ("Edit requirements" button is not included in this issue) Go to the activity with passing grade criteria, and grade the student below the passing grade Login as student Go to the course homepage Complete some activities completion criterias Confirm that activities with completion (NOT manual completion) have a new dropdown with the text "To do" Click on the dropdown and confirm that the UI matches the prototype Confirm that manual completion activities display the "Mark as done" button
    • 3
    • HQ 2023 Sprint i2.3 Moppies

    Description

      The new activity card design for 4.3 uses a new dropdown component to present the completion criteria of an activity.

      The UI will be based on the component created in MDL-78279. The content will present the completion conditions, the manual completion if available, and, in future issues, a link to edit the completion criteria (if the teacher is in edit mode).

      Example of a teacher in edit mode:

      Note: depending on the implementation, this issue can include MDL-78289.

      Attachments

        1. image-2023-07-07-09-21-50-820.png
          image-2023-07-07-09-21-50-820.png
          6 kB
        2. MDL-78280.png
          MDL-78280.png
          890 kB
        3. Screenshot_055.png
          Screenshot_055.png
          14 kB
        4. Screenshot_102.png
          Screenshot_102.png
          22 kB
        5. screenshot-1.png
          screenshot-1.png
          43 kB

        Issue Links

          Activity

            People

              mikelmartíncorrales Mikel Martín Corrales
              tusefomal Ferran Recio
              Amaia Anabitarte Amaia Anabitarte
              Ferran Recio Ferran Recio
              Ron Carl Alfon Yu Ron Carl Alfon Yu
              Votes:
              0 Vote for this issue
              Watchers:
              9 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 week, 5 hours, 17 minutes
                  1w 5h 17m

                  Clockify

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