# Feature OP-9041 - Notification settings: account-level defaults

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-9041

## Planning

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

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

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

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| 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

**As a** project member,  
**I want to** configure and update my default notification settings at my account level  
**so that** I can easily change settings for all my projects in one go, and have the ability to add project-specific exceptions if I want to

**Note**

  - This work package is tightly coupled with <mention class="mention" data-id="38669" data-type="work_package" data-text="#38669">\#38669</mention> for project-level notification settings via a dropdown in the project overview page.
  - The autosave feature is now out of scope for this work package.

**Visuals**  
*Default view:*

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22197/content"></div></figure>

*Clicking on "Add project-specific settings"*

<figure class="image op-uc-figure" style="width:50%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22128/content"></div></figure>

*Table of projects with specific settings*

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22129/content"></div></figure>

**Acceptance Criteria**

- [x] This new screen replaces the contents of the existing "Notification settings" menu item in the user account area.
- [x] The first section has almost the same block of options as are present in project-level settings (<mention class="mention" data-id="38669" data-type="work_package" data-text="#38669">#38669</mention>), with two important differences:
    - The first line has the words "For all projects," to remind the users in an explicit way that these are *not* project-level settings.
    - A second line explicitly explains that "these settings apply to all projects. You can create project-specific exceptions below."
- [x] The rest of the screen is the same as <mention class="mention" data-id="38669" data-type="work_package" data-text="#38669">#38669</mention> as mentioned, with the exception of the words "on all projects" replacing the words "in this project": *  
  \* "I am @mentioned" is always checked and is disabled; it cannot be unchecked. (Users will always receive a notification if they are explicitly mentioned anywhere).  
  \- "Assigned to me or accountable" is checked by default.
    - "Updates on watched items" (checked, disabled): the user is always notified of updates to watched items
    - "New work packages": the user is notified every time a new work package is created in any project
    - "All status changes": the user is notified of any status changes on any work package in any project
    - "All date changes": the user is notified of any date changes on any work package in any project
    - "All priority changes": the user is notified of any changes to the priority field on any work package in any project
    - "All new comments": the user is notified of new comments by anyone on any work package in any projectThe second block has six items:
- [x] The next block allows users to add project-specific settings and quickly view and understand which projects currently have these exceptions.
- [x] A text that explains how these settings override the global settings above.
- [ ] The "Add project-specific settings" button invokes a drop down list of all projects, with a search bar and check-boxes next to all projects, and an "Apply"button. This is the same drop down as in the project filters in Notification center (<mention class="mention" data-id="38611" data-type="work_package" data-text="#38611">\#38611</mention>).
- [x] Selecting projects and clicking on "Apply" will add them to a table with eight fixed rows.
- [x] Each project added represents a column. A subproject has three leading dots "…" (an ellipsis) to indicate that it is not a top-level project title.
- [x] A checkbox in the table means that notification condition is enabled for the project in the corresponding column.
- [x] The "I am @mentioned" and "Updates on watched items" rows are always checked and disabled.
- [ ] The last row for every project column has a floating button entitled "Restore defaults." Clicking this should produce a pop-up asking the user to confirm their decision to remove project-level settings. This popup should read: "Are you sure you want to remove project-specific settings for this project and revert to default settings?" with two options: "Yes, revert to defaults" and "No, keep these settings".
- [ ] Any project-level settings set via the project overview dropdown (<mention class="mention" data-id="38669" data-type="work_package" data-text="#38669">\#38669</mention>) will appear as a column here.

**Out of Scope**

  - Settings related to the retention period for notifications in days will be moved to the instance-wide admin settings.
  - As a new standard for setting pages, the settings are saved progressively/asynchronously, which means no Save/Cancel buttons are no longer needed.
  - The usual green snackbar informs the user about changes being automatically saved. The text should be: "Notification settings updated". Ref:

<figure class="image op-uc-figure" style="width:75%;"><div class="op-uc-figure--content"><img class="op-uc-image" src="/api/v3/attachments/22130/content"></div></figure>

**Mockups in Figma**  
Figma screen for user account-level notification settings:

<https://www.figma.com/file/Zi5ZwMqJZY1kQ6Kq2nd4cZ/Notification-Settings?node-id=97%3A1914https://www.figma.com/file/Zi5ZwMqJZY1kQ6Kq2nd4cZ/Notification-Settings?node-id=97%3A1914>
