-
Notifications
You must be signed in to change notification settings - Fork 291
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
105 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,72 @@ | ||
{ | ||
"uiSchema": { | ||
"assignees": { | ||
"ui:classNames": "non-orderable", | ||
"ui:options": { | ||
"orderable": false | ||
}, | ||
"items": { | ||
"roundRobin": { | ||
"assignees": { | ||
"ui:classNames": "non-orderable", | ||
"ui:options": { | ||
"label": false | ||
"orderable": false | ||
}, | ||
"items": { | ||
"ui:options": { | ||
"label": false | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"description": "Streamlines managing assignment for incidents or user support", | ||
"properties": { | ||
"roundRobinGroupName": { | ||
"type": "string", | ||
"default": "default", | ||
"title": "Round Robin Group Name", | ||
"description": "The group name serves as a unique identifier for managing the round-robin order of assignees. Make it unique among all active Thread-Mate plugins." | ||
}, | ||
"assignees": { | ||
"type": "array", | ||
"description": "List of assignees provided in the format {id}:{display name}, such as 'U02KKBR5PE1:Matt'.", | ||
"items": { | ||
"type": "string" | ||
"roundRobin": { | ||
"type": "object", | ||
"properties": { | ||
"assignees": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"minItems": 1 | ||
}, | ||
"groupName": { | ||
"type": "string", | ||
"default": "default" | ||
} | ||
}, | ||
"title": "Assignees" | ||
"required": [ | ||
"assignees" | ||
] | ||
}, | ||
"dataSyncInterval": { | ||
"type": "string", | ||
"format": "duration", | ||
"default": "5s", | ||
"title": "Data Sync Interval" | ||
"pick": { | ||
"type": "object", | ||
"properties": { | ||
"userCooldownTime": { | ||
"type": "string", | ||
"format": "duration", | ||
"default": "3m" | ||
}, | ||
"messagesTemplate": { | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"configMapNamespace": { | ||
"type": "string", | ||
"default": "botkube", | ||
"title": "Config Map Namespace" | ||
"persistence": { | ||
"type": "object", | ||
"properties": { | ||
"syncInterval": { | ||
"type": "string", | ||
"format": "duration", | ||
"default": "5s" | ||
}, | ||
"configMapNamespace": { | ||
"type": "string", | ||
"default": "botkube" | ||
} | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"roundRobinGroupName", | ||
"assignees", | ||
"dataSyncInterval", | ||
"configMapNamespace" | ||
"roundRobin", | ||
"pick", | ||
"persistence" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters