Content
View differences
Updated by Parimal Satyal almost 5 years ago
**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>
src="/api/v3/attachments/22181/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**
* This new screen replaces the contents of the existing "Notification settings" menu item in the user account area.
* The first section has almost the same block of options as are present in project-level settings (#38669), 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."
* The rest of the screen is the same as #38669 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:
* The next block allows users to set the retention period for notifications in days, with a text field (integer) for read notifications and a text field (integer) for unread notifications. The defaults are respectively 30 and 90 days.
* The next block allows users to add project-specific settings and quickly view and understand which projects currently have these exceptions.
* 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>).
* Selecting projects and clicking on "Apply" will add them to a table with eight fixed rows.
* Each project added represents a column. A subp roject has three leading dots "…" (an ellipsis) to indicate that it is not a top-level project title.
* A checkbox in the table means that notification condition is enabled for the project in the corresponding column.
* 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
**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>
<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**
* This new screen replaces the contents of the existing "Notification settings" menu item in the user account area.
* The first section has almost the same block of options as are present in project-level settings (#38669), 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."
* The rest of the screen is the same as #38669 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:
* The next block allows users to
* The next block allows users to
* 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>).
* Selecting projects and clicking on "Apply" will add them to a table with eight fixed rows.
* Each project added represents a column. A subp roject has three leading dots "…" (an ellipsis) to indicate that it is not a top-level project title.
* A checkbox in the table means that notification condition is enabled for the project in the corresponding column.
* 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