Zendesk plugin that extracts tags and shows corresponding warnings. Inspired by zd-tag-warnings.
This plugin takes JSON configuration.
Why JSON? It was the most simple way to overcome App parameters limited by design. It's also a readable-enough format, sane (compared to YAML) and can be easily minified.
There are three parameters (at this moment) that can be configured, and only one of them is actually necessary:
-
Tags. It is an array of JSON objects, with the following parameters:
name
: Name of the tagstyle
: Name of the style that should be used (it no style matches, default will be used)desc
: The line that will be displayed to agents in the sidebarlink
: Optional link to the processes' handling documentation
-
Styles. It is an array of JSON objects, with the following parameters:
name
: Name of the style that will be matched againststyle
of tagstyle
: CSS that should be applied to the element
-
Default. It is an array of JSON objects, with the following parameters:
desc
: Default line to be displayed when there are no other tag triggersstyle
: Default style to be applied if there are no other styles