Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
b13d356
import containerlab-gui
FloSch62 Mar 28, 2026
ff80b99
chore: drop local clab-ui source switcher
FloSch62 Mar 28, 2026
4ca7436
chore: bump @srl-labs/clab-ui to 0.0.8
FloSch62 Mar 28, 2026
0cfd94d
remove non needed packages
FloSch62 Mar 28, 2026
d213b69
move e2e tests
FloSch62 Mar 28, 2026
d5d5c1f
remove moved packages
FloSch62 Mar 29, 2026
d8b041d
refactor(webviews): consume clab-ui v0.0.11 webview bundles
FloSch62 Mar 29, 2026
ea2a77c
use token
FloSch62 Mar 29, 2026
3b2d573
Refactor clab-ui integration in VS Code
FloSch62 Mar 30, 2026
a0a4631
Fix CI unit tests after clab-ui refactor
FloSch62 Mar 30, 2026
e7721f5
Skip missing E2E job in CI
FloSch62 Mar 30, 2026
985381b
refactor: own clab-ui runtime integration in vscode
FloSch62 Mar 30, 2026
79b0536
chore: sync lockfile for published clab-ui install
FloSch62 Mar 30, 2026
b54299d
chore: regenerate lockfile in ci-compatible environment
FloSch62 Mar 30, 2026
1aafb83
refactor: consume published clab-ui host runtime
FloSch62 Mar 30, 2026
4497cf5
refactor: adopt shared clab-ui host controllers
FloSch62 Mar 31, 2026
1abd723
fix packages
FloSch62 Mar 31, 2026
0c011ac
Adopt the published clab-ui runtime package
FloSch62 Mar 31, 2026
7fe8ec4
Fix CI test compilation
FloSch62 Mar 31, 2026
67f6a4c
Fix mocha test config
FloSch62 Mar 31, 2026
07d44fb
update lockfile
FloSch62 Mar 31, 2026
0854a4a
Rename repo
FloSch62 Mar 31, 2026
6c88061
update clab-ui local override paths
FloSch62 Mar 31, 2026
e6dba0d
fix lint
FloSch62 Apr 1, 2026
d0d63b5
remove unused deps
FloSch62 Apr 1, 2026
e55b6b9
fix(explorer): restore quickActions helper for unit tests
FloSch62 Apr 1, 2026
b2db2d8
fix test
FloSch62 Apr 1, 2026
d2cc8ed
remove monaco dep
FloSch62 Apr 1, 2026
56cb3aa
bump clab-ui
FloSch62 Apr 7, 2026
2bac637
bump packages
FloSch62 Apr 24, 2026
bfc7b01
test: move topology host bridge test under webviews
FloSch62 Apr 24, 2026
115cde6
correct version
FloSch62 Apr 24, 2026
bf50d10
chore: ignore browser test artifacts
FloSch62 Apr 24, 2026
f12d4c1
not local
FloSch62 Apr 24, 2026
750515c
fix: pass runtime interface labels
FloSch62 Apr 24, 2026
53284fe
chore: bump clab-ui to 0.0.24
FloSch62 Apr 25, 2026
3935b7e
feat(images): add image manager webview
FloSch62 Apr 25, 2026
3741c38
chore: bump clab-ui to 0.0.25
FloSch62 Apr 25, 2026
307863e
chore: use bundled clab-ui schema
FloSch62 Apr 25, 2026
eea8ab2
Merge main into tv_standalone
FloSch62 Apr 26, 2026
c063927
chore: bump clab-ui to 0.0.26
FloSch62 Apr 26, 2026
2e9ee3a
bump packages
FloSch62 Apr 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .dependency-cruiser.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ module.exports = {
"\\.(test|spec)\\.tsx?$", // test files
"__mocks__", // mock files
"\\.d\\.ts$", // type declaration files
"index\\.ts$" // barrel files (may be entry points)
"index\\.ts$", // barrel files (may be entry points)
"src/webviews/explorer/quickActions\\.ts$", // test-only compatibility helper
"src/webviews/imageManager/entry\\.tsx$" // esbuild webview entry point
]
},
to: {}
Expand Down
11 changes: 11 additions & 0 deletions .dependency-cruiser.local-ui.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const base = require("./.dependency-cruiser.cjs");

