Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3901

Support insights action URL

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.5
    • 4.0.0
    • UX (User eXperience)
    • Hide

      This issue only needs to be tested in 1 device.

      1. In the app, login with a user that has a notification about "insights". E.g. a notification about upcoming activities due. You can use the user specified in the restricted comment.
      2. Go to the notifications tab and search the insights notification.
      3. Click the link to go to the activity. Check that the activity is opened in the app.
      4. Go back to the notification and click the "Yes" button. Check that you see a Toast saying that the feedback has been sent.
      5. Click the "No" button. Check that you see a Toast saying that the feedback has been sent.
      Show
      This issue only needs to be tested in 1 device. In the app, login with a user that has a notification about "insights". E.g. a notification about upcoming activities due. You can use the user specified in the restricted comment. Go to the notifications tab and search the insights notification. Click the link to go to the activity. Check that the activity is opened in the app. Go back to the notification and click the "Yes" button. Check that you see a Toast saying that the feedback has been sent. Click the "No" button. Check that you see a Toast saying that the feedback has been sent.
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

    Description

      In the upcoming activities notifications we receive a URL like this:

      https://mysite.com/report/insights/action.php?action=viewupcoming&predictionid=2811&forwardurl=https%3A%2F%2Fmysite.com%2Fmod%2Fchat%2Fview.php%3Fid%3D117

      We can probably support this URL in the app using the report_insights_action_executed and then redirecting to the activity (if it's supported).

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          36 kB
        2. screenshot-2.png
          screenshot-2.png
          35 kB
        3. screenshot-3.png
          screenshot-3.png
          144 kB
        4. screenshot-4.png
          screenshot-4.png
          109 kB

        Activity

          People

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              22/Apr/22