Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support aggregating of notifications #1448

Open
yatharthranjan opened this issue Mar 3, 2022 · 2 comments
Open

Support aggregating of notifications #1448

yatharthranjan opened this issue Mar 3, 2022 · 2 comments
Assignees

Comments

@yatharthranjan
Copy link
Member

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).

@mpgxvii
Copy link
Member

mpgxvii commented Apr 4, 2024

@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 mpgxvii self-assigned this Apr 4, 2024
@yatharthranjan
Copy link
Member Author

yes, I prefer the enable/disable method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants