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

Course editor: replace activity and section refresh webservices for fragment methods

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.2
    • 4.2
    • Course
    • 2
    • HQ Sprint 1.3 Moppies

    Description

      Since Moodle 4.0 the course editor frontend part uses two main modules to handle the edition tools:

      • core_course/actions: responsible for handling all non-reactive tools and the legacy formats
      • core_courseformat/courseeditor: the new reactive library that updates the course index and the course content

      Since the reactive implementation starts, the final goal is to replace all legacy actions with new ones as soon as possible. The most complex ones like moving elements, deleting, and creating sections are already migrated and others like indent are just deprecated (or leave it to third-party plugins).

      One of the major dependencies of the new reactive library is that it still rely on the old actions to refresh an activity or a section. This issue will implement proper fragment methods to get both activity and section HTML and JS without using the old YUI methods.

      There's a proof of concept of the highlight option migrated entirely to the topics format:

      https://github.com/ferranrecio/moodle/commit/9576978d6d825d6c1ef0d695cc9eef6f0173fea3

       

      Attachments

        Issue Links

          Activity

            People

              tusefomal Ferran Recio
              tusefomal Ferran Recio
              Carlos Escobedo Carlos Escobedo
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              Amaia Anabitarte, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 10 minutes
                  2d 10m