So this one is a bit tough to explain, so I’ll make a Loom. But essentially:
I have custom Javascript code to create a streaming effect for chat application. For some reason, the Javascript code is not properly working if I click on the “run” button in the UI. But, when I click “Test” on the SAME workflow in the no-code editor, it works. I’m just using 1 boolean variable to control the display of the streaming block (streaming block will play things out…then make the bool variable false to hide the streaming block).
It seems like this is a feature of WeWeb; you need to be in the preview for certain actions to work. It’s a terrible pattern, but WeWeb told me “it’s as intended”
Yeah, I needed to figure it out right then so I couldn’t wait for a solution haha
I had to refactor my code quite a bit, but it had something to do with WeWeb not handling the importing of a package correctly. But finally got it working