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

Make jupyterlab-drawio consistent with JupyterLab 4 #121

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

linlol
Copy link

@linlol linlol commented Jun 9, 2024

Try to make drawio compatible with JupyterLab 4

@linlol
Copy link
Author

linlol commented Jun 9, 2024

Hopefully this PR could help close

#119

#120

@linlol
Copy link
Author

linlol commented Jun 11, 2024

Hi @jtpio @jasongrout @hbcarlos

I have make it consistent in JupyterLab 4, could you help check the CI/CD part and have a further look? I don't have permission to build wheel package.

@linlol
Copy link
Author

linlol commented Jun 11, 2024

It is common branching rule for now, how shall we bump version then?

@linlol linlol changed the title [In-Progress] Jlab4 support Make jupyterlab-drawio consistent with JupyterLab 4 Jun 11, 2024
@linlol
Copy link
Author

linlol commented Jun 11, 2024

Hi @jtpio @jasongrout @hbcarlos

I have make it consistent in JupyterLab 4, could you help check the CI/CD part and have a further look? I don't have permission to build wheel package.

@krassowski, could you help update the Jlab 4 extension issue?

@jtpio jtpio self-requested a review June 17, 2024 16:14
@linlol
Copy link
Author

linlol commented Jun 18, 2024

thanks @jtpio for triggering this, let me fix it

@linlol
Copy link
Author

linlol commented Jun 19, 2024

Hi @jtpio

There was 3 error during build.

For build https://github.com/QuantStack/jupyterlab-drawio/actions/runs/9469049944/job/26324630827?pr=121, looks like I need to format style/base.css

For check release https://github.com/QuantStack/jupyterlab-drawio/actions/runs/9469049949/job/26324630065?pr=121, looks like somehow incorrect repository url generaetd

I have fixed the above 2, please help re-trigger

for "force label" could you add a label to this PR?

@linlol
Copy link
Author

linlol commented Jun 19, 2024

Makes a few renaming change (basically jupyterlab_drawio to jupyterlab-drawio)

BTW, is it correct that we shall remove juptyerlab-drawio/_version.py file, to let hatch version command to bump it automatically?

@linlol
Copy link
Author

linlol commented Jun 20, 2024

thanks for triggering this, looks better.

For build issue, looks like there is a markdown file suffixed as js, it behaves similarly on my local... Let me ignore it.

For the force label error, @jtpio can you help add a label on this pr?

@jtpio jtpio added the enhancement New feature or request label Jun 20, 2024
@linlol
Copy link
Author

linlol commented Jun 20, 2024

thanks, I would try to fix build failure later today

@linlol
Copy link
Author

linlol commented Jun 20, 2024

hi @jtpio , I have the whole folder src/drawio/resources ignored since no JS/TS/CSS code here at all, please help re-trigger workflow

quick edit here, the whole src/drawio would be ignored for prettier, since there are lots of JS looks like static asset. The previous prettier would make more than 400k lines of change, which is kind of overkill

@linlol
Copy link
Author

linlol commented Jun 20, 2024

Hi @jtpio, looks like somehow enforce label check still failed.

looks like it checks issue's label, rather than PR.

Please advise that what shall we do...

  1. mark this PR as closes JupyterLab 4 support tracking issue #120 and add triage label there?
  2. totally remove this check? after all, it is not JupyterLab and looks like only BAU change...

@linlol
Copy link
Author

linlol commented Jun 20, 2024

For build issue, I only formatted the ts code I made change, while it exits 1 if not everything well-formatted

@linlol
Copy link
Author

linlol commented Jun 20, 2024

it works locally, sorry that I use @ts-ignore since we shall leave legacy code and minimise the real code-level change

image

@linlol
Copy link
Author

linlol commented Jun 22, 2024

@jtpio , sorry for a reset commit.

The reason is that I try to format code to pass link, while in src/drawio, some JS code are real code but some other code file looks like static assert. Hence, prettier brings lot of irrelevant change then.

The current change pass lint and wheel-build workflow on my local, please help trigger workflow again

@linlol
Copy link
Author

linlol commented Jul 25, 2024

hmmmm sry that I am not familiar with Jupyter workflow may I know what does below means... after change the check does not run?

image

@linlol
Copy link
Author

linlol commented Jul 25, 2024

Hello @jtpio , @bollwyvl , can you help advise on the version bump, and help kick-off a latest check?

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

Successfully merging this pull request may close these issues.

2 participants