waterbearlang / waterbear

Visual block syntax for programming languages
http://waterbearlang.com/
358 stars 88 forks source link

Add query params #462

Open dethe opened 10 years ago

dethe commented 10 years ago

We need to re-implement the query parameters anyway in the development branch. Parameters come in two flavours, one to control which script is loaded:

example=name -> load and run the example
gist=id -> load and run the gist

and the other to control how the embedded script is displayed

fullScreen=true -> hide the block menu and script workspace (and other chrome?)
autoRun=true -> start the script running when it is loaded
blocksOnly=true -> only show the script workspace (useful when talking *about* blocks)

All embedded scripts should have additional chrome which let's them be opened in a full page Waterbear instance.

dethe commented 9 years ago

Gist query params are working on master branch now. Examples may be working, we need some examples to check. The rest are deferred until we have the UI functionality to be triggered.