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

Refactor and review the recording table

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_501_STABLE
    • Hide

      Prep

      1. Log in as admin
      2. Enable the BBB plugin and set it up with valid server credentials
      3. Create a course and enroll a Student in it

      Test 1: YUI DataTable replaced with HTML table

      1. Add BigBlueButton as an activity to the course, make sure is Room with Recordings and that "The session may be recorded." under "Room Settings" is enabled.
      2. Save and go to the Activity. The YUI DataTable should be replaced by standard HTML

      Test 2: Recording functionality works correctly

      1. Join the meeting. Record the session in BBB. Wait for a few seconds. End the session.
      2. After a few minutes refresh the page and the recording should show up in the table.
      3. Click on the Presentation link. Recording should appear in a new tab.
      4. Click on Edit Name. Change the name. Click outside the box. Refresh the page. The new name should be there.
      5. Click on Edit Description. Change the description. Click outside the box. Refresh the page. The new description should be there.
      6. With a student account open Moodle and the activity in a different browser. The recording should be available for the student.
      7. Click on the open eye. A closed eye should be displayed. With a student account refresh the page in the other browser. The recording should not be available for the student.
      8. Click on the trash can. Confirm deletion. Refresh the page in both browser. The recording should be deleted for all users.

      Test 3: Pagination works properly

      1. Join the meeting. Record the session in BBB. Wait for a few seconds. End the session. (Repeat 10 more times)
      2. After a few minutes refresh the page and 10 of  the recordings should be in the table.
      3. Go to Next page. There should be one recording only
      4. Go Previous page. There should be ten recordings again
      5. Go to Last page. There should be one recording only
      6. Go to First page. There should be ten recordings again
      7. Click page 2 from the drop down in the middle. There should be one recording only
      8. Click page 1 from the drop down in the middle. There should be ten recordings again

      Test 4: Search works properly

      1. Click on Edit Name. Change the name to something like "second lecture". Click outside the box. Refresh the page. The new name should be there.
      2. In the Search box, type "second" and hit enter or click on the button. Only the edited recording should be present.

      Test 5: Import Recordings works properly

      1. Add BigBlueButton as a second activity to the course.
      2. Save and go to the Activity. The Recordings table is shown empty.
      3. Click on Imported recordings. Select the same course the activity is on. Select the first activity (with the 11 recordings). A list with multiple recordings should be shown.
      4. Click on the Download (arrow down) icon. The recording should disappear from the list.
      5. Click on the Go back button. The standard room is now on the screen, and the imported recording is visible. The eye open is grayed out.
      6. Click on the trash can icon. The imported recording is removed from the activity.

       

      Show
      Prep Log in as admin Enable the BBB plugin and set it up with valid server credentials Create a course and enroll a Student in it Test 1: YUI DataTable replaced with HTML table Add BigBlueButton as an activity to the course, make sure is Room with Recordings and that "The session may be recorded." under "Room Settings" is enabled. Save and go to the Activity. The YUI DataTable should be replaced by standard HTML Test 2: Recording functionality works correctly Join the meeting. Record the session in BBB. Wait for a few seconds. End the session. After a few minutes refresh the page and the recording should show up in the table. Click on the Presentation link. Recording should appear in a new tab. Click on Edit Name. Change the name. Click outside the box. Refresh the page. The new name should be there. Click on Edit Description. Change the description. Click outside the box. Refresh the page. The new description should be there. With a student account open Moodle and the activity in a different browser. The recording should be available for the student. Click on the open eye. A closed eye should be displayed. With a student account refresh the page in the other browser. The recording should not be available for the student. Click on the trash can. Confirm deletion. Refresh the page in both browser. The recording should be deleted for all users. Test 3: Pagination works properly Join the meeting. Record the session in BBB. Wait for a few seconds. End the session. (Repeat 10 more times) After a few minutes refresh the page and 10 of  the recordings should be in the table. Go to Next page. There should be one recording only Go Previous page. There should be ten recordings again Go to Last page. There should be one recording only Go to First page. There should be ten recordings again Click page 2 from the drop down in the middle. There should be one recording only Click page 1 from the drop down in the middle. There should be ten recordings again Test 4: Search works properly Click on Edit Name. Change the name to something like "second lecture". Click outside the box. Refresh the page. The new name should be there. In the Search box, type "second" and hit enter or click on the button. Only the edited recording should be present. Test 5: Import Recordings works properly Add BigBlueButton as a second activity to the course. Save and go to the Activity. The Recordings table is shown empty. Click on Imported recordings. Select the same course the activity is on. Select the first activity (with the 11 recordings). A list with multiple recordings should be shown. Click on the Download (arrow down) icon. The recording should disappear from the list. Click on the Go back button. The standard room is now on the screen, and the imported recording is visible. The eye open is grayed out. Click on the trash can icon. The imported recording is removed from the activity.  
    • Hide

      Code verified against automated checks.

      Checked MDL-76190 using repository: https://github.com/jfederico/moodle.git

      More information about this report

      Built on: Mon Apr 28 04:42:59 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-76190 using repository: https://github.com/jfederico/moodle.git main (0 errors / 0 warnings) [branch: MDL-76190 | CI Job ] More information about this report Built on: Mon Apr 28 04:42:59 UTC 2025
    • Hide

      Launching automatic jobs for branch MDL-76190

      Built on: Tue Apr 15 16:25:47 UTC 2025

      Show
      Launching automatic jobs for branch MDL-76190 https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/19038/ PHPUnit (sqlsrv) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/65101/ Behat (NonJS - boost and classic) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/65102/ Behat (Firefox - boost)  --> Unrelated (can be ignored) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/65103/ Behat (Firefox - classic)  --> Unrelated (can be ignored) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/65104/ App tests (stable app version)  --> Unrelated (can be ignored) Built on: Tue Apr 15 16:25:47 UTC 2025

      The recording table layout is getting "old" and would benefit from a more modern layout at least in 4.0 and 4.1.

      Few thoughts:

      • Remove the YUI implementation:
        • Use the dynamic table implementation from Moodle 
        • Use another external library
      • Allow different things that are not currently really well managed:
        • Column sorting
        • Filtering
        • Pagination
      • Modernize the Look and feel

       

      Features

      • Display recordings
      • Edit name
      • Edit description
      • Delete recordings
      • Import recordings
      • Import from deleted activities
      • Support for groups

        1. recordings_before.png
          73 kB
          Jesus Federico
        2. recordings_after.png
          86 kB
          Jesus Federico
        3. Screenshot from 2025-04-30 09-36-35.png
          32 kB
          Paul Holden

            Unassigned Unassigned
            lmdavid Laurent DAVID
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 minutes
                2m

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