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

Support additional menu items based on Moodle Mobile settings

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.2.1
    • Navigation
    • 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.
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • 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

              dpalou Dani Palou
              jleyva Juan Leyva
              Pau Ferrer Pau Ferrer
              Juan Leyva Juan Leyva
              Juan Leyva Juan Leyva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Feb/17