QuantStack / jupyterlab-drawio

A standalone embedding of the FOSS drawio / mxgraph package into jupyterlab
BSD 3-Clause "New" or "Revised" License
598 stars 74 forks source link

JupyterLab 4 support tracking issue #120

Open linlol opened 3 months ago

linlol commented 3 months ago

Hi team

This issue is checking the current status of drawio as I can see that the support of jupyter 4 is still not yet ready.

If it is still an active project, I am happy to help with 4.0 support.

Otherwise if it is actually archived/deprecated, I may remove drawio on my personal environment.

Regards

linlol commented 3 weeks ago

As discussed at https://github.com/QuantStack/jupyterlab-drawio/issues/119 , I am going to make drawio compatible with JupyterLab 4

The ongoing PR is here https://github.com/QuantStack/jupyterlab-drawio/pull/121/files

Since I am new to drawio and my experience so far is general Jupyter Labextension develop and engineering works, feel free to raise any comment on my PR or here directly

linlol commented 3 weeks ago

What I did so far

  1. Upgrade extension via common upgrade script with 1) related build tools/ gitlab jobs / pyproject.toml consistent with modern style 2) Jupyter dependencies upgrade to 4.2 (and fixed breaking changes) 3) A few other engineering change (mainly introduced since the difference of ts 3.9/5), such that I can successfully build Drawio wheel in JupyterLab 4

What is pending?

  1. looks like there are a few issue such that I cannot trigger command to create new dio file