-
Notifications
You must be signed in to change notification settings - Fork 627
Expand file tree
/
Copy pathconfigs.ts
More file actions
57 lines (55 loc) · 1.69 KB
/
configs.ts
File metadata and controls
57 lines (55 loc) · 1.69 KB
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
export const appId = 50315;
export const feedbackFrameUrl = 'https://admin-ignite.microsoft.com';
export const baseConfig: any = {
feedbackUiType: "NoSurface",
hostPlatform: "IFrame",
isDisplayed: true,
isEmailCollectionEnabled: false, // to enable email collection
isFileUploadEnabled: false, // to enable file upload function
isScreenshotEnabled: false, // to enable screenshot
isScreenRecordingEnabled: false, // to enable screen recording
invokeOnDismissOnEsc: false,
isFeedbackForumEnabled: false,
isMyFeedbackEnabled: false,
isThankYouPageDisabled: false,
}
export const ratingFeedbackConfig: any = {
...baseConfig,
initialFeedbackType: "Unclassified",
scenarioConfig: {
isScenarioEnabled: true,
scenarioType: "Custom",
questionDetails: {
questionUiType: "Rating",
questionInstruction: {
displayedStringInEnglish: "What did you think of this activity?",
displayedString: "What did you think of this activity?"
},
questionOptions: [
{
displayedStringInEnglish: "Boring",
displayedString: "Boring"
},
{
displayedStringInEnglish: "Not fun",
displayedString: "Not fun"
},
{
displayedStringInEnglish: "Kinda fun",
displayedString: "Kinda fun"
},
{
displayedStringInEnglish: "Fun",
displayedString: "Fun"
},
{
displayedStringInEnglish: "Super fun",
displayedString: "Super fun"
},
],
"questionUiBehaviour": [
"CommentNotRequired"
]
}
}
}