add 2 col category menus to blockly

184 views
Skip to first unread message

Melli French

unread,
Aug 28, 2024, 11:20:55 AM8/28/24
to Blockly
Add 2 col category menus to blockly 12
text made image:
---------------------  +++++++++++++++++++++++++++++++++++++
|1-------|2        |                                                                                    +
|3        |4        |                                                                                   +
_____________                                                                                   +
| ____   ______  |                                                                                 +
| |       \/          | |                                                                                 +
| | test no.1    | |                                                                                 +
| ____     ______ |                                                                                 +
|        \/              |                                                                                 +
|                         |                                                                                  +
|                         |                                                                                  +
|                         |                                                                                  +
|                         |                                                                                  +
|______________|+++++++++++++++++++++++++++++++++++++


please add it! blockly developers!

Christopher Allen

unread,
Aug 29, 2024, 5:47:36 AM8/29/24
to blo...@googlegroups.com
Hi Melli,

Add 2 col category menus to blockly 12
please add it! blockly developers!

That is a nifty idea.  You could submit a feature request in the Blockly repository, though I must note that it is unlikely that we will be able to dedicate any engineering time to it in the foreseeable future.  A better approach might be to write a plugin for Blockly that does this.  There are already a few existing plugins that provide alternative toolbox designs so it should be reasonably straightforward for anyone familiar with HTML + CSS + JS to create a new plugin using a similar approach.


Best wishes,

Christopher



Melli French

unread,
Aug 29, 2024, 11:36:13 AM8/29/24
to Blockly
i wish blockly added 2 col category menus when blockly was 12 years old
and, i don't login to githup cuz W4scools is better

Jeremiah Saunders

unread,
Aug 30, 2024, 5:49:47 AM8/30/24
to Blockly
Hi,

I'd be willing to create a third party plugin within the next few weeks that does this. I'll also see about making it a first party plugin. I'll update you here once I finish.

This design was used in Scratch 2.0 and is used in Snap!.

Also, it's worth noting that GitHub is a platform focused on sharing code, where W3Schools is a platform for education. 

Jeremiah

Melli French

unread,
Sep 2, 2024, 3:48:56 AM9/2/24
to Blockly
Did you update me when you finish?

Melli French

unread,
Sep 9, 2024, 11:28:44 AM9/9/24
to Blockly
what does the result will look like?
and what code for 2 col category menus code?

On Friday 30 August 2024 at 11:49:47 UTC+2 jeremiah...@gmail.com wrote:

Jeremiah Saunders

unread,
Sep 9, 2024, 7:25:03 PM9/9/24
to Blockly
Hi Melli,

This is a complicated feature to implement, but I'm working on it.

It's actually pretty close to being done, just a few kinks to work out.

I'll keep you updated,
Jeremiah

Melli French

unread,
Sep 11, 2024, 11:26:16 AM9/11/24
to Blockly
thanks!

Melli French

unread,
Sep 12, 2024, 1:59:14 PM9/12/24
to Blockly
and what does it look like?

Jeremiah Saunders

unread,
Sep 12, 2024, 6:58:48 PM9/12/24
to Blockly
Hi,

Here's what I've got so far:
Screenshot_15.png
Unfortunately, it doesn't look very good with long blocks because the flyout expands past the toolbox. (see this related thread)

As such, I'll have to delay release until Blockly 12, when vertical scrolling becomes possible.

At that point I'll also be able to update the z-index of the flyout in a less hacky way.

I'll continue to update you here once Blockly 12 is released and I have the time to update this project.

Jeremiah

Melli French

unread,
Sep 18, 2024, 11:14:29 AM9/18/24
to Blockly
please become the plugin when blockly 12 is released
and what does it look like in other renderers?
zelos, thrasos, minimalist

note: the minimalist renderer is back when blockly 12 is released

Jeremiah Saunders

unread,
Sep 18, 2024, 4:53:16 PM9/18/24
to Blockly
Melli,

I'm sorry but I don't have time to take all these screenshots and changing the renderers. I will update you when the plugin is ready.

I'm also not sure about the validity of your claim regarding the minimalist renderer.

I appreciate your patience,
Jeremiah
Reply all
Reply to author
Forward
0 new messages