-
Notifications
You must be signed in to change notification settings - Fork 1
/
install.json
110 lines (110 loc) · 3 KB
/
install.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"resources": {
"head": [
{
"type": "style",
"src": "eager-feedback-app.css"
},
{
"type": "script",
"src": "eager-feedback-app.js"
}
]
},
"preview": {
"handlers": [
{
"options": ["*"],
"execute": "EagerFeedbackApp.setOptions(INSTALL_OPTIONS)"
}
]
},
"options": {
"properties": {
"email": {
"order": 1,
"title": "Email address to send feedback to",
"description": "Required. e.g. <em>your@email.com</em><br><small>Powered by <a href=\"http://formspree.io\" target=\"_blank\" class=\"with-inherited-color\"><strong>Formspree</strong></a></small>",
"type": "string",
"default": "your@email.com"
},
"feedbackButtonText": {
"order": 2,
"title": "Feedback button text",
"type": "string",
"default": "Feedback"
},
"location": {
"order": 3,
"title": "Feedback button location",
"type": "string",
"format": "radios",
"enum": [
"left-edge",
"right-edge",
"bottom-left-corner",
"bottom-right-corner"
],
"enumNames": {
"left-edge": "Left edge",
"right-edge": "Right edge",
"bottom-left-corner": "Bottom left corner",
"bottom-right-corner": "Bottom right corner"
},
"default": "right-edge"
},
"color": {
"order": 4,
"title": "Accent color",
"type": "string",
"format": "color",
"default": "#0099ff"
},
"headerText": {
"order": 5,
"title": "Header text",
"type": "string",
"default": "Share feedback"
},
"bodyText": {
"order": 6,
"title": "Body text",
"type": "string",
"format": "textarea",
"default": "How do you feel about this page?"
},
"feedbackPlaceholders": {
"order": 7,
"title": "Feedback prompt text",
"type": "object",
"properties": {
"negative": {
"order": 1,
"title": "Show this text when the “negative” smiley is selected",
"type": "string",
"default": "Oh no! We’re so sorry. How can we help?"
},
"neutral": {
"order": 2,
"title": "Show this text when the “neutral” smiley is selected",
"type": "string",
"default": "Hmm, how odd. Tell us more..."
},
"positive": {
"order": 3,
"title": "Show this text when the “positive” smiley is selected",
"type": "string",
"default": "Woohoo, thanks! So, what went well?"
}
}
},
"successText": {
"order": 8,
"title": "Thank you text",
"description": "This text will display after visitors enter their email.",
"type": "string",
"default": "Thanks for sharing that feedback! :)"
}
}
}
}