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

Single Activity format: Support Site menu activities block

    • MOODLE_501_STABLE
    • MDL-85433-main
    • Hide

      Covered mostly with automated tests (PHPUnit and behat).

       

      However, some manual tests can be run to confirm everything is working as expected:

      1. Login as admin
      2. Create a course. In the "Course format", set "Format" to "Single activity".
      3. Check the description for this course format is something like "The course displays only one activity on the course page. You can add more activities in the Additional activities block".
      4. Select any Type of activity and Save changes.
      5. Create the activity by filling in the activity form and saving the changes.
      6. In the Additional activities block, add some activity (for instance, an assignment). Add a description and enable the "Display description on course page" checkbox.
      7. Check that the activity is created and the description is displayed in the Additional activities block.
      8. Open the new activity created.
      9. Check that the Additional activities block is displayed.
      Show
      Covered mostly with automated tests (PHPUnit and behat).   However, some manual tests can be run to confirm everything is working as expected: Login as admin Create a course. In the "Course format", set "Format" to "Single activity". Check the description for this course format is something like "The course displays only one activity on the course page. You can add more activities in the Additional activities block". Select any Type of activity and Save changes. Create the activity by filling in the activity form and saving the changes. In the Additional activities block, add some activity (for instance, an assignment). Add a description and enable the "Display description on course page" checkbox. Check that the activity is created and the description is displayed in the Additional activities block. Open the new activity created. Check that the Additional activities block is displayed.
    • Hide

      Code verified against automated checks.

      Checked MDL-85433 using repository: https://github.com/sarjona/moodle.git

      More information about this report

      Built on: Wed Jun 4 06:10:03 UTC 2025

      Show
      Code verified against automated checks. Checked MDL-85433 using repository: https://github.com/sarjona/moodle.git main (0 errors / 0 warnings) [branch: MDL-85433-main | CI Job ] More information about this report Built on: Wed Jun 4 06:10:03 UTC 2025
    • Show
      Launching automatic jobs for branch MDL-85433 -main https://ci.moodle.org/view/Testing/job/DEV.02%20-%20Developer-requested%20PHPUnit/19583/ PHPUnit (sqlsrv / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66966/ Behat (NonJS - boost and classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66967/ Behat (Firefox - boost / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66968/ Behat (Firefox - classic / complete) https://ci.moodle.org/view/Testing/job/DEV.01%20-%20Developer-requested%20Behat/66969/ App tests (stable app version) / complete) Built on: Wed Jun 4 05:49:17 UTC 2025
    • C->HQ 2025 Sprint I2.2 Moppies

      The Social and Single activity course formats share significant similarities. However, feedback from the forums regarding a potential merge highlighted two key user concerns:

      • The Social activities block is exclusive to the Social course format, limiting the Single activity format to just one activity.
      • The Single activity format automatically hides any additional activities within the course.

      Addressing these limitations could allow the Single activity format to replace the Social format, potentially reducing the number of core plugins.

       

      Resolving this issue will improve the Single activity format by:

      • Ensuring that additional activities remain visible
      • Adding support for the Site main menu block.

      This will then allow for the re-evaluation of MDL-79916, with the potential to remove the Social course format and the Social activities block.

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Carlos Escobedo Carlos Escobedo
            Amaia Anabitarte Amaia Anabitarte
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:

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

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