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

Implement "Activity modules" block and check if "Main menu block" should be displayed

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.6.0
    • Component/s: Site home add-on
    • Labels:
    • Testing Instructions:
      Hide
      1. In web, login as admin in a Moodle 3.3.
      2. Go to Site Home and turn editing on.
      3. Add at least 1 activity or resource in the central part of the Site Home. It's recommended NOT to use: Assignment, Database, Quiz, External tool, Wiki or Workshop. These activities cannot be seen with the default capabilities, so please use another one.
      4. Click "Add a block" and select "Main menu" block.
      5. Repeat step 3 but in the Main Menu block instead of in the central part.
      6. In the app, login as student in that site and go to Site Home. Check that you can see all the activities that you added in the previous steps.
      7. In web, click the gear icon at the top-right of the Site Home, click "Edit settings" in Site Home and disable "Include a topic section".
      8. In the app, perform a PTR and check that now you cannot see the activities of the central part of Site Home, but you can still view the ones in Main Menu block.
      9. In web, revert step 7.
      10. Still in web, click the gear icon at the top-right of the Main Menu block and click "Hide Main menu block".
      11. In the app, perform a PTR. Check that now you can see the activities of the central part of Site Home, but you cannot view the ones in Main Menu block.
      12. In web, click "Add a block" and select "Activities".
      13. In the app, perform a PTR. Check that now you see an "Activities" section in Site Home, and its contents are the same as in web (as student).
      14. Check that you can enter each of the sections in the Activities block and the activities displayed are the same as in web.
      Show
      In web, login as admin in a Moodle 3.3. Go to Site Home and turn editing on. Add at least 1 activity or resource in the central part of the Site Home. It's recommended NOT to use: Assignment, Database, Quiz, External tool, Wiki or Workshop. These activities cannot be seen with the default capabilities, so please use another one. Click "Add a block" and select "Main menu" block. Repeat step 3 but in the Main Menu block instead of in the central part. In the app, login as student in that site and go to Site Home. Check that you can see all the activities that you added in the previous steps. In web, click the gear icon at the top-right of the Site Home, click "Edit settings" in Site Home and disable "Include a topic section". In the app, perform a PTR and check that now you cannot see the activities of the central part of Site Home, but you can still view the ones in Main Menu block. In web, revert step 7. Still in web, click the gear icon at the top-right of the Main Menu block and click "Hide Main menu block". In the app, perform a PTR. Check that now you can see the activities of the central part of Site Home, but you cannot view the ones in Main Menu block. In web, click "Add a block" and select "Activities". In the app, perform a PTR. Check that now you see an "Activities" section in Site Home, and its contents are the same as in web (as student). Check that you can enter each of the sections in the Activities block and the activities displayed are the same as in web.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      In Moodle web, the only way to don't see the activities inside a block is removing the Activities block or the Main menu (in site home).

      The app is not honoring this setting and the activities list is displayed even if is not visible in the Site Home on web

      We should use the WS to listing blocks proposed in MDL-50970 to check if we don't have to display the activities

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Pau Ferrer
              Participants:
              Component watchers:
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jan/19