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

Support insights action URL

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for testing
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.5
    • Fix Version/s: None
    • Component/s: UX (User eXperience)
    • Labels:
    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      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

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Integrator:
            Pau Ferrer Pau Ferrer
            Tester:
            Isabel Renedo Rouco Isabel Renedo Rouco
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: