Toolbox Survey

343 views
Skip to first unread message

Abby Schmiedt

unread,
Apr 13, 2020, 1:00:00 PM4/13/20
to Blockly
Hi Everyone,

We are looking at possibly updating some parts of our toolbox and I wanted to know what features or changes you would find most helpful? 

Thanks,
Abby

Yasser Benfoughal

unread,
Apr 13, 2020, 1:10:42 PM4/13/20
to Blockly

Maybe not THE toolbox feature, But I'd love the ability to have a separate toolbox that we can create on each block. That way we can use the new toolbox Blocks only when we place our main block from the original block. It would facilitate a lot of work. I know we can use mutators to achieve complex blocks but this would be a lot easier
.

1.jpg

Coda Highland

unread,
Apr 13, 2020, 2:38:56 PM4/13/20
to blo...@googlegroups.com
A programmatic API would be nice. I don't mind having XML fragments for the individual blocks, but having to rewrite the entire toolbox XML to add top-level categories is irksome, and building an XML string out of my data structures only to have it deserialized back into other data structures seems a bit silly for dynamic categories. I've hacked around this in my own project by building a dynamic category manager, but it seems like something that ought to be a builtin.

/s/ Adam

--
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 on the web visit https://groups.google.com/d/msgid/blockly/d6c6b6ea-b9c4-41a5-a9c9-ddc6fd393e64%40googlegroups.com.

Baskar Puvanathasan

unread,
Apr 13, 2020, 3:05:37 PM4/13/20
to Blockly

Toolbox Search


Our toolbox has gotten large enough that we have to leverage search to find the blocks. We currently monkey patched Bockly to implement a rudimentary search. It would be nice to have an extension/hooks mechanism into the life-cycle of the Toolbox so it would be easier to implement.


Thanks,

Baskar


On Monday, April 13, 2020 at 2:38:56 PM UTC-4, Coda Highland wrote:
A programmatic API would be nice. I don't mind having XML fragments for the individual blocks, but having to rewrite the entire toolbox XML to add top-level categories is irksome, and building an XML string out of my data structures only to have it deserialized back into other data structures seems a bit silly for dynamic categories. I've hacked around this in my own project by building a dynamic category manager, but it seems like something that ought to be a builtin.

/s/ Adam

On Mon, Apr 13, 2020 at 12:00 PM 'Abby Schmiedt' via Blockly <blo...@googlegroups.com> wrote:
Hi Everyone,

We are looking at possibly updating some parts of our toolbox and I wanted to know what features or changes you would find most helpful? 

Thanks,
Abby

--
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 blo...@googlegroups.com.

Jim Ewald

unread,
Apr 13, 2020, 10:23:28 PM4/13/20
to Blockly
+1. 
Our toolbox XML contains nearly 600 blocks in over 80 categories. We have been experimenting with embedding toolbox metadata in the block definitions to help us reconfigure the toolbox content. it would be helpful to be able to dynamically change the content of the toolbox without having to rebuild it. Being able to add, remove and reorder block and category elements; refresh the toolbox in place would be on our list. If we are going to head off the reservation, implementing the toolbox with JSON definitions would eliminate the awkward dance we do now with this ginormous string definition.


On Monday, April 13, 2020 at 11:38:56 AM UTC-7, Coda Highland wrote:
A programmatic API would be nice. I don't mind having XML fragments for the individual blocks, but having to rewrite the entire toolbox XML to add top-level categories is irksome, and building an XML string out of my data structures only to have it deserialized back into other data structures seems a bit silly for dynamic categories. I've hacked around this in my own project by building a dynamic category manager, but it seems like something that ought to be a builtin.

/s/ Adam

On Mon, Apr 13, 2020 at 12:00 PM 'Abby Schmiedt' via Blockly <blo...@googlegroups.com> wrote:
Hi Everyone,

We are looking at possibly updating some parts of our toolbox and I wanted to know what features or changes you would find most helpful? 

Thanks,
Abby

--
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 blo...@googlegroups.com.
Message has been deleted

Mervyn Zhang

unread,
Apr 14, 2020, 1:18:18 AM4/14/20
to Blockly
I want to define the toolbox custom total,include the dom tree and styles。and can control the flyout's content and other control

TianQi Hu

unread,
Apr 17, 2020, 9:32:30 PM4/17/20
to Blockly
Toolbox search is great.Our toolbox has thousands of blocks

Laxmikant Sharma

unread,
Apr 19, 2020, 6:41:47 PM4/19/20
to Blockly
+1 for Toolbox Search

Licorne Magique

unread,
Apr 24, 2020, 4:43:58 AM4/24/20
to Blockly
Hi,
could it possible to create toolbox thanks to different xml file?

My idea is to have a 'core' blocks, and then you call different file with different blocks, and then you have to refresh only the section you want.

I hope I'm clear...

Beka Westberg

unread,
Apr 24, 2020, 1:41:15 PM4/24/20
to blo...@googlegroups.com
Hello, I know this is a bit off-topic but have you tried using the updateToolbox function? Does it suite your needs or is there some other functionality you're looking for?

--Beka

--
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 on the web visit https://groups.google.com/d/msgid/blockly/ceed2bfa-2ceb-40c1-ad15-398742dc025b%40googlegroups.com.

Francisco Caetano

