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

Support custom site default home pages

XMLWordPrintable

    • Hide

      This issue must be tested in a site with MDL-82844 integrated.

      This issue only needs to be tested in 1 device.

      Important: Every time you change a setting as admin, in the app go to preferences and click the synchronize button. That way the app will update the info of the site and the next time you start the app or do a logout&login the new settings will be applied.

      1. In a 4.5 (main) site, install the plugin attached to this issue, in the local folder.
      2. Login as admin in browser, go to "Site administration > Appearance > Navigation" and set "Start page for users" to "Messages".
      3. In the app, login with any user. Check that the app selects the Messages tab in the main menu.
      4. Now set "Start page for users" to "Page not supported in app".
      5. Restart the app or do a logout&login (remember to click Synchronize first as I mention above). Check that the app opens My courses, nothing else happens because the URL is not supported by the app.
      6. Now set "Start page for users" to "My badges".
      7. Restart the app or do a logout&login (remember to click Synchronize first as I mention above). Check that the app opens My courses and then opens the page to see your badges. If you click the back button, you will go back to My courses.
      8. Now as admin in browser, go to "Site administration > Mobile app > Mobile features" and disable "My courses" in "Main menu".
      9. Restart the app or do a logout&login (remember to click Synchronize first as I mention above). Check that the app opens Dashboard and then opens the page to see your badges. If you click the back button, you will go back to Dashboard.
      10. Test the following steps in a phone, not in a tablet. Because we don't want calendar to be displayed in the main menu tabs.
      11. Re-enable "My courses" and click Synchronize in the app.
      12. Create a calendar event and set a reminder to trigger soon (in 1 or 2 minutes).
      13. Kill the app and wait for the notification to be triggered.
      14. Click the notification. Check that the app starts, opens My courses, then opens the badges page, and then opens calendar. The custom home page (in this case, badges) should always be opened before notifications pages.
      Show
      This issue must be tested in a site with MDL-82844 integrated. This issue only needs to be tested in 1 device. Important: Every time you change a setting as admin, in the app go to preferences and click the synchronize button. That way the app will update the info of the site and the next time you start the app or do a logout&login the new settings will be applied. In a 4.5 (main) site, install the plugin attached to this issue, in the local folder. Login as admin in browser, go to "Site administration > Appearance > Navigation" and set "Start page for users" to "Messages". In the app, login with any user. Check that the app selects the Messages tab in the main menu. Now set "Start page for users" to "Page not supported in app". Restart the app or do a logout&login (remember to click Synchronize first as I mention above). Check that the app opens My courses, nothing else happens because the URL is not supported by the app. Now set "Start page for users" to "My badges". Restart the app or do a logout&login (remember to click Synchronize first as I mention above). Check that the app opens My courses and then opens the page to see your badges. If you click the back button, you will go back to My courses. Now as admin in browser, go to "Site administration > Mobile app > Mobile features" and disable "My courses" in "Main menu". Restart the app or do a logout&login (remember to click Synchronize first as I mention above). Check that the app opens Dashboard and then opens the page to see your badges. If you click the back button, you will go back to Dashboard. Test the following steps in a phone, not in a tablet. Because we don't want calendar to be displayed in the main menu tabs. Re-enable "My courses" and click Synchronize in the app. Create a calendar event and set a reminder to trigger soon (in 1 or 2 minutes). Kill the app and wait for the notification to be triggered. Click the notification. Check that the app starts, opens My courses, then opens the badges page, and then opens calendar. The custom home page (in this case, badges) should always be opened before notifications pages.
    • Moodle Apps - 2024 i3.1, Moodle Apps - 2024 i3.2, Moodle Apps - 2024 i3.3

      MDL-82066 has introduced a new way to allow admins/users to define a new default home page.

      Plugins can implement a hook to extend the existing options indicating new URLs users can be redirected to after log in

      We need to support this in the mobile app.

      See the original MDL-82066 issue for instructions about enabling this.

      Shaping document: https://docs.google.com/document/d/1IqihCQ3849LN4R4Gnlc-1HqrPqQs0jKO3gj8_XO2lOo

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

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 2 hours, 25 minutes
                2d 2h 25m

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