Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-986

Migrate the profile from mmaParticipants to a component

XMLWordPrintable

    • Hide
      1. Create a student and add some data in his profile: phone, mobile, address, city, country, web page, interests and description (you can add images and HTML in the description).
      2. Enrol the user in a course. You should also enrol a teacher in that course.
      3. Access in the app with the student, go to participants list and then go to your profile. Check that you can see all your data except the address (bug in WS? User's own address is not returned).
      4. Access in the app with the teacher and check that you can see the user's address along with the rest of data.
      5. Extra: Modify the participants code to remove the courseid param to pass to the profile page. Check that the same user data is shown. Open the log and check that the following line was written: "$mmUser: Get user with ID {ID}

        ".

      Show
      Create a student and add some data in his profile: phone, mobile, address, city, country, web page, interests and description (you can add images and HTML in the description). Enrol the user in a course. You should also enrol a teacher in that course. Access in the app with the student, go to participants list and then go to your profile. Check that you can see all your data except the address (bug in WS? User's own address is not returned). Access in the app with the teacher and check that you can see the user's address along with the rest of data. Extra: Modify the participants code to remove the courseid param to pass to the profile page. Check that the same user data is shown. Open the log and check that the following line was written: "$mmUser: Get user with ID {ID} ".
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

      We do not want to replicate the profile in each addon that displays information about a user. Ideally we would have a plugin that knows how to display information about a user. I would vote for that to be a component as it's an essential part of Moodle. And plugins could assume that it is available.

      Say we'd have mmProfile, which would handle both course and site profile.

      We should try to find a way for addons to link to the profile without having to hardcode the states.

            dpalou Dani Palou
            fred Frédéric Massart
            Frédéric Massart Frédéric Massart
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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