πŸ’¬
Feedback menu
Especially in live environments it's recommended to add your own custom feedback type options. The following code block shows a sample of two feedback type options "Support" and "Report an issue". This allows you to handle support inquiries differently, for example by opening intercom or a contact form.

Remote configuration

With Bugbattle v4 (and later) you can configure the feedback menu options remotely with our visual widget configurator.
The widget configuration is located within Bugbattle Dashboard / Project / Widget.

Configuration by code

1
BugBattle.setFeedbackTypeOptions([
2
{
3
title: "Support",
4
description: "Get in touch with us. We are here to help.",
5
icon: "https://jssdk.bugbattle.io/res/support.svg",
6
action: () => {
7
alert("Open Intercom for example.");
8
},
9
},
10
{
11
title: "Report an issue",
12
description: "Something is broken? Let us know!",
13
icon: "https://jssdk.bugbattle.io/res/bug.svg",
14
action: () => {
15
BugBattle.startBugReporting();
16
},
17
},
18
]);
Copied!
Check out the following documentation page for more information about the actions and workflows.
​

​

Last modified 2mo ago