# Feature COMMS-148 - Basic functionality of work package "Reminders", scheduling "Reminder" notifications

Project: Stream Communicator
Status: closed
URL: https://community.openproject.org/work_packages/COMMS-148

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 15.2.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

| ID | Subject | Status | Decision |
| --- | --- | --- | --- |
| COMMS-171 | 80 chars as the max length for reminder notes seems too short | decided | Increase to 128 chars |

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| COMMS-145 | Define database model for reminders | Implementation | closed |  |  |  |
| COMMS-146 | Visualize reminders in notification center | Implementation | closed |  |  |  |
| COMMS-147 | Define reminders services and contracts | Implementation | closed |  |  |  |
| COMMS-156 | Add set/edit reminder button/dialog to workpackage page | Implementation | closed |  |  |  |
| COMMS-160 | Add email setting to send an email reminder immediately  | Implementation | closed |  | 15.2.0 |  |
| COMMS-163 | Remove reminder notifications from aggregation and have them as standalone | Implementation | closed |  |  |  |
| COMMS-164 | Add set/edit reminder button/dialog to workpackage split view in notification center | Implementation | closed |  |  |  |
| COMMS-165 | On mWeb there is no reminder set status shown | Implementation | closed |  |  |  |
| COMMS-166 | On mWeb the reminder note is not aligned properly | Implementation | closed |  |  |  |
| COMMS-167 | Remove muted style from reminder note so it stands out separate from relative time | Implementation | closed |  |  |  |
| COMMS-169 | Ensure reminders are included in notifications eager loading wrapper | Implementation | closed |  |  |  |
| COMMS-172 | Wrap reminder note so that it is visible | Implementation | rejected | Kabiru Mwenja |  |  |
| COMMS-173 | Update reminder notification template to more fitting design | Implementation | closed | Parimal Satyal | 15.3.0 |  |
| COMMS-175 | Update reminder email subject to include the note | Implementation | closed |  | 15.2.0 |  |

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| COMMS-188 | Bug | Remove permission restriction for users to set their own reminders | closed |  | 15.2.0 |  |  |
| COMMS-185 | Bug | Reminder menu item is not placed correctly | closed |  | 15.2.0 |  |  |
| COMMS-181 | Bug | The 'set reminder' action is available to users who are not signed in | closed |  | 15.2.0 |  |  |
| COMMS-180 | Bug | Reminders generate two or more lines for a work package in notification center, clicking one selects all | closed |  | 15.2.0 |  |  |
| COMMS-144 | Task | Define database model for reminders | closed | Kabiru Mwenja |  |  |  |
| COMMS-170 | Code maintenance | Extract remind at date time error prep to unit testable PORO | rejected | Kabiru Mwenja |  |  |  |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/hC75Mf34GcQ2LFdm2pQu0l/Reminders?node-id=0-1 |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Work package page**

  - In the toolbar of a work package there is a menu item **Set reminder.**

  - This is indicated by a new icon (to be defined)

  - Clicking on the action opens a modal to create a reminder, with:
    
      - Date: date input
    
      - Time: time input
    
      - Note: an optional one-line text field
        
          - *\[open\] This text field has a max width of 80 characters (to be updated)*

  - Any date can be selected for a reminder; it is not limited to working days.

  - The set reminder button has two states:
    
      - Default: reminder not set
    
      - Reminder set: the icon button has a badge to indicate a set reminder
        
          - Clicking on this goes to edit mode

  - The 'Mark as read' icon on a work package view will mark *all* notifications associated with it as read. This includes reminders.

**Notification center**

  - Reminders appear as a regular notification row with two specificities:
    
      - The notification reason is "Reminder"
    
      - The last row is a single line with two elements:
        
          - Reminder time shown in relative time, eg "3 hours ago."
        
          - If there is a note: "Note: {The entered note}"
            
              - The note is normally compelely visible and not truncated.
            
              - However, since the right split screen panel is resizable and thus the notification list can be made narrow, the note will be truncated if needed.

  - Clicking on a Reminder notification will open the work package in the Activity tab.

  - A reminder can be marked as read. The notification will then behave like any other notification:
    
      - The notification item will disappear from "Unread" but be visible in the "All" tab
    
      - The unread badge and the Mark as read actions will not be visible
    
      - The relative time will still show when the original item was scheduled, the same as for all other notifications
    
      - The reminder will be deleted from the work package, and the 'Set reminder' action will go back to default mode

  - In the sidebar, there is a new **Reminders** filter view below **Date alerts**.

  - Reminders are both personal and private. Nobody else can see or manage them. Not even admins.

  - There is a set reminders button as a standalone button in the workpackage in split-view in notification center 

**Account settings**

  - In Account settings → Email settings, under "Send me an email reminder"
    
      - Add option: "Immediately when I receive a personal reminder"
