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

block_myoverview: Hide completion progress bar for teachers

    XMLWordPrintable

Details

    • MOODLE_36_STABLE
    • MOODLE_37_STABLE
    • MDL-64898-progress-teachers
    • Hide
      1. Make sure that completion tracking is enabled (Site administration > Advanced features - Enable completion tracking).
      2. Create or update a course and make sure that 'Completion tracking - Enable completion tracking' is set to yes.
      3. Have at least a couple of activities in the course.
      4. Enrol four people into the course.
        • Make the first user a teacher.
        • Make the second user a non-editing teacher.
        • Make the third a student.
        • Make the fourth both a teacher and a student.
      5. Log in as the teacher.
      6. Go to the Dashboard.
      7. Check That there is no progress bar for the course in the course overview.
      8. Login in as the non-editing teacher.
      9. Go to the Dashboard.
      10. Check That there is no progress bar for the course.
      11. Login as the student.
      12. Go to the Dashboard.
      13. Check That there is progress bar for the course.
      14. Login as the student that is also a teacher.
      15. Go to the Dashboard.
      16. Check That there is progress bar for the course.
      Show
      Make sure that completion tracking is enabled (Site administration > Advanced features - Enable completion tracking). Create or update a course and make sure that 'Completion tracking - Enable completion tracking' is set to yes. Have at least a couple of activities in the course. Enrol four people into the course. Make the first user a teacher. Make the second user a non-editing teacher. Make the third a student. Make the fourth both a teacher and a student. Log in as the teacher. Go to the Dashboard. Check That there is no progress bar for the course in the course overview. Login in as the non-editing teacher. Go to the Dashboard. Check That there is no progress bar for the course. Login as the student. Go to the Dashboard. Check That there is progress bar for the course. Login as the student that is also a teacher. Go to the Dashboard. Check That there is progress bar for the course.

    Description

      block_myoverview displays a completion progress bar for a particular course as soon as
      1. Course completion is enabled in the course settings
      2. There is at least one activity in the course which uses course completion (regardless if the activity will be completed automatically based on a rule or manually by the student)

      This is generally fine for students.
      But, unfortunately, the progress bar is also shown for teachers who often don't participate actively in a course (like a student does) and who will most probably have all of their progress bars be stuck at 0%.

      Thus, I would propose to add a mechanism to hide the completion progress bar for teachers.

      The simplest approach would be a capability to control if a user sees the progress bar or not.
      Perhaps the existing capability moodle/course:isincompletionreports can be used, otherwise a new capability is needed.

      Attachments

        Issue Links

          Activity

            People

              dmitriim Dmitrii Metelkin
              abias Alexander Bias
              Victor Déniz Falcón Victor Déniz Falcón
              Adrian Greeve Adrian Greeve
              Janelle Barcega Janelle Barcega
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                20/May/19

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m