On February 12, 2022, a new version of the Feedybacky plugin appeared on GitHub and in the NPM repository, this time numbered 2.3. If you look at the changelog, you might think this release brings few changes, fixes, or improvements. And that is true: there really are only a few items in the file. Still, the changes are significant, because they add two completely new features that reporters can use to better express what they have to say.

In this article we will go through these two items and show how to make good use of them.

Screenshot editing

Sending a screenshot along with a report is a fundamental feature of the Feedybacky plugin and was one of the main motivations for building the tool. When analyzing reports, the rule "a picture is worth a thousand words" often applies, and in practice the screenshot really does speed up finding a solution. Still, we have always been aware that a "clean" image is not always enough, especially when the page contains many elements. In that case it feels natural for the user to mark the spot where they see something that caught their attention. The plugin lacked this feature, until now.

Version 2.3 introduces a boolean parameter, allowScreenshotModification, which enables the "Mark places" link shown next to the checkbox that turns screenshot capture on. You do not even have to pass this argument in the configuration, because its default value is true.

Location of the link that lets you edit the screenshot

When you click this extra link, the screenshot is taken right away. After a moment a modal window appears, showing the current view and an additional interface. Some of you may notice that the image is rather cramped, which can make drawing awkward. We know about it, and we will refine it as the plugin continues to be developed.

Modal window with the screenshot editing control panel

The user can pick from several colors and, once one is selected, draw on the screenshot to highlight whatever seems important or even write something. It is very important that the changes must be saved, which is what the dedicated button is for. Right next to it is an option to clear all the notes, and here too you need to save the "cleanup". Saved changes can be edited later: after closing the modal window, the reporter just clicks the "Mark places" link again. In addition, if the situation on the screen changes and that matters for the report, you can always use the option to generate the screenshot again.

You will easily notice that once you have gone into marking places on the image, sending the report afterwards is faster: the plugin does not take another screenshot right before sending. It does so only in the normal situation, when the user has not opened the modal window beforehand and does what they did until now (types the report and clicks "Send").

Speaking of which, do they really have to type?

Reporting with your voice

Yes, it sounds rather futuristic, but it is technically possible. Since version 2.3 you can enable entering a report either as text or by voice in the Feedybacky plugin, using the microphone built into most laptops, for example. Before we describe how to turn it on and how it works, let's think about when it might be useful.

We know well that despite the desire to have everything "on paper" (even electronic paper), some people still strongly prefer to call rather than write emails. Often it is faster for them, or the matter they want to discuss is simply easier to explain out loud than in writing. Those people may want to choose the input mode based on the microphone. There is also a second case where it can help. Imagine you are thinking about how to develop your application or looking for inspiration for new features. New ideas usually come at unexpected moments, sometimes when we cannot comfortably write them down on a physical or on-screen keyboard. It is much easier then to record yourself and keep the thought that way, perhaps turning it into written text later, when you have a free moment.

So there are situations where the option to record yourself can be useful. Of course, there is still the matter of how the support team receives it. Text reports are much easier to search and process, but the most important thing is that the person reporting can convey their thoughts clearly.

That is enough of an introduction. Now let's get to specifics: how do you use this feature?

By default the voice option is turned off. So you need to use one or both of the new parameters for our plugin:

const feedybacky = new Feedybacky('feedybacky-container', {
    ...
    availableMessageTypes: ['text', 'voice'],
    activeMessageType: 'text',
    ...
});

The first of them, availableMessageTypes, contains an array of input methods for the report. The default value is just "text", but as you can see, we can add "voice" too, which makes the tabs visible in the plugin window. You can also choose the default way of communicating. Usually this will be "text" as well, but nothing stops you from changing it to "voice".

Plugin with the tabs enabled

After choosing this mode, the reporter sees a button that starts recording. Once it is pressed, the microphone is activated (the web browser may ask the user for permission) and the voice starts being recorded. You can end the process by pressing the button with the square, and afterwards you can also listen to your recording. When you start a new recording, the old one is deleted, so keep that in mind. The maximum length of a recording is 10 seconds, and if you try to send a longer clip, the plugin reports an appropriate error. It may also be interesting that even if the reporter has recorded something and then thought it over and decided they would rather send text, they can do that easily: just switch tabs, type the report by hand, and send it.

When sending, both the message (a WAV file encoded with Base64) and its type are transmitted. This is needed to detect later how to display the message. In the Feedybacky portal, voice reports get an appropriate note and the option to play back the recorded sound.

View of a voice message in the Feedybacky portal

How to get the changes

As always, you can download the new version of the plugin from GitHub or NPM. You do not need to download any packages to your disk at all, because you can always use a CDN:

<script src="https://cdn.jsdelivr.net/npm/feedybacky@2.3/js/feedybacky.min.js" integrity="sha384-tUHIX3ubCIE93RkTwrdKx2o1bJBcW0ws3b1EwLuU3FdI/5DLaeOdrdkcxHCW3b7H" crossorigin="anonymous"></script>

Summary

As you can see, there really are not many changes, but they are significant and let the reporter convey their feedback more precisely. This is not our last word on these features. They will keep being developed, and we will watch how much reporters actually end up using them.

What do you think of the new changes? We are very curious about your feedback. You can send us your comments through the FEF on Feedybacky.com or by email. If you have any questions about using the plugin, do not hesitate to ask.

Best regards and thank you, Jakub Rojek.