-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added basic support for serving snippets of code up to the UI #454
base: master
Are you sure you want to change the base?
Conversation
what kind of experience do we want here? If we agree that the block is basically an HTML/JS block and that editing HTML/JS is required, then things become much simpler. |
The way I would like to see this code used is to deliver carefully designed bits of HTML/JS to the user. The user would be able to adjust the position and size of the enclosing div by default; any other affordances would be provided by the delivered HTML/JS. Would it make sense for me to make a sample annotation macro? |
so, you would have a D3 chart that has some kind of drop down that populates with the available blocks that it could listen to? |
Sure!
|
@nikhan wrote, "Meaning that we'd have to create some kind of templating engine..." and I had a minor freakout :) So if I understand the discussion so far, this pull request is intended to lay the foundation for adding macros/comments to streamtools, but more work is required to get them in the GUI? If I'm wrong, please explain? |
yep, that's entirely right. but depending on how we want things to work in the interface, things in the backend may have to change. |
I think probably this needs a couple of examples before it's going to
|
so, for example:
returns