rhasspy
rhasspy copied to clipboard
Web GUI Improvements for Raven
While playing around with Raven I noticed a few things in the GUI that could be better.
I basically only turn wakeword on when I am testing bacause I haven't gotten to a point where it doesn't randomly activates and annoys me. Whenever I turn it back on the wakeword id field says default, the list of wakewords is empty and I have to hit refresh to even see my non default named wakeword. If I select that, the wakeword id field still displays default. I am not sure if what is in that field even matters once I select one in the list, but I always replaced that with the name in he list.
What would make it better would be loading the settings from before i deactivated it from the profile file, as far as I know they stay in there, even if I deactivate it. Doing a list reload when I open the settings for Raven might also be nice, the first time it happened I wondered if my wakeword got deleted.
My guess is that the wakeword id field is used to select the current wakeword as well as which folder the recorded samples end up in. If that is the case, then I am not sure what the list below is for. It might be easier to use if just the list is used to select the current wakeword and where the recordings are saved and there would be a button or something to explicitly create a new entry in the list. Another way to solve the list/textfield confusion would be if the textfield updates when I select something in the list.
The last thing I wanted to write about is the fact that the option to save recordings for future use has no option at all inside the GUI, the only way I knew about that is because I read about it it being possible somewhere in the forum. It might be a good idea to include that in the GUI also, a simple checkbox to activate it and some kind of text that the folder name can be changed in the profile file directly would do it, there is next to no reason I see for changing the name of the folder, only thing that might be interesting would be if I could change where it saves them so I could direct them to some place on the network but since that is not an option as far as I know, folder name seems to be something that doesn't need to be on the GUI because it rarely matters.
I did my first test with Raven some days ago and was also kind of confused of its WebUI section. I would like to see something like @Daenara mentioned.
New UI is coming in 2.5.9 :+1:
Thank you, @synesthesiam. I am very excited about the new design 😄
I saw the new ui and it certainly looks better, but I found a few problems already.

Design wise it looks good, if you ignore the checkbox which should not hang around in the center of the screen. But there are 3 problems I noticed in the functionality of it. First off, my already existing wakeword (computer) is missing from the list, after the upgrade the list was empty. So I decided to add a new wakeword (test) which showed up, but since there is a way to listen to the recordings, I would have loved to have the play button and the re-record button directly after I record a wakeword, thought I am not sure it is possible. Lastly, I decided to delete my test wakeword via console, and ended up with it still being in the gui afterwards.
That combined with the fact that my old wakeword did not show up tells me that the folder is not scanned to display the list.
I fixed the first problem by saving a wakeword with the same name as my old one without recording anything. It then showed up and I could listen to my existing recordings. I got rid of the test wakeword the same way, after saving it again I could delete it from the gui.