module.exports = {
...base,
options: {
...base.options,
tsConfig: {
fileName: "tsconfig.local-ui.json"
}
}
};
33 changes: 27 additions & 6 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,15 @@ on:
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: read
packages: read

jobs:
build-and-test:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout repository
Expand All @@ -15,11 +21,11 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: "npm"

- name: Install dependencies
run: npm install
run: npm ci

- name: Create package and run lint
run: npm run package
Expand Down Expand Up @@ -70,6 +76,8 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-test
timeout-minutes: 60
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout repository
Expand All @@ -78,21 +86,32 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: "npm"

- name: Install dependencies
run: npm ci

- name: Check E2E support
id: e2e
run: |
HAS_E2E_SCRIPT="$(node -p "Boolean(require('./package.json').scripts?.['test:e2e'])")"
echo "has_script=${HAS_E2E_SCRIPT}" >> "$GITHUB_OUTPUT"
if [ "$HAS_E2E_SCRIPT" != "true" ]; then
echo "No test:e2e script configured; skipping E2E job."
fi

- name: Install Playwright browsers and dependencies
if: steps.e2e.outputs.has_script == 'true'
run: npx playwright install --with-deps chromium

- name: Run E2E tests
if: steps.e2e.outputs.has_script == 'true'
run: npm run test:e2e -- --workers=3

- name: Upload Playwright report
if: ${{ !cancelled() && steps.e2e.outputs.has_script == 'true' }}
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report-${{ github.run_number }}
path: playwright-report/
Expand All @@ -103,6 +122,8 @@ jobs:
runs-on: ubuntu-latest
needs: build-and-test
if: always()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout repository
Expand All @@ -111,11 +132,11 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: "npm"

- name: Install dependencies
run: npm install
run: npm ci

- name: Download packaged extension
uses: actions/download-artifact@v4
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
if: github.repository == 'srl-labs/vscode-containerlab'
permissions:
contents: write
packages: read
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout repository
Expand Down
51 changes: 0 additions & 51 deletions .github/workflows/sync-clab-schema.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ coverage/
.nyc_output/
test-results/
playwright-report/
blob-report/
playwright/.cache/
clab-*/
*.clab.yml*
Expand Down Expand Up @@ -60,4 +61,4 @@ memory/**
.claude-flow/**
patch.sh
report/
src/reactTopoViewer/docs
src/reactTopoViewer/docs
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@srl-labs:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## [0.25.0] - 2026-04-26

- TopoViewer/editor:
- Uses the shared published `@srl-labs/clab-ui` runtime package, keeping VS Code aligned with the standalone UI implementation.
- Images:
- Added a container image manager webview.
- Explorer and webviews:
- Improved explorer quick actions and endpoint tree expansion.

## [0.24.0] - 2026-03-08

- TopoViewer/editor:
Expand Down
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,33 @@ See `test/README.md` for a short overview of the test setup and stub utilities.

---

## UI Dependency Mode

By default, this repository consumes the published `@srl-labs/clab-ui` package from GitHub Packages after `npm install`.

This is the default path for normal development, CI, and packaging.

If you are working in a sibling checkout with `clab-ui` and want to test local unpublished UI changes, opt in explicitly:

```bash
CLAB_UI_SOURCE=local npm run build
CLAB_UI_SOURCE=local npm run package
```

Convenience scripts are also available:

```bash
npm run build:local-ui
npm run package:local-ui
```

The local override resolves against `../clab-ui/dist`, so make sure that the
package repo is built before running the local override scripts.

The local override affects only bundling/runtime resolution. The default install path remains the published npm package.

---

## Feedback and Contributions

If you’d like to request features or report issues:
Expand Down
108 changes: 0 additions & 108 deletions dev/README.md

This file was deleted.

Loading
Loading