https://discord.gg/botpress logo
Backspace deletes completely configured node
# 🤝help
s
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.
l
There should have been a warning message after the backspace was hit. You have to click on the big red confirm for anything to be deleted. Did this pop up not occur for you? @square-restaurant-14664 https://cdn.discordapp.com/attachments/1438186865176870952/1438191775347900597/C63D45E5-C7FB-4E31-8577-1923D68033E1.png?ex=6915fbf7&is=6914aa77&hm=7b66aae487a99ad5a3398ece72e6d305c35c5371e32a787b40b4f02ee20713f4&
For the black screen issue, normally clearing cache / session data tends to help fix those issues! Do try and let me know if it keeps going black screen.
s
Thx for the tip. I will try. No I don’t get the dialog - also now when I do it. It just deletes the nodes
s
For me that option was already selected. Unselect and select also doesn't change the behaviour. I can still delete nodes with simple backspace
w
Ok post the bug in #1115386631214616737