Hi Botpress team,
I'm trying to build a bot on your platform since a couple weeks and I found a couple issues in the Botpress Studio:
Your software is feature-rich and promising but the editing experience is sometimes nerve-wrecking.
1. Backspace deletes entire node without warning
It happened to me multiple times that I was working on an autonomous node's instructions. Due to some lag / issue the instructions window lost focus and instead the node gained focus and was immediately deleted because I guess the last input I gave was a backspace. In most cases I was able to recover the node but just now I lost 2 hours of work because the Ctrl+Z wouldn't work anymore.
2. Studio freezes and shows full black screen
It happened to me also multiple times already that the studio freezes completely and I see in the Console that message. Only a page refresh solves the issue and some edits were lost.
Console:
vendor-7bcd6c2.js:50852 Error: Minified React error #300; visit
https://reactjs.org/docs/error-decoder.html?invariant=300 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at Xh$4 (vendor-7bcd6c2.js:64515:13)
at dj$1 (vendor-7bcd6c2.js:65218:42)
at Wk$5 (vendor-7bcd6c2.js:67316:88)
at Vk$1 (vendor-7bcd6c2.js:67018:13)
at Uk$5 (vendor-7bcd6c2.js:67009:7)
at Jk$1 (vendor-7bcd6c2.js:66996:9)
at Ok$4 (vendor-7bcd6c2.js:66759:82)
at Fk$4 (vendor-7bcd6c2.js:66815:30)
at jg$1 (vendor-7bcd6c2.js:63725:17)
at vendor-7bcd6c2.js:66653:24
3. Window "updated" / "refreshes" by itself
Once in a while the botpress studio rerenders itself completely and therefore loosing focus of the current editable field. I think it's a react state change issue you are having there. Also these re-renders make the editing experience quite a balancing act.
I started to write all prompts and instructions in local files again, because editing live is too dangerous.