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

Always handle scheduling notifications in service instead of pages

    XMLWordPrintable

Details

    • Hide

      This issue only needs to be tested in 1 device.

      This issue has no impact on the user, it's a dev improvement. So the testing is basically to check that reminders still work.

      1. Login in the app and open the calendar.
      2. Open the top-right menu and click "Settings".
      3. Set the default notification time to 1 hour.
      4. Go back to calendar view and open the current day.
      5. Click to create a new event.
      6. Create a new event without duration and without deleting the default reminder. Set it to start 1 hour and 1 minute from the moment you send the data.
      7. Wait 1 minute. Check that a notification is triggered for the event (the default reminder).
      8. Now create a new event, this one to start 32 minutes from now.
      9. Go back to calendar monthly view, open the top-right menu and click "Settings".
      10. Set the default notification time to 30 minutes.
      11. Wait until it's 30 minutes to the second event. Check that a notification is triggered for the event (the default reminder).
      Show
      This issue only needs to be tested in 1 device. This issue has no impact on the user, it's a dev improvement. So the testing is basically to check that reminders still work. Login in the app and open the calendar. Open the top-right menu and click "Settings". Set the default notification time to 1 hour. Go back to calendar view and open the current day. Click to create a new event. Create a new event without duration and without deleting the default reminder. Set it to start 1 hour and 1 minute from the moment you send the data. Wait 1 minute. Check that a notification is triggered for the event (the default reminder). Now create a new event, this one to start 32 minutes from now. Go back to calendar monthly view, open the top-right menu and click "Settings". Set the default notification time to 30 minutes. Wait until it's 30 minutes to the second event. Check that a notification is triggered for the event (the default reminder).
    • MOODLE_39_STABLE
    • MOODLE_400_STABLE
    • Moodle App 4.0

    Description

      Right now, several pages and components use scheduleEventsNotifications to schedule the notifications of events displayed. It'd be better if this was handled by a calendar service.

      Attachments

        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