Open bartbutenaers opened 2 years ago
Looks nice :)
Wanted to do a quick experiment, but can't even install it. The reason is that this new multi-select plugin requires minimal Blockly version 8.x. (via the peer dependencies in the package.json file):
"peerDependencies": {
"blockly": "^8.0.4"
},
However our Node-RED node requires Blockly version 6.x (via the depencency in our package.json file):
"dependencies": {
"blockly": "^6.20210701.0",
"@blockly/field-date": "^4.2.14",
"@blockly/plugin-workspace-search": "^4.0.2",
"@blockly/zoom-to-fit": "^2.0.2",
"@blockly/workspace-backpack": "^1.0.2"
},
And all the other plugins that we have as a dependency also require currently a 6.x blockly version.
So you get a conflict in peer dependencies. Which means we have to upgrade Blockly to 8.x, and also update all plugin versions. Because the Blockly team has meanwhile refactored all the plugins. Indeed those plugins now have an updated package.json file, which allows all 7.x and 8.x and 9.x blockly versions:
"peerDependencies": {
"blockly": ">=7 <9"
},
So we need to upgrade Blockly from 6.x to the latest 8.x version. Since Blockly has changed meanwhile a LOT, this might cause a lot of issues. Unfortunately I don't have time at the moment to deal with something that big. So it will have to wait...
Seems that 9.0.0-beta.0 is out. They have moved the entire core to Typscript. They have focussed lately completely on internal code refactoring instead of adding new functionality. I propose to wait for this to become stable, and then we try it out...
For completeness: Blockly 9.0.0 is now released (see here). As mentioned above this is only a major refactoring to TypeScript, so don't see any advantage in using it already now. Hopefully the next version will contain again new useful features...
FYI: Blockly 9.1.0 is release (see here). Almost only bugfixes for the major Typescript refactoring from 9.0.0. So again nothing interesting for this node.
FYI: Blockly 9.3.0 is now released (see here). The biggest feature is that procedures "can" now be implemented as a plugin. Even if I would have time, there would be nothing interesting for this node.
Seems I had overlooked version 9.2.0 at the end of last year (see here), but also no features interesting for this node...
A new Blockly plugin has become available, to allow multi-select (see here).
I assume this could be useful to implement in the future in this node...