Content
View differences
Updated by Henriette Darge over 4 years ago
**As** a user
**I want to** see at least one high-level reason of why notification has been sent
**so that** I can evaluate the importance of a notification.
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22143/content"></div></figure>
**Acceptance criteria**
* The author is shown as a link with the name (instead of the avatar).
* The reason of the notification is shown in an abbreviated form formĀ
* The full list of what to render on every changed is to be provided by <mention class="mention" data-id="72513" data-type="user" data-text="@Parimal Satyal">@Parimal Satyal</mention>
* Preliminary ideas:
* The preview is structured like:
* **Status** changed from New to **Closed** 1 hour ago by [Niels Lindenthal](https://community.openproject.org/www.openproject.org) and 2 other updates.
* For long texts and comments the diff is not shown.
* **Comment** added 1 hour ago by [Niels Lindenthal](https://community.openproject.org/www.openproject.org) and 2 other updates.
* **Description** changed 1 hour ago by [Niels Lindenthal](https://community.openproject.org/www.openproject.org) and 2 other updates.
* **Subject** changed 1 hour ago by [Niels Lindenthal](https://community.openproject.org/www.openproject.org) and 2 other updates.
* The sorting is done by the following priorities:
* Within an aggregated journal entry by the following priority:
* **Comment with @mention**
* **Comment without @mention**
* **Assigned to me**
* **Accountable set to me**
* **Status changed**
* **Priority changed**
* **Version changed**
* **Date changed**
* **Subject changed**
* **Description changed**
* **Assignee/Accountable changed (but not me)**
* **Files added**
* **Custom fields changed**
* **Parent changed**
* If the notification row aggregates multiple notifications, the change highest up in above's priority list is chosen. If two notification changes are tie for the same priority, the youngest one is used. The notification within the aggregated row from which the change is highlighted determine the user name and timestamp of the notification.
E.g. in a notification row that aggregates a version being changed one hour ago by user A and a comment with a mention two hours ago by user B, the change will display a comment with a mention was done two hours ago by user B.
* The importance of journal changes is also applied to the activity tab. e.g. "Assigned to" is always rendered before "Parent changed"
**Out of scope**
* Change the details in the daily email (_described in <mention class="mention" data-id="38948" data-type="work_package" data-text="#38948">#38948</mention> )_
**I want to** see at least one high-level reason of why notification has been sent
**so that** I can evaluate the importance of a notification.
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22143/content"></div></figure>
**Acceptance criteria**
* The author is shown as a link with the name (instead of the avatar).
* The reason of the notification is shown in an abbreviated form
* The full list of what to render on every changed is to be provided by <mention class="mention" data-id="72513" data-type="user" data-text="@Parimal Satyal">@Parimal Satyal</mention>
* Preliminary ideas:
* The preview is structured like:
* **Status** changed from New to **Closed** 1 hour ago by [Niels Lindenthal](https://community.openproject.org/www.openproject.org) and 2 other updates.
* For long texts and comments the diff is not shown.
* **Comment** added 1 hour ago by [Niels Lindenthal](https://community.openproject.org/www.openproject.org) and 2 other updates.
* **Description** changed 1 hour ago by [Niels Lindenthal](https://community.openproject.org/www.openproject.org) and 2 other updates.
* **Subject** changed 1 hour ago by [Niels Lindenthal](https://community.openproject.org/www.openproject.org) and 2 other updates.
* The sorting is done by the following priorities:
* Within an aggregated journal entry by the following priority:
* **Comment with @mention**
* **Comment without @mention**
* **Assigned to me**
* **Accountable set to me**
* **Status changed**
* **Priority changed**
* **Version changed**
* **Date changed**
* **Subject changed**
* **Description changed**
* **Assignee/Accountable changed (but not me)**
* **Files added**
* **Custom fields changed**
* **Parent changed**
* If the notification row aggregates multiple notifications, the change highest up in above's priority list is chosen. If two notification changes are tie for the same priority, the youngest one is used. The notification within the aggregated row from which the change is highlighted determine the user name and timestamp of the notification.
E.g. in a notification row that aggregates a version being changed one hour ago by user A and a comment with a mention two hours ago by user B, the change will display a comment with a mention was done two hours ago by user B.
* The importance of journal changes is also applied to the activity tab. e.g. "Assigned to" is always rendered before "Parent changed"
**Out of scope**
* Change the details in the daily email (_described in <mention class="mention" data-id="38948" data-type="work_package" data-text="#38948">#38948</mention> )_