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\] _\[open\] Change the label on the Mark all as read' button to "Clear all"~~_ all"_
* ~~DE: DE: "Liste leeren"~~ leeren"
* ~~FR: FR: "Vider la liste"~~ liste"
* ~~ES: ES: "Leer todos"~~ 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?"
* When no unread notifications exist (and therefore the button doesn't do anything), the button goes into a disabled state.
<br>
**Technical notes**
* Please keep 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\]
* ~~DE:
* ~~FR:
* ~~ES:
* 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?"
* When no unread notifications exist (and therefore the button doesn't do anything), the button goes into a disabled state.
* Please keep
* Key: `js.notifications.center.mark_all_read`
**Permissions and visibility considerations**
* None