--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/blockly/e099b9e9-3e71-470f-8dd5-0651aeec8e66n%40googlegroups.com.
Thank you, Ben, that sounds perfect!
Something we could definitely use some feedback on is how we handle the creation of the UI where the user can enter the description. Currently, we allow the developer to provide a workspace in which case they'd be responsible for creating this. Alternatively, if a container is provided, the init function would create a workspace which it injects inside it and a text input and button fixed at the top right corner of the viewport, which is probably not ideal.
Some possible alternatives would be to do something more like the workspace search plugin which overlays a text input (without a button) onto the workspace (although this uses an internal method getInjectionDiv https://github.com/google/blockly-samples/blob/2756a47a3c885a7621d7874ed535313bfbcdb494/plugins/workspace-search/src/workspace_search.ts#L144 from the WorkspaceSVG class)? Or should we go more of the code generator route and require the developer to provide their own UI for entering the description? Or perhaps use some other approach?
Thanks again!
To view this discussion visit https://groups.google.com/d/msgid/blockly/CACcO7QwpKJbO7JHsnJ03UTsPhVutu5Jv%2BvEj76PJs-ydmAqT5w%40mail.gmail.com.