ipywidgets icon indicating copy to clipboard operation
ipywidgets copied to clipboard

IInitializeParameters change in ipywidgets 8

Open jasongrout-db opened this issue 3 years ago • 3 comments
trafficstars

I noticed @aarondr77 had to put in an interesting workaround for a typescript type that apparently changed from ipywidgets 7 to ipywidgets 8 when they were porting mito to work in both 7 and 8 in https://github.com/mito-ds/monorepo/pull/455:

https://github.com/mito-ds/monorepo/pull/455/files#diff-23f7158bfd0509438b127f904ddbe1848ec99e86969217a4f880419e46b414d4R64-R72

I'm flagging it here so that we can (a) look into it and (b) if it is a broader issue, think about a way to make it easier or at least document the issue for others porting their widget.

Thanks @aarondr77 for figuring that out, and for helping port mito to work in ipywidgets 8!

jasongrout-db avatar Sep 08 '22 03:09 jasongrout-db

By the way, feel free to add mito to our community-curated list of widgets at https://github.com/jupyter/jupyter/wiki/Jupyter-Widgets

jasongrout-db avatar Sep 08 '22 03:09 jasongrout-db

@vidartf notes that this might be a backbone typing issue.

jasongrout avatar Sep 13 '22 16:09 jasongrout

Thanks for noticing and flagging @jasongrout ! I'll add Mito to that list of widgets :)

aarondr77 avatar Sep 13 '22 18:09 aarondr77