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 46 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
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 2 times, most recently from af4a4de to ab95e71 Compare December 20, 2023 03:52
@lresende lresende force-pushed the lresende-lab4 branch 6 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.

@lresende lresende force-pushed the lresende-lab4 branch 2 times, most recently from 110767d to 7567988 Compare December 20, 2023 04:32
Signed-off-by: Luciano Resende <[email protected]>
Signed-off-by: Luciano Resende <[email protected]>
@@ -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

Updated LauncherModel to accommodate changes in @lumino/algorithm. Resolved build errors related to missing properties and import issues.
Resolved type errors related to missing children property in Dropzone.tsx, ExpandableComponent.tsx, and ExpandableErrorDialog.tsx. Fixed import issues in FormEditor.tsx by addressing missing members and correcting import statements. Improved TypeScript type inference and resolved implicit 'any' types in parameters and binding elements in JSONComponent.tsx.
xinchaochen8 and others added 30 commits September 1, 2024 20:53
Updated r-editor to be compatible with Jupyter Lab 4.x. Similar changes to scala-editor.
Because involved react component and does not directly conform to the IFormRenderer interface use assertion to satisfy the type requirements of the addRenderer method. Also improve types definition for imported component in ui-components. Now able to build metadata.
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
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
8 participants