Fifth
This commit is contained in:
+19
-23
@@ -5,7 +5,7 @@ module.exports = [
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"defaultValue": "Add/remove up to 9 items. Character limit is 10. If numbers go higher than 1000, use percentage."
|
||||
"defaultValue": "Add/remove/update up to 9 items. Name character limit is 40. If more than 10 characters, font goes smaller. If numbers go higher than 1000, use percentage."
|
||||
},
|
||||
|
||||
{
|
||||
@@ -18,42 +18,24 @@ module.exports = [
|
||||
{
|
||||
"type": "input",
|
||||
"messageKey": "ITEM_NAME",
|
||||
"label": "Name",
|
||||
"description": "Non-case sensitive. Use existing name to replace/remove",
|
||||
"defaultValue": ""
|
||||
},
|
||||
{
|
||||
"type": "input",
|
||||
"messageKey": "ITEM_SUCCESS",
|
||||
"label": "Success",
|
||||
"description": "Set success value. 0 keeps old value if available",
|
||||
"defaultValue": "0"
|
||||
},
|
||||
{
|
||||
"type": "input",
|
||||
"messageKey": "ITEM_FAIL",
|
||||
"label": "Fail",
|
||||
"description": "Set fail value. 0 keeps old value if available",
|
||||
"defaultValue": "0"
|
||||
},
|
||||
{
|
||||
"type": "toggle",
|
||||
"messageKey": "ITEM_PERCENTAGE",
|
||||
"label": "Show percentage",
|
||||
"defaultValue": false
|
||||
},
|
||||
{
|
||||
"type": "toggle",
|
||||
"messageKey": "ITEM_REMOVE",
|
||||
"label": "Remove item",
|
||||
"defaultValue": false
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"type": "section",
|
||||
"items": [
|
||||
{
|
||||
"type": "heading",
|
||||
"defaultValue": "Settings"
|
||||
},
|
||||
{
|
||||
"type": "slider",
|
||||
"messageKey": "RED_LIMIT",
|
||||
@@ -73,6 +55,20 @@ module.exports = [
|
||||
"min": 1,
|
||||
"max": 100,
|
||||
"step": 1
|
||||
},
|
||||
{
|
||||
"type": "toggle",
|
||||
"messageKey": "ITEM_PERCENTAGE",
|
||||
"label": "Show percentage",
|
||||
"description": "Disabled shows success/total. Enabled shows percentage instead",
|
||||
"defaultValue": false
|
||||
},
|
||||
{
|
||||
"type": "toggle",
|
||||
"messageKey": "ITEM_REMOVE",
|
||||
"label": "Remove item",
|
||||
"description": "Disabled adds/updates item. Enabled removes item",
|
||||
"defaultValue": false
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user