Add placeholder field and user_autocomplete type to plugin manifest (#7817)

* Add placholder field and user_autocomplete type to plugin manifest

* user_autocomplete -> username
Этот коммит содержится в:
Joram Wilander
2017-11-13 11:38:16 -05:00
коммит произвёл Harrison Healey
родитель ae8fd37332
Коммит 7304a61ef5
2 изменённых файлов: 11 добавлений и 0 удалений

Просмотреть файл

@@ -76,6 +76,7 @@ func TestManifestUnmarshal(t *testing.T) {
Type: PLUGIN_CONFIG_TYPE_DROPDOWN,
HelpText: "thehelptext",
RegenerateHelpText: "theregeneratehelptext",
Placeholder: "theplaceholder",
Options: []*PluginOption{
&PluginOption{
DisplayName: "theoptiondisplayname",
@@ -104,6 +105,7 @@ settings_schema:
type: dropdown
help_text: thehelptext
regenerate_help_text: theregeneratehelptext
placeholder: theplaceholder
options:
- display_name: theoptiondisplayname
value: thevalue
@@ -129,6 +131,7 @@ settings_schema:
"type": "dropdown",
"help_text": "thehelptext",
"regenerate_help_text": "theregeneratehelptext",
"placeholder": "theplaceholder",
"options": [
{
"display_name": "theoptiondisplayname",
@@ -178,6 +181,7 @@ func TestManifestJson(t *testing.T) {
Type: PLUGIN_CONFIG_TYPE_DROPDOWN,
HelpText: "thehelptext",
RegenerateHelpText: "theregeneratehelptext",
Placeholder: "theplaceholder",
Options: []*PluginOption{
&PluginOption{
DisplayName: "theoptiondisplayname",
@@ -241,6 +245,7 @@ func TestManifestClientManifest(t *testing.T) {
Type: PLUGIN_CONFIG_TYPE_DROPDOWN,
HelpText: "thehelptext",
RegenerateHelpText: "theregeneratehelptext",
Placeholder: "theplaceholder",
Options: []*PluginOption{
&PluginOption{
DisplayName: "theoptiondisplayname",