Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-77298

Add status milestones to the upload screen for MoodleNet sharing modal

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.2, 4.3
    • MoodleNet
    • MOODLE_402_STABLE, MOODLE_403_STABLE

      As per the prototype, during file upload there are several “milestone” statuses we should display in the modal, to indicate to the teacher that their resource is in the process of being uploaded (rather than just a loading spinner alone).

      Requirements

      1. Create relevant functionality to be able to poll the backend and check the current state of a share (either connecting, packaging or sending).
      2. The backend should be able to utilise and update the status in the relevant table created in MDL-77296 to keep track of the status.
      3. MDL-77297 implemented the first check (ability to check if the LMS is able to reach the MoodleNet instance), which will indicate completion of the first milestone, “Contacting MoodleNet…” so the UI can be transitioned on to the second “Packaging your file…” message.
      4. Once packaging is complete, this should transition to “Sending to MoodleNet…”.
      5. Once the upload is complete, no more polling is required, because the original AJAX request will return a response, which will trigger the transition to the success or fail state of the modal.

      User stories

      This issue resolves the following user stories:

      1.  As a teacher, while I am waiting for my share to MoodleNet to complete, I will see multiple status updates, so I have a clear indication that the packaging and uploading of my resource is progressing.

      Out of scope

      1. Transitioning to the success / fail final state of the modal, as this will be controlled by the original AJAX request to perform the share.

            Unassigned Unassigned
            michaelh Michael Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

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