64 lines
2.1 KiB
JSON
64 lines
2.1 KiB
JSON
{
|
||||
|
|
"id": "send-message",
|
|||
|
|
"name": "Send Message",
|
|||
|
|
"version": "1.0.0",
|
|||
|
|
"proddash": ">=1.4.0",
|
|||
|
|
"description": "PIN-protected sending to Slack, ProdCom and any other messaging module, from one tile",
|
|||
|
|
"client": "client.js",
|
|||
|
|
"server": "server.js",
|
|||
|
|
"style": "style.css",
|
|||
|
|
"minSize": {
|
|||
|
|
"w": 2,
|
|||
|
|
"h": 2
|
|||
|
|
},
|
|||
|
|
"defaultSize": {
|
|||
|
|
"w": 3,
|
|||
|
|
"h": 3
|
|||
|
|
},
|
|||
|
|
"configGroups": {
|
|||
|
|
"PIN": {
|
|||
|
|
"toggle": "pinEnabled",
|
|||
|
|
"help": "Nothing leaves this machine until the PIN is entered on a Send message or Quick replies tile. One PIN unlocks every messaging tile on that dashboard page — Send message, Quick replies and Slack's reaction menu — until Auto-lock minutes pass without a send; a reload asks again. With the PIN switched off, the tiles send without asking. Sending stays refused while the PIN is on but not yet set."
|
|||
|
|
},
|
|||
|
|
"Presets": {
|
|||
|
|
"help": "Quick replies are one per line, Label | Message. Add | platform:destination to bind one — slack:#production or prodcom:FOH — and that reply always goes there, whichever transcript is selected. Quick emojis are sent as a message of their own with one press from the Send message tile."
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"configSchema": {
|
|||
|
|
"pinEnabled": {
|
|||
|
|
"type": "switch",
|
|||
|
|
"label": "PIN",
|
|||
|
|
"default": true,
|
|||
|
|
"group": "PIN"
|
|||
|
|
},
|
|||
|
|
"pin": {
|
|||
|
|
"type": "password",
|
|||
|
|
"label": "PIN",
|
|||
|
|
"default": "",
|
|||
|
|
"group": "PIN",
|
|||
|
|
"help": "4–8 digits; the pad unlocks by itself once they are all in."
|
|||
|
|
},
|
|||
|
|
"pinIdleMinutes": {
|
|||
|
|
"type": "number",
|
|||
|
|
"label": "Auto-lock (min)",
|
|||
|
|
"default": 10,
|
|||
|
|
"group": "PIN"
|
|||
|
|
},
|
|||
|
|
"quickReplies": {
|
|||
|
|
"type": "text",
|
|||
|
|
"label": "Quick replies",
|
|||
|
|
"default": "",
|
|||
|
|
"group": "Presets",
|
|||
|
|
"help": "One per line: Label | Message. Add | slack:#channel or | prodcom:Channel to bind one to a destination."
|
|||
|
|
},
|
|||
|
|
"quickEmojis": {
|
|||
|
|
"type": "string",
|
|||
|
|
"label": "Quick emojis",
|
|||
|
|
"default": "👍 🙏 ✅ 👀 🎉",
|
|||
|
|
"group": "Presets",
|
|||
|
|
"help": "Emoji separated by spaces, eight at most. Sent as plain text to whatever is selected."
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"instanceSchema": {}
|
|||
|
|
}
|