-
New Feature
-
Resolution: Fixed
-
Major
-
4.1, 4.2
-
MOODLE_401_STABLE, MOODLE_402_STABLE
-
MOODLE_403_STABLE
-
MDL-75502-master -
-
6
-
Team Hedgehog 2023 Sprint 2.2, Team Hedgehog 2023 Sprint 2.3, Team Hedgehog 2023 Review 2, Team Hedgehog 2023 Sprint 3.1, Team Hedgehog 2023 Sprint 3.2
This issue resolves the following user story: As a teacher, I need the ability to view the current send status of content I have recently shared to MoodleNet from the current Moodle site, so that I know when I can visit the respective MoodleNet draft to complete and publish the resource.
Requirements
Teachers can access the share progress from their user dropdown menu.To simplify the logic required (and improve performance), teachers can access the share progress from the More menu within a course where they have the capability to share activities or courses.- We need to create a new page to render this information.
- A table on the page including name (activity or course name), type (activity type or "Course"), send date, send status (Sent, In progress, Error).
- The table should be automatically sorted by send status (Error first, then In progress, then Sent), then by send date/time (newest first). For example, the most recent one to fail/error would be the first item at the top of the list.
- When a share has completed successfully, the resource name should become a hyperlink to the MoodleNet resource's draft URL.
- Include pagination, won't always be required, but will be useful in cases where someone shares a lot before checking back on the list. Possibly 25 items per page would be ideal.
- Ensure there is an appropriate zero state (an indication on the page when there are no shares to view).
- Before allowing this new page to render successfully and attempt to fetch any data, we should check that the visiting user is logged in, not a guest, and has at least one of the relevant activity/course sharing capabilities (in any context) before allowing the page to render (with appropriate caching). This is to avoid having a page which can be directly accessed by a user when it's not possible to reach it via the UI.
- Behat/unit tests implemented as applicable.
The information required to fulfill requirements 3-4 will be available once MDL-77296 is implemented.
Out of scope
- Clean up/clearing of the share progress data. This will be implemented in MDL-78422.
- User filtering/sorting of table data. With requirement 4 in place, priority information will be surfaced, and with the above cleanup implemented, the data listed will be temporary.
- Accessing the share progress from the share modal (this will need to be implemented as part of MDL-78271).
- Ability to expand a course shares to view activity details - this is a high level overview of recent upload progress, so granular details are not required.
- Linking to the relevant activity/course within the LMS.
- Granular progress updates (eg upload percentage that are more detailed than the listed requirements).
- Any content relating to MN => Moodle transfers.
Prototype
- blocks
-
MDL-75808 Update asynchronous sharing to MoodleNet to support linking to resource draft while file upload in progress
- Open
-
MDL-78271 Update sharing to MoodleNet so the processing and sending operates asynchronously
- Open
-
MDL-78422 Automatic cleanup of MoodleNet share progress
- Open
- is blocked by
-
MDL-79356 Share to MoodleNet modal stops working
- Closed
-
MDL-77296 Record MoodleNet share progress data in a consumable format
- Closed
- is duplicated by
-
MDL-75732 Add send status to MoodleNet share history
- Closed