Skip to content
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

Implementation of multi-select #100

Open
bartbutenaers opened this issue Aug 18, 2022 · 6 comments
Open

Implementation of multi-select #100

bartbutenaers opened this issue Aug 18, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@bartbutenaers
Copy link
Owner

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...

@bartbutenaers bartbutenaers added the enhancement New feature or request label Aug 18, 2022
@bartbutenaers bartbutenaers self-assigned this Aug 18, 2022
@cymplecy
Copy link
Collaborator

Looks nice :)

@bartbutenaers
Copy link
Owner Author

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...

@bartbutenaers
Copy link
Owner Author

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...

@bartbutenaers
Copy link
Owner Author

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...

@bartbutenaers
Copy link
Owner Author

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.

@bartbutenaers
Copy link
Owner Author

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants