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

Add 'Copy to' option to the activity kebab menu in the course index

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.0
    • Course

      As a teacher
      I want to be able to duplicate an existing activity
      duplicate an existing activity

       

      This option will create a copy of the current activity in a different place in the same course.

      We follow current ‘duplicate activity’ feature behavior to decide which information linked to the activity is copied.

       

       

      Prototype: There is no specific prototype to copy activities, so pointing to https://www.figma.com/proto/OfCvqK069Oz6Fvqq2xcZWI/Create-a-course?node-id=2905%3A744&scaling=min-zoom

       

      Acceptance criteria:

      1. A modal should be shown for the user to choose the destination.
        1. User will see the whole structure of the course in the modal (similar to the course index)
        2. Selecting an activity or section will enable the ‘Copy’ button.
        3. The destination of the new activity will be a position after the selected activity, or at the beginning of the selected section.
        4. All sections except the selected one (the source) will be collapsed.
        5. All labels will be shown in the modal. ‘(Untitled)’ will be shown for labels with empty title.
        6. While performing the action we will show a message to let the user know it could take a while.  The message will "block" the user activity.
      1. Once the action is finished:
        1. The user stays in the same ‘source’ position.
        2. A toast notification will be shown once the action has been completed.
      2. The visibility of an activity could change when moving to a different section based on the visibility of the source and destination sections.
        1. Moving from visible to hidden section: 'Show on course page' -> 'Available but not shown on course page'
        2. Moving form hidden to visible section: 'Available but not shown on course page' -> 'Show on course page'.
      3. Some activity types do not support duplication. We will keep current behavior in those cases.

       

      Technical tasks:

      • "Move to" and "Copy to" modal component
      • Component to support create activity course state update
      • Add cm_copy state action

            Unassigned Unassigned
            amaia Amaia Anabitarte
            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.