πŸ’¬ 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

BugBattle.setFeedbackTypeOptions([
{
title: "Support",
description: "Get in touch with us. We are here to help.",
icon: "https://jssdk.bugbattle.io/res/support.svg",
action: () => {
alert("Open Intercom for example.");
},
},
{
title: "Report an issue",
description: "Something is broken? Let us know!",
icon: "https://jssdk.bugbattle.io/res/bug.svg",
action: () => {
BugBattle.startBugReporting();
},
},
]);

Check out the following documentation page for more information about the actions and workflows.

​

​