[ADF-2211] added configuration filter for task header properties (#2914)

* [ADF-2211] added configuration filter for task header properties

* [ADF-2211] removed added configuration

* [ADF-2211] updated schema.json with the new attribute

* [ADF-2211] added schema check on build step of demo shell
This commit is contained in:
Vito
2018-02-06 14:53:50 +00:00
committed by Eugenio Romano
parent 84775804c0
commit 2080d75d51
5 changed files with 189 additions and 100 deletions

View File

@@ -30,6 +30,24 @@ Shows all the information related to a task.
The purpose of the component is to populate the local variable called `properties` (array of CardViewModel), with all the information that we want to display.
## Customise the property showed
By default all the property are showed :
***assignee***, ***status***, ***priority***, ***dueDate***, ***category***, ***parentName***, ***created-by***, ***created***, ***id***, ***description***, ***formName***.
It is possible to customise the showed property via the "app.config.json".
This is how the configuration looks like:
```json
"adf-task-header": {
"presets": {
"properties" : [ "assignee", "status", "priority", "parentName"]
}
},
```
In this way only the listed property will be showed.
## See also
- [Task Details model](task-details.model.md)