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

Show loading while addons are being loaded in delegates

XMLWordPrintable

    • Hide

      To test this I suggest increasing the time of response of the following functions using $timeout:

      $mmaMessagesHandlers#sideMenuNav -> isEnabled
      $mmaGradesHandlers#coursesNav -> isEnabledForCourse
      $mmaGradesHandlers#viewGrades -> isEnabledForUser

      Now test:

      1. Check that a spinner is shown in side menu while addons are being loaded. Check that this works when restarting the app and when changing sites.
      2. Check that a spinner is shown in each course on my courses while addons are being loaded. Check that this works when restarting the app and when changing sites. PTR doesn't show the spinner.
      3. Check that a spinner is shown in user profile while addons are being loaded. PTR doesn't show the spinner.
      Show
      To test this I suggest increasing the time of response of the following functions using $timeout: $mmaMessagesHandlers#sideMenuNav -> isEnabled $mmaGradesHandlers#coursesNav -> isEnabledForCourse $mmaGradesHandlers#viewGrades -> isEnabledForUser Now test: Check that a spinner is shown in side menu while addons are being loaded. Check that this works when restarting the app and when changing sites. Check that a spinner is shown in each course on my courses while addons are being loaded. Check that this works when restarting the app and when changing sites. PTR doesn't show the spinner. Check that a spinner is shown in user profile while addons are being loaded. PTR doesn't show the spinner.
    • MOODLE_26_STABLE
    • MOODLE_26_STABLE

      In side menu and my courses, addons are loaded all at once. This means that, if some addon takes a while to check if it's enabled, the user will see an empty list until all addons checks are done. We should try to show a spinner or something meanwhile.

      We should also check if this affects other delegates too.

            dpalou Dani Palou
            dpalou Dani Palou
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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