jupyter-widgets / ipywidgets

Interactive Widgets for the Jupyter Notebook
https://ipywidgets.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.15k stars 950 forks source link

Move ypywidgets to jupyter-widgets? #3777

Open davidbrochart opened 1 year ago

davidbrochart commented 1 year ago

In https://github.com/davidbrochart/ypywidgets/issues/12 @martinRenou suggested moving ypywidgets to another organization. I think it would make sense to move it to jupyter-widgets. It's still early days, but we already have real use cases, in JupyterCAD and Glue JupyterLab. We were also thinking about trying to leverage ipywidgets' frontend by swapping the synchronization backend with ypywidgets'. That would be the ideal solution, where people could opt in to use Ypy/Yjs for the backend when installing ipywidgets or other higher-level widgets (ipyleaflet, etc.). I guess yjs-widgets (the browser client counterpart) would have to move to jupyter-widgets too. There is also reacttrs, which replaces traitlets for the observer pattern, but this one is more general and could be used outside Jupyter widgets. Thoughts?

ibdafna commented 1 year ago

@davidbrochart we had a brief discussion on it during the widgets meeting today, but no decision has been made as we probably want to involve move members of the widgets group before converging on a decision. It would be good if you could attend the next meeting and hopefully we can have a follow up then. @jasongrout for visibility.

davidbrochart commented 1 year ago

Thanks, I'll try to attend next meeting :+1:

davidbrochart commented 1 year ago

We decided to first try and support basic ipywidgets frontends (HTML widgets, maybe a bigger one like ipyeaflet?) in ypy/yjs-widgets, and then resume this discussion.

jtpio commented 1 year ago

How about creating the jupyter-widgets-contrib organization on GitHub and clearly mention it is "unofficial"? Similar to the JupyterLab contrib org: https://github.com/jupyterlab-contrib.

That way ypywidgets could be incubated there and maybe reconsidered to be moved to the jupyter-widgets org later on.

For reference there were some discussions about this new org during the Jupyter Widgets community workshop 2022: https://github.com/jupyter-widgets/team-compass/issues/16#issuecomment-1287525856

martinRenou commented 1 year ago

💯

Totally agree with this idea. Would be willing to move https://github.com/QuantStack/ipytree and https://github.com/martinRenou/ipycanvas into such an org.

We can also discuss moving all the xwidgets/xleaflet etc that QuantStack created.

jgunstone commented 1 year ago

I've been looking for such a place for ipyautoui also

martinRenou commented 1 year ago

I created the https://github.com/jupyter-widgets-contrib organization, moving ipycanvas there already as a test.

The website is here: https://jupyter-widgets-contrib.github.io. It is simply a fork of the JupyterLab contrib website.

Feel free to open transfer requests so we can start feeding this organization! Happy to give admin rights to people as well in the process.

jtpio commented 1 year ago

Nice thanks @martinRenou!