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

Review uses of the "I add an MOD activity to course "X" section "Y" and I fill the form with" and replace for generators

XMLWordPrintable

      There are many feature files using the step:

      I add an X activity to course "Y" section "Z" and I fill the form with

      Since MDL-79029, this step replaces the old one using the modchooser component.

      I add a "X" to section "Y" and I fill the form with:

      The new version is faster, does not require to be on a course pagem and does not need javascript. However, the replacement done in MDL-79029 did not evaluate if scenarios can be optimised.

      This issue is about detecting all uses of the "I add X to cause Y..." steps and:

      • Replace them by generators, if possible
      • Remove the javascript tag to the scenario, if possible.

      Technical shaping

      Searching the steps is easy with a regexp: I add a(.*) activity to the course. Moreover, most of them are updates in the MDL-79029 commits.

            Unassigned Unassigned
            tusefomal Ferran Recio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

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