bug fixes and template adjustments

This commit is contained in:
Dennis Eichhorn 2021-07-31 17:20:48 +02:00
parent ba869896d8
commit 763cb61b8b
2 changed files with 58 additions and 1 deletions

View File

@ -0,0 +1,57 @@
# Specification
```json
{
"elements": [
{
"create_task": 1,
"type": 1,
"optional": 0,
"description": "",
"text": "",
"labels": [],
"values": []
}
]
}
```
e.g.
Task description - Labels/values - who? - until_when - when_actually - reference (e.g. task)
Should have a checklist status, usually set/checked with every change. But can also be manually set, e.g. if you want to cancel a checklist/close it without finishing it.
SURVEY!!!!!
```json
{
"elements": [
{
"type": 1,
"optional": 0,
"description": "",
"text": "",
"labels": [],
"values": []
}
]
}
```
## Type
* 1 = Headline
* 2 = Checkbox
* 3 = Radio
* 4 = Textfield
* 5 = Dropdown
## Text
Headline/question, ...
## Labels
In case this element has different labels

View File

@ -10,7 +10,7 @@
"require-dev": {
"phpunit/phpunit": ">=9.4",
"friendsofphp/php-cs-fixer": ">=3.0",
"squizlabs/php_codesniffer": ">=3.5",
"squizlabs/php_codesniffer": ">=3.6",
"phpmd/phpmd": ">=2.9",
"phpstan/phpstan": ">=0.12.58",
"phan/phan": ">=3.2.6"