Skip to content

feat: use anywidget for jupyter frontend, support marimo#273

Open
tlambert03 wants to merge 57 commits intopyapp-kit:mainfrom
tlambert03:marimo
Open

feat: use anywidget for jupyter frontend, support marimo#273
tlambert03 wants to merge 57 commits intopyapp-kit:mainfrom
tlambert03:marimo

Conversation

@tlambert03
Copy link
Copy Markdown
Member

@tlambert03 tlambert03 commented Apr 1, 2026

(marimo support is pending marimo-team/marimo#8972)

this PR fully refactors the browser-based frontend (jupyter) to have it's own js code (using lit.js and web-awesome for the ui). which frees us from ipywidgets, we can style it and arrange it with much more flexibility, and the anywidget basis will serve us well for better supporting vscode and google colab (though, the canvas is still challenging)

Screen.Recording.2026-04-01.at.7.52.53.PM.mov

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

❌ Patch coverage is 66.09195% with 118 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.13%. Comparing base (044c817) to head (29bea93).

Files with missing lines Patch % Lines
src/ndv/views/_jupyter/_array_view.py 76.31% 63 Missing ⚠️
src/ndv/views/_marimo/_array_view.py 0.00% 24 Missing ⚠️
src/ndv/views/_marimo/_app.py 0.00% 14 Missing ⚠️
src/ndv/controllers/_array_viewer.py 52.38% 10 Missing ⚠️
src/ndv/views/_app.py 50.00% 7 Missing ⚠️

❌ Your patch check has failed because the patch coverage (66.09%) is below the target coverage (85.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #273       +/-   ##
===========================================
- Coverage   85.38%   46.13%   -39.25%     
===========================================
  Files          53       55        +2     
  Lines        7192     7263       +71     
===========================================
- Hits         6141     3351     -2790     
- Misses       1051     3912     +2861     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant