RADAR-Questionnaire icon indicating copy to clipboard operation
RADAR-Questionnaire copied to clipboard

Support aggregating of notifications

Open yatharthranjan opened this issue 3 years ago • 3 comments

Currently, the app schedules one notification for each task. It might be better to provide a single aggregate notification if there are multiple tasks at the same time because in this case most likely the users will tap one notification, go into the app, complete all the questionnaires and dismiss the remaining notifications as they do not have value anymore.

So a single notification (which aggregates multiple assessments having the same time) like Questionnaires Pending. Please open the app to complete them.

Questionnaires that are allowed to be aggregated in such a way can be flagged in the protocol. Some questionnaires we may not want this behaviour (in case they are urgent, require tapping on the notification explicitly, etc).

yatharthranjan avatar Mar 03 '22 13:03 yatharthranjan

@yatharthranjan Maybe adding a property like this to the protocol?

{
  "version": "0.1.9",
  "schemaVersion": "0.0.1",
  "name": "RADAR ART CARMA KCL s1",
  "healthIssues": ["ADHD"],
  "mergeNotifications": true,
  "protocols": [

or a flag that will allow notifications to be scheduled or not?

    "notification": {
          "enabled": true,
          "title": {
            "en": "Questionnaire time"
          },
          "text": {
            "en": "Please finish them within 3 days."
          }

What do you think?

mpgxvii avatar Apr 04 '24 15:04 mpgxvii

yes, I prefer the enable/disable method.

yatharthranjan avatar Jul 03 '24 10:07 yatharthranjan

@mpgxvii I think this is already supported?

yatharthranjan avatar Jan 22 '25 11:01 yatharthranjan