unread,
Apr 24, 2020, 3:04:01 PM4/24/20
to Blockly
I'm not sure if this is already possible or not but having the full control over the toolbox/flyout UI via React Components would be really handy

José Luiz

unread,
Apr 24, 2020, 3:15:57 PM4/24/20
to Blockly
I don't know the exact moment I've been noticed by email of this discussion, but a few days past I opened a feature request on blocky github page just about toolbox search, I even attached a print with a great design of thst search box on the page, you guys would like to see it:

https://github.com/google/blockly/issues/3851

Simon

unread,
Apr 25, 2020, 4:51:06 AM4/25/20
to Blockly
José Luiz, I think your toolbox has great style! Are you using an existing "theme" in blockly or have you redone the CSS yourself? I really like the ability to put icons next to the category name!

José Luiz

unread,
Apr 25, 2020, 9:59:18 AM4/25/20
to Blockly
Thanks Simon! Our blockly is currently using Zelos renderer that I believe it's responsible for the most visual gain here. To put the icons there, we did some css digging and put an effort so we could get that result.

Happy you enjoyed it!

Licorne Magique

unread,
Apr 25, 2020, 10:37:19 AM4/25/20
to Blockly
Hi Beka,
I already used it for a multi toolbox selection, for beginners/standard/expert levels.

But my idea is to use external toolbox (instead of implement it in index.html like you do) defined elsewhere in a file. And also be able to construct the tree of the toolbox by adding multi files, and so multi toolboxes in a one 'big'.

Hope it's clear :-D

Le vendredi 24 avril 2020 19:41:15 UTC+2, Beka Westberg a écrit :
Hello, I know this is a bit off-topic but have you tried using the updateToolbox function? Does it suite your needs or is there some other functionality you're looking for?

--Beka

On Fri, Apr 24, 2020 at 1:44 AM Licorne Magique <prt...@gmail.com> wrote:
Hi,
could it possible to create toolbox thanks to different xml file?

My idea is to have a 'core' blocks, and then you call different file with different blocks, and then you have to refresh only the section you want.

I hope I'm clear...


Le lundi 20 avril 2020 00:41:47 UTC+2, Laxmikant Sharma a écrit :
+1 for Toolbox Search

On Friday, April 17, 2020 at 6:32:30 PM UTC-7, TianQi Hu wrote:
Toolbox search is great.Our toolbox has thousands of blocks

--
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 blo...@googlegroups.com.

Beka Westberg

unread,
Apr 25, 2020, 10:42:00 AM4/25/20
to blo...@googlegroups.com
Ah ok that makes sense! So would each category have a file or would each toolbox? I think having it at the category level might be cool because that would make them shareable.

Thank you for sharing your idea! I think that sounds really interesting =)

To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/blockly/7222ed00-7125-4ad6-9e29-6d58512535b2%40googlegroups.com.

Abby Schmiedt

unread,
Apr 27, 2020, 7:23:27 PM4/27/20
to Blockly

Hi Everyone!

Thank you so much for all the feedback and discussion. I would definitely love to keep hearing any thoughts that you all have!  I thought I would provide an update on what we are currently planning for the toolbox.

  1. Add Support for External Toolboxes. We want to provide an easy way for developers to create external toolboxes and use them with Blockly. We anticipate part of this will be creating a toolbox interface that will allow external toolboxes to work seamlessly within Blockly.

  2. Shareable Toolbox Categories. We want to provide an easy way for developers to share categories and toolboxes with each other. Part of this is providing easier ways to define the toolbox and categories using JSON.

  3. Make it easier to style and change the toolbox. This category is a bit vague right now, but I think this includes: 

    1. Having the ability to add classes to categories and other components of a toolbox/flyout (labels, categories, icons)

    2. Organizing the toolbox in a way that would make it easier to override parts of the toolbox functionality without having to completely rewrite it. 

  4. Give developers more control over the toolbox. Add the ability to disable categories, show the toolbox, and hide the toolbox. 

These are still a work in progress so they are subject to change, but just thought I would let everyone know what we are working on!

Let me know if you have any questions, 

Abby

Simon

unread,
Apr 28, 2020, 2:53:52 AM4/28/20
to Blockly
Hello,
All of this is really great, I'm looking forward to the update!
Simon

Licorne Magique

unread,
Oct 19, 2020, 6:57:49 AM10/19/20
to Blockly
Hi,
I'm working on toolbox and what about your work on it?
I'm trying to inject json toolbox but I cannot find any example...
I'm trying to create a modular Blockly for my BlocklyDuino. In the idea you select a specific material, in its own folder (with js defining & generator file) there's a small json toolbox defined, so the toolbox on workspace add this toolbox part. I'm ease with xml but I don't know if it's possible in json.
Many thanks.

Abby Schmiedt

unread,
Oct 19, 2020, 11:43:38 AM10/19/20
to Blockly
Hello!

The toolbox documentation has been updated with a demo on how to inject a json toolbox

Let me know if you have any other questions. 

Cheers,
Abby

Licorne Magique

unread,
Oct 20, 2020, 6:16:15 AM10/20/20
to Blockly
Yeah, I saw it but I did not succeed using JSON...and in the Blockly Developer Tools I cannot export workspace in JSON but only in XML.
I think it's simple but I don't know how to inject json data, for XML you use BLOCKLY_TOOLBOX_XML function, anything like this for JSON?
Thanks.
Reply all
Reply to author
Forward
0 new messages