Tasks
Description
Display a list based on configuration and perform various operation when click on that list item like below example.
Attributes
tile:taskstitle:-
tasks: [Array objects]tracker: Provide a tracker id to dispatch the data when click on task itemaction: add | open | edit. (when clicking task item) based on that describe popup behaviourmode: singleton | listlistItem: template for displaying list itemfilter: [Dispatch data filter]match: date template used to matchtracker: single tracker handletrackers: list of tracker handlesentryCondition:condition: processed against the dispatch to confirm match
title: Title for the tasks list item also allow template string to display from dispatchessubtitle: Subtitle for tasks list item also allow template string to display from dispatchestaskIcon: Provide an icon name to display in front of list itemicon: Provide an icon name to display in with title elementsdisplay: [Array]condition: tested against the dispatch (singleton) or list of dispatchestitle: Title for the tasks list item also allow template string to display from dispatchessubtitle: Subtitle for tasks list item also allow template string to display from dispatchesicon: displayed with titletaskIcon: circle | circle checkstatus: complete | new | activestyles: style for following objects e.g rootclasses: classes for following objects e.g root, task, icon, title, subtitleanimation: animation for following objects e.g root, task, icon, title, subtitle
stylesclassesanimationconnect: [connection object]standards fieldsource: Data source connection name
Rule properties
props.count
Example
{
"tile": "tasks",
"title": "Task tile Testing",
"connect": {
"source": "wellness"
},
"styles": {
"task": {
"backgroundColor": "#afa3a3"
},
"list": {
"backgroundColor": "white"
},
"title": {
"color": "white"
}
},
"classes": {
"root": "my-4"
},
"tasks": [
{
"title": "Do it!",
"tracker": "7ba9a7b5-c5c8-420e-8c49-58e2c962205d",
"action": "open",
"filter": {
"tracker": "tasks"
},
"display": [
{
"condition": "true",
"title": "Enter something",
"subtitle": "let's get going!",
"icon": "fal fa-clipboard",
"status": "new"
}
]
},
{
"action": "open",
"mode": "list",
"tracker": "7ba9a7b5-c5c8-420e-8c49-58e2c962205d",
"title": "Task 2",
"subtitle": "Hello from subtitle task 2",
"taskIcon": "heart",
"filter": {
"match": "YYYY-MM-DD",
"tracker": "wellness",
"condition": "user is admin"
},
"display": [
{
"status": "new",
"icon": "star"
}
]
}
]
}