Content
View differences
Updated by Niels Lindenthal almost 5 years ago
As a project member
I want to see the number of unread notifications in the work packages view.
So that I can better decide whether I want to have a look at these changes.
**Acceptance criteria**
* [x] The number of relations and watchers are displayed in brackets. ([Pull Request](https://github.com/opf/openproject/pull/9582))
* [x] The number of unread notifications are shown inside a dot within the activity header. ([Pull Request](https://github.com/opf/openproject/pull/9582))
* [x] The activities with unread notifications are highlighted within the activity list. ([Pull Request](https://github.com/opf/openproject/pull/9582))
* [x] There can be activities that the user did not subscribe to. Those have no dot. ([Pull Request](https://github.com/opf/openproject/pull/9582))
* [ ] Scrolling: Always scroll to the oldest unread notification + the activity before (to create more context). Keep in mind the user's individual order settings (chronological/reverse chronological).
* [ ] In case a deep link is followed including an activity anchor, the activity anchor overrules the notification scrolling.
* [ ] Unread notifications are automatically switched to status "Read" after x seconds but the notifications are still marked.
* [ ] The above behaviour is present regardless of where the work package page was opened from (notification center, work package list, board, my page, ...)
**Open**
* [ ] Opening How is the behaviour reflected in the Overview tab and in fullscreen mode? In both places, the specified behaviour might lead to users missing a work package should not remove notification:
* In the Overview tab, the three most recent activities are displayed. It would be an option to also highlight the unread notification badges notifications present there and only treat those notifications that are displayed in the activity.
**Out of scope**
overview tab as read after some time has passed. But this might be a wrong assumption as the activities are oftentimes not visible until the user scrolls down.
* Dealing In fullscreen mode, the activities are displayed by default and following the acceptance criteria, we would scroll to the oldest unread notification. But the user might be preoccupied with information in the situation left corner, e.g. reading the description, and leave the view without having glanced at the activities.
* On smaller screens the activity tab is below the overview content. In that case, users might not even see the activity tab, but the notifications are removed even though marked as read anyways.
* In the user didn't have notification center: When I click on a chance to notification, it is currently directly marked as read them.
(technically **before** the split screen is opened), resulting in no bubbles in the activity tab. I guess this should be avoided?
**Out of scope**
* Add a button "Mark as read" to the toolbar.
* Changing the buttons in the toolbar. We keep the current styling for now.
* Flagging work packages
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21964/content"></div></figure>
**Visuals**
https://www.figma.com/file/54psSIYZuUgcyXrpGxHB1Z/UX-Wireframes?node-id=47%3A591
I want to see the number of unread notifications in the work packages view.
So that I can better decide whether I want to have a look at these changes.
**Acceptance criteria**
* [x] The number of relations and watchers are displayed in brackets. ([Pull Request](https://github.com/opf/openproject/pull/9582))
* [x] The number of unread notifications are shown inside a dot within the activity header. ([Pull Request](https://github.com/opf/openproject/pull/9582))
* [x] The activities with unread notifications are highlighted within the activity list. ([Pull Request](https://github.com/opf/openproject/pull/9582))
* [x] There can be activities that the user did not subscribe to. Those have no dot. ([Pull Request](https://github.com/opf/openproject/pull/9582))
* [ ] Scrolling: Always scroll to the oldest unread notification + the activity before (to create more context). Keep in mind the user's individual order settings (chronological/reverse chronological).
* [ ] In case a deep link is followed including an activity anchor, the activity anchor overrules the notification scrolling.
* [ ] Unread notifications are automatically switched to status "Read" after x seconds but the notifications are still marked.
* [ ] The above behaviour is present regardless of where the work package page was opened from (notification center, work package list, board, my page, ...)
**Open**
* In
**Out of scope**
* On smaller screens the activity tab is below the overview content. In
* In
**Out of scope**
* Changing the buttons in the toolbar. We keep the current styling for now.
* Flagging work packages
<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/21964/content"></div></figure>
**Visuals**
https://www.figma.com/file/54psSIYZuUgcyXrpGxHB1Z/UX-Wireframes?node-id=47%3A591