forked from QuantStack/jupyterlab-drawio
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Elevator Pitch
Reduce the size of required installed packages.
Motivation
While downloading the artifacts at install time is easily cached, etc. the files are still very large, and probably are still not fully optimized for initial page load (despite laziness)
Design Ideas
- use the existing lab
MATHJAX_URL, either by using whatever's there, or adding a hard dependency on jupyter_server_mathjax and don't ship another mathjax - split out the labextensions as a (set of multiple) separate installable package(s)
- split out the kernel-side
ipywidgetsas a package- particularly in JupyterLite (where the widgets haven't really been tested) the hit for downloading and installing the (useless) labextensions into the WASM runtime is going to be very real
- split out the full templates (and customized load) as a separate package
- these are the worst offenders, with individual XML files that are a couple megabytes
- keeping the full shapes available on drawio around is probably important, as missing shapes look... bad
- see if there's any way to make the
whlnot include two copies of the files
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request