ccrma / webchuck-ide

A Web-Based Programming Sandbox for ChucK
https://chuck.stanford.edu/ide
MIT License
12 stars 2 forks source link

url and slider #3

Closed cchafe closed 11 months ago

cchafe commented 1 year ago

url for sharing .ck files slider GUI generation both work separately but not together

https://chuck.stanford.edu/ide/?url=https://ccrma.stanford.edu/~cc/sonify/HelloSineGUI.ck#

gewang commented 1 year ago

Hi Chris! Discussing this on the chuck dev Discord. From @celestebetancur "we are changing the old generator for the one that I implemented for slork and also, I am waiting for @fenglyfe to have virtual DOM, that way we can avoid the two extra steps generating the GUI" We will keep you posted!

By the way, we'd love to have some kind of "back to school" chuck hackathon before the Fall Quarter, perhaps in late August, to fix bugs and improve things on all fronts for the Fall Quarter (220a, 256a, etc.). Will have more info soon...

terryzfeng commented 11 months ago

This is now fixed in #6 ! Thank you Chris for testing it out!

terryzfeng commented 11 months ago

Reopening issue after further investigation:

terryzfeng commented 11 months ago

@cchafe Investigated the bug further and found out that p5js doesn't like the asynchronous loading of external files. I've updated the system to handle this a bit better. For external URLs, the Generate UI button will need to be hit once the file contents are loaded. Let me know if this works!

cchafe commented 11 months ago

Looking good, thanks! Other question: What's the status of safari, ok to use? (I don't have a mac)

terryzfeng commented 11 months ago

Yup! Safari is supported and works too (this includes Safari on iOS)