QuantStack / jupyterlab-blockly

Blockly extension for JupyterLab
https://jupyterlab-blockly.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
55 stars 16 forks source link

added Blockly editor to Launcher #19

Closed DenisaCG closed 2 years ago

DenisaCG commented 2 years ago

Added the Blockly Editor to the launcher menu and to the Command Palette. Also created a Blockly icon, which was added next to the file name once we open a new json file with the Blockly Editor, in addition to being shown on the launcher page.

Note: When I was running the 'jlpm run build' command, I got the following error:

  _node_modules/@jupyterlab/codeeditor/lib/editor.d.ts:47:15 - error TS2411: Property 'toJSON' of type '() => any' is not assignable to 'string' index type 'JSONValue'.

  47     interface ICoordinate extends JSONObject, ClientRect {_

I fixed it by adding the @ts-ignore comment above the problematic line, but I'm not sure why it occurred or if I could fix it in another way.

DenisaCG commented 2 years ago

Opened a new updated PR https://github.com/QuantStack/jupyterlab-blockly/pull/21, dealing with the same issue.