jcrodriguez1989 / shinyWYSIWYG

ShinyApp: Shiny What You See Is What You Get (WYSIWYG) editor
28 stars 7 forks source link

Having to restart after pressing :generate" if there is any error in the code? #2

Closed bes827 closed 3 years ago

bes827 commented 3 years ago

Hello thanks for the great app. I noted that the app disconnects from the server if I press generate and there is any mistake in the code, then I have to restart all over. One way is to save the work and load it if it gets disconnected but is there an easier way to avoid that?

thanks again

jcrodriguez1989 commented 3 years ago

Hi @bes828 ! What kind of mistake in the code? Could you tell me an easy step-through to reproduce your issue? thanks!

bes827 commented 3 years ago

thanks for the quick reply I am just trying to write a simple app to add numbers (please see the first 2 screen shots). there are probably some errors in the code. when I click generate, I get an error saying disconnected from server

image

image

image

jcrodriguez1989 commented 3 years ago

thanks for your finding! Could you try it now? :)

bes827 commented 3 years ago

now I actually do not see the cursor to drag the elements in the UI. Everything looks the same but the mouse cursor does not allow adding elements such as numeric input into the canvas.

thanks really for this app, I believe it is very useful for people like me that do not have strong experience with shiny yet, it allows deployment of (at least) simple apps with minimal effort. plus it teaches how shiny works in a nice way. would you consider posting few more examples? or even couple of short videos?

jcrodriguez1989 commented 3 years ago

thanks for your time, the last seemed to be a really strange issue. I think it has been solved now. I would really appreciate if you could test it again :+1: .

this app was mainly built to be used as a tool to learn the basics about shiny apps development. I would highly recommend you to use it just for this purpose, and meanwhile, read documentation or tutorials to learn to build powerful shiny apps :)