[ADF-5379] Add a way to disable WS notifications (#6924)

* [ADF-5379] Add a way to disable WS notifications

* Update app-notifications.service.ts

* Update task-filters-cloud.component.spec.ts

* Move flag to upper level in config.json

* Create new notification section in app.config.json

* Update implementation

* Improve naming
This commit is contained in:
davidcanonieto
2021-05-05 14:14:44 +01:00
committed by GitHub
parent 884d646078
commit 550a223164
6 changed files with 51 additions and 7 deletions

View File

@@ -18,6 +18,7 @@ Shows all available filters.
- [Details](#details)
- [Filtering APS2 task filters](#filtering-aps2-task-filters)
- [Showing Filter Counters](#showing-filter-counters)
- [Updating Filter Counters](#updating-filter-counters)
- [See also](#see-also)
## Basic Usage
@@ -66,7 +67,7 @@ as the value of `filterParam` as shown in the table below:
| id | string | The id of the task filter |
| name | string | The name of the task filter, lowercase is checked |
| key | string | The key of the task filter |
| index | string | The zero-based position of the filter in the array. |
| index | string | The zero-based position of the filter in the array |
### Showing Filter Counters
@@ -74,6 +75,20 @@ By default, filter counters are hidden. If you want to display filter counters y
![](../../docassets/images/task-filter-counter.png)
### Updating Filter Counters
If you want to disable notification bubbles as task filters change you can change it directly from the app.config.json.
```json
{
...
"notifications": true
...
}
```
![](../../docassets/images/update-filter-bubble.png)
## See also
- [Task filter Cloud Service](../services/task-filter-cloud.service.md)