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

Migrate Elyra extensions to support JupyterLab 4.x #3201

Open
wants to merge 47 commits into
base: main
Choose a base branch
from

Conversation

lresende
Copy link
Member

@lresende lresende commented Dec 18, 2023

What changes were proposed in this pull request?

Migrate Elyra extensions to support JupyterLab 4.x

Fixes #3137

How was this pull request tested?

Building and running on JupyterLab 4.x

Developer's Certificate of Origin 1.1

   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

@lresende lresende added the status:Work in Progress Development in progress. A PR tagged with this label is not review ready unless stated otherwise. label Dec 18, 2023
@lresende lresende requested a review from kevin-bates December 18, 2023 18:08
Copy link
Member

@kevin-bates kevin-bates left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming the build failures are a temporary hurdle. Thanks for dealing with the @lresende!

@lresende lresende force-pushed the lresende-lab4 branch 8 times, most recently from a5b1686 to 6410a77 Compare December 20, 2023 04:25
@lresende
Copy link
Member Author

I have made some progress here, but I would appreciate if I could get some help on the UI pieces, in particular on UI-components... @marthacryan @karlaspuldaro @ajbozarth and others feel free to send prs to this branch as time permits... I completely understand if you are not able to.

@@ -41,7 +41,12 @@ jobs:
/home/runner/.cache/Cypress
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install
run: yarn install --frozen-lockfile && tsc -v
run: |
corepack prepare [email protected] --activate
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is causing build failure, maybe it's best to use a stable version of yarn

@hadesto
Copy link

hadesto commented Jun 7, 2024

hello! is this pull request still being worked on? it would be amazing to have support for JL4 now that JL3 has an official sunset date. Is there any support required from the community? Thank you!

@lresende
Copy link
Member Author

lresende commented Jun 8, 2024

There is a pr against this pr, let me merge that over the weekend and then others can jump in to help finish any remaining items

@hadesto
Copy link

hadesto commented Jun 12, 2024

thanks for the quick response!

@ederign
Copy link

ederign commented Aug 14, 2024

hi @lresende, thank you so much for this work! Where are these 'remaining items' located? I would love to figure out ways to help! (at least testing it)

@harshad16
Copy link
Contributor

thank you so much for this work! Where are these 'remaining items' located? I would love to figure out ways to help! (at least testing it)

@ederign they are opened as PR to the branch, here: lresende#1

@Ekzz0
Copy link

Ekzz0 commented Dec 16, 2024

Hi @lresende, this migration still being worked on? should we expect changes in the near future?

@lresende
Copy link
Member Author

@Ekzz0 we need to resolve some of these conflicts, but, at a high level, the branch is working with JupyterLab 4.2.5

@lresende lresende mentioned this pull request Dec 21, 2024
7 tasks
@lresende lresende added this to the 4.0.0 milestone Dec 24, 2024
EdgarAllan-Bro and others added 28 commits December 25, 2024 08:37
I have resolved most of the errors currently in the pipeline editor however I got stuck attempting to fix the error:  error TS2322: Type '{ children: Element[]; theme: any; }' is not assignable to type 'IntrinsicAttributes & { theme: DeepPartial<Theme>; }'.
  Property 'children' does not exist on type 'IntrinsicAttributes & { theme: DeepPartial<Theme>; }'.
Updated CodeSnippetDisplay class to extend MetadataDisplay with the correct props type
Replace usage of deprecated ContentFactory, but still exist issue when missing documentation.
tried to fix the first code cell creation error, but still have issue when inserting cell to notebook widget
Just figured out how to properly add codecell.
Fixed some method calling base on documentation.
Resolved final error in pipeline editor. Now it's able to build.
- .value.text does not work for updating the content of Cell, Replaced with .setSource.
- Refresh no longer exists, replaced with redo. Can't find any documentation about this change.
- fixed creation of preview editor
This reverts commit ac10f57.
trying to adjust workflow build issue
---------

Signed-off-by: Harshad Reddy Nalla <[email protected]>
Signed-off-by: shalberd <[email protected]>
Co-authored-by: Guilherme Caponetto <[email protected]>
Co-authored-by: Eder Ignatowicz <[email protected]>
Co-authored-by: Edson Tirelli <[email protected]>
Co-authored-by: Harshad Reddy Nalla <[email protected]>
Co-authored-by: Sven Thoms <[email protected]>
Should be separate pr
@lresende
Copy link
Member Author

I have rebased and resolved conflicts, also removed some unrelated changes that can come as another pr to simplify review... let's wrap this up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:Work in Progress Development in progress. A PR tagged with this label is not review ready unless stated otherwise.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for JupyterLab 4.x
10 participants