Adding a feedback button
We’ve made adding a feedback button for features much simpler. It’s as easy as adding the button to your UI and calling the requestFeedback
function.
In Bucket, we’ve supported collecting automated feedback for a while. It automatically shows a small feedback survey after a user has used a feature a configurable number of times. However, you can also want feedback on things not associated with a specific action in your UI like a dashboard with graphs, for example.
A Give Feedback button lets you manually collect feedback using a persistent button placed beside a feature. The button won’t trigger the feedback modal unless clicked, regardless of how many times a user has tried the feature.
This is what the button would look like in Bucket.
We’ve made implementation extremely simple. When you create a feature on Bucket, you get a feature key that you can use for flagging, adoption metrics, and feedback.
For example, the React SDK now returns a requestFeedback
function along with the existing isEnabled
variable, letting you easily add a button that opens the feedback widget when clicked.
Happy shipping!