Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1104

Add support for course completion display

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Completion
    • Labels:
    • Testing Instructions:
      Hide

      To test the "mark self completed" feature you need to have local_mobile installed in a Moodle 2.9.

      Tests to do in Moodle 2.9:

      1. Enable course completion on Moodle and add some criterias to a course.
      2. As a student in the app, check that you can see your course completion in course list or in your profile. Check that the status and criterias shown match the ones shown in Moodle site.
      3. Check that an error is shown if you try to see another user course completion as a student.
      4. Check that only the course with completion enabled has the course completion plugin (in course list and in participants profiles).
      5. Check that you can't see the the course completion button if you go to a user profile from Messages (or from anywhere outside of a course).
      6. In Moodle, enable self completion to the course. In the app, check that a button to complete the course is shown after the completion criterias.
        • Check that clicking that button marks the course as self completed and the data is updated.
      7. Login as a teacher in the app. Check that you can't see your completion (teachers completion isn't tracked). The WS error returned says user is not enrolled in the course (weird).
        • As teacher, check that you can see students course completion.

      Tests to do in Moodle 2.8:

      1. Install local_mobile on Moodle, enable course completion and add some criterias to a course.
      2. Check that course completion is shown in every course (enablecompletion param is available from 2.9). Check that trying to see course completion of a course that doesn't have it enabled shows an error message.
      Show
      To test the "mark self completed" feature you need to have local_mobile installed in a Moodle 2.9. Tests to do in Moodle 2.9: Enable course completion on Moodle and add some criterias to a course. As a student in the app, check that you can see your course completion in course list or in your profile. Check that the status and criterias shown match the ones shown in Moodle site. Check that an error is shown if you try to see another user course completion as a student. Check that only the course with completion enabled has the course completion plugin (in course list and in participants profiles). Check that you can't see the the course completion button if you go to a user profile from Messages (or from anywhere outside of a course). In Moodle, enable self completion to the course. In the app, check that a button to complete the course is shown after the completion criterias. Check that clicking that button marks the course as self completed and the data is updated. Login as a teacher in the app. Check that you can't see your completion (teachers completion isn't tracked). The WS error returned says user is not enrolled in the course (weird). As teacher, check that you can see students course completion. Tests to do in Moodle 2.8: Install local_mobile on Moodle, enable course completion and add some criterias to a course. Check that course completion is shown in every course (enablecompletion param is available from 2.9). Check that trying to see course completion of a course that doesn't have it enabled shows an error message.
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      We should support it at 3 levels:

      1. Participant profile. So when we are viewing the participant profile in a course we can see his course completion status
      2. Course level. So we can see our completion status in the course.
      3. Side menu. So you can see your completion status for all the courses. (This option can be disabled from 2.9 an onwards if enablecompletion is off in the get_users_courses function)

      Note that initially will be display always the menu options because currently the delegates needs some refactoring in order to allow async operations and retrieve the requested course data.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            jleyva Juan Leyva
            Peer reviewer:
            Frédéric Massart
            Integrator:
            Juan Leyva
            Tester:
            Juan Leyva
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Aug/15