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

Add banners to indicate Matrix room creation status to teachers

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • MDL-77252-master
    • Hide

      Environment setup

      Setup the environment using the following link: https://github.com/mattporritt/moodle-docker
      (Feel free to reach out for any issues)

      Make sure you have access to the following information:

      Test scenario

      1. Login to Moodle as admin
      2. Navigate to Site admin > Development > Experimental settings and enable 'Enable communication subsystem'
      3. Navigate to Site admin > Plugins > Communication > Manage communication providers and ensure 'Matrix' is enabled.
      4. Navigate to Site admin > Plugins > Communication > Matrix
      5. Add the access token (available from the environment setup)
      6. Add the refresh token if available, otherwise paste the access token
      7. Add the element server url (available from the environment setup)
      8. Save your changes
      9. Navigate to Site admin > HTTP Security
      10. Add the Synapse port to 'cURL allowed ports list' (e.g. 8008)
      11. Navigate to the create a new course form
      12. Add all the required information in form
      13. Go to the communication section
      14. Set communication provider to 'Matrix'
      15. Enter a name for the provider room
      16. Save changes
      17. Navigate to your course page
      18. CONFIRM that you can see a banner that indicates the communication room is pending.
      19. Add a teacher and a student to your course participants.
      20. Log in as the teacher and go to the course page.
      21. CONFIRM that you can also see the 'pending' banner.
      22. Log in as a student and go to the course page.
      23. CONFIRM you cannot see the 'pending' banner.
      24. Log back in as an admin.
      25. Run the ad-hoc task or the cron itself
      26. Navigate to your course page
      27. CONFIRM you can see the 'success' banner.
      28. Reload the course page.
      29. CONFIRM you can no longer see the 'success' banner.
      30. Log in as a teacher.
      31. Navigate to your course page
      32. CONFIRM you can see the 'success' banner.
      33. Refresh the page.
      34. CONFIRM you can no longer see the 'success' banner.
      35. Log in as a student.
      36. CONFIRM you cannot see the 'success' banner.
      Show
      Environment setup Setup the environment using the following link:  https://github.com/mattporritt/moodle-docker (Feel free to reach out for any issues) Make sure you have access to the following information: Element web URL (e.g. https://element:8081) Home server URL (e.g. https://synapse:8008 ) Access token, generated using the same account used to login to element client Refresh token (optional) Test scenario Login to Moodle as admin Navigate to  Site admin > Development > Experimental settings  and enable 'Enable communication subsystem' Navigate to  Site admin > Plugins > Communication > Manage communication providers and ensure 'Matrix' is enabled. Navigate to  Site admin > Plugins > Communication > Matrix Add the access token (available from the environment setup) Add the refresh token if available, otherwise paste the access token Add the element server url (available from the environment setup) Save your changes Navigate to  Site admin > HTTP Security Add the Synapse port to 'cURL allowed ports list' (e.g. 8008) Navigate to the create a new course form Add all the required information in form Go to the communication section Set communication provider to 'Matrix' Enter a name for the provider room Save changes Navigate to your course page CONFIRM that you can see a banner that indicates the communication room is pending. Add a teacher and a student to your course participants. Log in as the teacher and go to the course page. CONFIRM that you can also see the 'pending' banner. Log in as a student and go to the course page. CONFIRM you cannot see the 'pending' banner. Log back in as an admin. Run the ad-hoc task or the cron itself Navigate to your course page CONFIRM you can see the 'success' banner. Reload the course page. CONFIRM you can no longer see the 'success' banner. Log in as a teacher. Navigate to your course page CONFIRM you can see the 'success' banner. Refresh the page. CONFIRM you can no longer see the 'success' banner. Log in as a student. CONFIRM you cannot see the 'success' banner.
    • 2
    • Team Hedgehog Sprint 2.2, Team Hedgehog 2023 Sprint 1.3, Team Hedgehog 2023 Sprint 1.4, Team Hedgehog 2023 Sprint 2.0, Team Hedgehog 2023 Sprint 2.1

      Since creating a room and adding course participants may not be instant, there needs to be an indication of its current status when a teacher views their course homepage (until it's created and they are aware).

      Requirements

      1. When Matrix has been enabled in a course, but the creation and/or adding of users has not yet been completed, users with the capability to enable Matrix should see a bootstrap banner (closable) on the course homepage indicating that the room is being setup.
      2. Once the ad-hoc task has completed and the room is created and/or populated, then a success/complete banner (closable) should be displayed to indicate that the room is ready.
      3. No polling is required, this should only be checked on page load, if there is a possibility it is still being processed or has recently been activated.
      4. The UX prototype outlines the lang string and exactly how this should be presented.

      User stories

      1. As a teacher when my course has been configured to create a matrix room for my course, I understand that there may be a delay in the room being created on the Matrix server. So I want a visual indication that allows me to check the creation status of the chat room for my course.

            david.woloszyn@moodle.com David Woloszyn
            michaelh Michael Hawkins
            Safat Shahin Safat Shahin
            Andrew Lyons Andrew Lyons
            CiBoT CiBoT
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 1 hour, 57 minutes
                3d 1h 57m

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