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

Support additional menu items based on Moodle Mobile settings

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: Side menu
    • Labels:
    • Testing Instructions:
      Hide

      This must be tested in a site with MDL-57410 applied.

      1. Login in the web as admin, go to Site administration > Mobile app > Mobile features and add some options to Custom menu items. Please make sure to add:
        • 1 item of each type (embedded, inappbrowser, browser).
        • Different languages for at least 1 of the items.
        • A custom icon for at least 1 of the items. You should use a Ionicon class (e.g. ion-information, you can see the list in here).
        • At least 1 invalid item (less than 3 fields or any of the first 3 fields is empty).
      2. Login in the app and check that you see all the valid items in the side menu.
        • Check that the language shown is the right one. If the item isn't configured in the current language, the fallback will be to no language and then to English.
        • Check that the custom icons you configured are next to each item. If a custom icon wasn't supplied for a certain item, it should show the default icon.
      3. Go to App Settings and change the app's language. Check that the language of the custom menu items change if needed.
      4. Check that clicking 'inappbrowser' and 'browser' items open the URL in inappbrowser/browser.
      5. Check that clicking 'embedded' items open a new state with the page embedded.
        • The embedded page should allow being inserted in an iframe, otherwise it won't work. E.g. moodle.org and prototype sites don't allow it.
      6. Now update any of the items in the site and then, in the app, login/logout or synchronize the site. Check that the custom items are updated.
      Show
      This must be tested in a site with MDL-57410 applied. Login in the web as admin, go to Site administration > Mobile app > Mobile features and add some options to Custom menu items . Please make sure to add: 1 item of each type (embedded, inappbrowser, browser). Different languages for at least 1 of the items. A custom icon for at least 1 of the items. You should use a Ionicon class (e.g. ion-information, you can see the list in here ). At least 1 invalid item (less than 3 fields or any of the first 3 fields is empty). Login in the app and check that you see all the valid items in the side menu. Check that the language shown is the right one. If the item isn't configured in the current language, the fallback will be to no language and then to English. Check that the custom icons you configured are next to each item. If a custom icon wasn't supplied for a certain item, it should show the default icon. Go to App Settings and change the app's language. Check that the language of the custom menu items change if needed. Check that clicking 'inappbrowser' and 'browser' items open the URL in inappbrowser/browser. Check that clicking 'embedded' items open a new state with the page embedded. The embedded page should allow being inserted in an iframe, otherwise it won't work. E.g. moodle.org and prototype sites don't allow it. Now update any of the items in the site and then, in the app, login/logout or synchronize the site. Check that the custom items are updated.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      Depending on the customenuitem settings, we should add menu items in different ways.

      All the methods should support auto-login

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Feb/17