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

Add model actions to clear models' predictions

XMLWordPrintable

    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-60022_master
    • Hide
      1. Go to "Site admin > Analytics > Analytics settings" and disable 'onlycli' setting
      2. Install testanalytics plugin git clone git://github.com/dmonllao/moodle-local_testanalytics.git local/testanalytics
      3. Go to admin/tool/analytics/index.php
      4. Enable "Binary" model if it is disabled and execute "Get predictions"
      5. Open the JS console
      6. Back in admin/tool/analytics/index.php execute "Clear predictions", press "Cancel", nothing should happen, execute "Clear predictions" again and now press "Clear predictions"
      7. You SHOULD see a "No predictions available yet" message in "Binary" model "Insights" column
      Show
      Go to "Site admin > Analytics > Analytics settings" and disable 'onlycli' setting Install testanalytics plugin git clone git://github.com/dmonllao/moodle-local_testanalytics.git local/testanalytics Go to admin/tool/analytics/index.php Enable "Binary" model if it is disabled and execute "Get predictions" Open the JS console Back in admin/tool/analytics/index.php execute "Clear predictions", press "Cancel", nothing should happen, execute "Clear predictions" again and now press "Clear predictions" You SHOULD see a "No predictions available yet" message in "Binary" model "Insights" column

      delete and clear options already exist in core_analytics\model, would be nice to expose these options in the UI (admin/tool/analytics/index.php), it would require a new action in admin/tool/analytics/model.php.

            dmonllao David Monllaó
            dmonllao David Monllaó
            Adrian Greeve Adrian Greeve
            Andrew Lyons Andrew Lyons
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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