Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
2df7a7f
jupyterlab extension for kale with direct nb to kfp conversion
Amrit27k Jun 18, 2025
72dedc4
organizing example file locations
Amrit27k Jul 15, 2025
83a4054
moving labextension back to original location
Amrit27k Jul 15, 2025
a45e922
Revert example files to master's state
Amrit27k Jul 17, 2025
a616b1a
Reverted labextension src files to master's state
Amrit27k Jul 17, 2025
383de47
Reverted labextension src lib files to master's state
Amrit27k Jul 17, 2025
b7f5488
reverted imports back to kale
Amrit27k Jul 18, 2025
38d9795
made change to template path
Amrit27k Jul 18, 2025
4115c2d
added package_list logic to compile_pipeline and fixed backend bug
Amrit27k Jul 22, 2025
13690ff
cleaned the branch from frontend files
Amrit27k Jul 22, 2025
8acc725
modified the param variable name style
Amrit27k Jul 22, 2025
b6def8f
deleted an example notebook
Amrit27k Jul 22, 2025
369d939
reverted to master
Amrit27k Jul 22, 2025
e07852d
cleaned the branch for backend changes
Amrit27k Jul 22, 2025
dc74848
code debug with test-pypi kale package
Amrit27k Jul 29, 2025
d01a634
resolved issues and updated readme for backend
Amrit27k Aug 4, 2025
90f5b32
modified files for e2e pytests and flake8
Amrit27k Aug 6, 2025
db7a10c
updated readme for requirements section
Amrit27k Aug 6, 2025
54c6fca
modified CI workflow python version
Amrit27k Aug 7, 2025
4c02cea
modified CI workflow python version
Amrit27k Aug 7, 2025
ee50afc
fixing React components for muiv7 and jupyterlabv4
Amrit27k Aug 18, 2025
08607b9
merge master branch changes
Amrit27k Aug 26, 2025
d04a260
changes made in labextension to support kfpv2 backend
Amrit27k Aug 26, 2025
ffda4a6
fixing fe instructions and adding a sample
ederign Aug 27, 2025
19be146
merge with master
Amrit27k Sep 3, 2025
add8f23
modified readme
Amrit27k Sep 3, 2025
f2f562f
modified readme with new extension image
Amrit27k Sep 3, 2025
2bda49e
update `README.md` to clarify installation instructions (#462)
hmtosi Sep 11, 2025
5aefe3f
chore: merging Readme from front-end branch with main
ederign Sep 11, 2025
a71dd15
Merge remote-tracking branch 'origin/main' into v2.0-frontend-dev-synced
ederign Sep 18, 2025
98b625b
fix(ci): Update build workflow to run jlpm from labextension directory
ederign Sep 18, 2025
64a0e7a
fix(css): Resolve all CSS linting issues in style/index.css
ederign Sep 18, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: Build

on:
push:
branches: ["master"]
pull_request:
branches: ['*']

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install dependencies
run: python -m pip install -U "jupyterlab>=4.0.0,<5"

- name: Lint the extension
run: |
set -eux
cd labextension
jlpm
jlpm run lint:check

- name: Build the extension
run: |
set -eux
python -m pip install .[test]

jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "kubeflow-kale-labextension.*OK"
python -m jupyterlab.browser_check

- name: Package the extension
run: |
set -eux

pip install build
python -m build
pip uninstall -y "kubeflow-kale-labextension" jupyterlab

- name: Upload extension packages
uses: actions/upload-artifact@v4
with:
name: extension-artifacts
path: dist/kubeflow-kale-labextension*
if-no-files-found: error

test_isolated:
needs: build
runs-on: ubuntu-latest

steps:
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
architecture: 'x64'
- uses: actions/download-artifact@v4
with:
name: extension-artifacts
- name: Install and Test
run: |
set -eux
# Remove NodeJS, twice to take care of system and locally installed node versions.
sudo rm -rf $(which node)
sudo rm -rf $(which node)

pip install "jupyterlab>=4.0.0,<5" kubeflow-kale-labextension*.whl


jupyter labextension list
jupyter labextension list 2>&1 | grep -ie "kubeflow-kale-labextension.*OK"
python -m jupyterlab.browser_check --no-browser-test


check_links:
name: Check Links
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
30 changes: 30 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Check Release
on:
push:
branches: ["master"]
pull_request:
branches: ["*"]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
check_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Check Release
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
with:

token: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Distributions
uses: actions/upload-artifact@v4
with:
name: kubeflow-kale-labextension-releaser-dist-${{ github.run_number }}
path: .jupyter_releaser_checkout/dist
13 changes: 13 additions & 0 deletions .github/workflows/enforce-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Enforce PR label

on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: enforce-triage-label
uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1
48 changes: 48 additions & 0 deletions .github/workflows/prep-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: "Step 1: Prep Release"
on:
workflow_dispatch:
inputs:
version_spec:
description: "New Version Specifier"
default: "next"
required: false
branch:
description: "The branch to target"
required: false
post_version_spec:
description: "Post Version Specifier"
required: false
# silent:
# description: "Set a placeholder in the changelog and don't publish the release."
# required: false
# type: boolean
since:
description: "Use PRs with activity since this date or git reference"
required: false
since_last_stable:
description: "Use PRs with activity since the last stable git tag"
required: false
type: boolean
jobs:
prep_release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Prep Release
id: prep-release
uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
version_spec: ${{ github.event.inputs.version_spec }}
# silent: ${{ github.event.inputs.silent }}
post_version_spec: ${{ github.event.inputs.post_version_spec }}
branch: ${{ github.event.inputs.branch }}
since: ${{ github.event.inputs.since }}
since_last_stable: ${{ github.event.inputs.since_last_stable }}

- name: "** Next Step **"
run: |
echo "Optional): Review Draft Release: ${{ steps.prep-release.outputs.release_url }}"
58 changes: 58 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: "Step 2: Publish Release"
on:
workflow_dispatch:
inputs:
branch:
description: "The target branch"
required: false
release_url:
description: "The URL of the draft GitHub release"
required: false
steps_to_skip:
description: "Comma separated list of steps to skip"
required: false

jobs:
publish_release:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Populate Release
id: populate-release
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
with:
token: ${{ steps.app-token.outputs.token }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ github.event.inputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}

- name: Finalize Release
id: finalize-release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2
with:
token: ${{ steps.app-token.outputs.token }}
release_url: ${{ steps.populate-release.outputs.release_url }}

- name: "** Next Step **"
if: ${{ success() }}
run: |
echo "Verify the final release"
echo ${{ steps.finalize-release.outputs.release_url }}

- name: "** Failure Message **"
if: ${{ failure() }}
run: |
echo "Failed to Publish the Draft Release Url:"
echo ${{ steps.populate-release.outputs.release_url }}
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ node_modules/
.vscode/
kale/labextension
kale/_version.py

.kale/
# Integration tests
ui-tests/test-results/
ui-tests/playwright-report/
Expand Down Expand Up @@ -45,6 +45,11 @@ share/python-wheels/
.installed.cfg
*.egg
MANIFEST
labextension/lib/
# labextension/kubeflow-kale-labextension/
labextension/static/
labextension/package-lock.json
labextension/yarn.lock

# PyInstaller
# Usually these files are written by a python script from a template
Expand Down Expand Up @@ -122,4 +127,3 @@ dmypy.json

# Yarn cache
.yarn/
yarn.lock
Loading
Loading