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

Expand target API so that we can notify users about what they can do to get predictions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.4
    • Fix Version/s: None
    • Component/s: Analytics
    • Labels:
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      The issue's summary is the functional explanation, translated to targets API this means that we can use is_valid_analysable to inform users with moodle/analytics:listinsights capability in $analysable context about the reason why they don't get predictions.

      This feature could be accessible from each model insights page (models without predictions in a specific context are hidden in report_insights if I remember correctly, we may need to change this) We can have a new message provider for this so users would disable these notifications separately to insights notifications.

      We could also split is_valid_analysable in two methods or change its return because in some cases users with moodle/analytics:listinsights don't have powers to change what would be required to change to start getting predictions.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dmonllao David Monllaó
                Participants:
                Component watchers:
                Elizabeth Dalton, David Monllaó
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: