Content
View differences
Updated by Parimal Satyal about 1 year ago
**As an** OpenProject user
**I want to** avoid inadvertently marking all my notifications as read
**So that** I don't lose valuable information such as which work packages need my attention
**Context**
This is a short-term solution to fix two problems:
* The 'Mark as read' button is too long and the buttons overlap on mobile
* This will eventually be replaced with an icon button in the scope of Primerised sub-headers ##60332
* There is no warning to the user before the action is executed
* There will eventually be an undo action for this, so no warning will be necessary: ##61404
**Acceptance criteria**
In Notification center,
* _\[open\] Change the label on the Mark all as read' button to "Clear all"_
* DE: "Liste leeren" _'Tout effacer' in French_
* FR: "Vider la liste"
* ES: "Leer todos" _'Eingang leeren' in German_
* Show a native browser confirmation with the following text:
* Message: "This will mark all notifications in this view as read. Are you sure you want to do this?"
<br>
**Technical notes**
* Please update existing translation strings instead of creating a new one:
* Key: `js.notifications.center.mark_all_read`
**Permissions and visibility considerations**
* None
**I want to** avoid inadvertently marking all my notifications as read
**So that** I don't lose valuable information such as which work packages need my attention
**Context**
This is a short-term solution to fix two problems:
* The 'Mark as read' button is too long and the buttons overlap on mobile
* This will eventually be replaced with an icon button in the scope of Primerised sub-headers ##60332
* There is no warning to the user before the action is executed
* There will eventually be an undo action for this, so no warning will be necessary: ##61404
**Acceptance criteria**
In Notification center,
* _\[open\] Change the label on the Mark all as read' button to "Clear all"_
* DE: "Liste leeren"
* FR: "Vider la liste"
* ES: "Leer todos"
* Show a native browser confirmation with the following text:
* Message: "This will mark all notifications in this view as read. Are you sure you want to do this?"
<br>
**Technical notes**
* Please update existing translation strings instead of creating a new one:
* Key: `js.notifications.center.mark_all_read`
**Permissions and visibility considerations**
* None