jupyterlab / pull-requests

A JupyterLab extension for reviewing GitHub pull requests
BSD 3-Clause "New" or "Revised" License
37 stars 18 forks source link

Refactoring with jupyterlab-commenting #34

Open fcollonval opened 3 years ago

fcollonval commented 3 years ago

Should we build on top of a common set of discussion components with https://github.com/jupyterlab/jupyterlab-commenting?

bollwyvl commented 3 years ago

Yes, there should be a common, useful Lumino Widget for threaded discussion topics, generic over a few axes, such as:

So we would have:

But for playing at home, and just storing stuff in notebook metadata, one might have:

Anyhow: I would not start with the code in that repo.

It looks very react-centric. As we've seen, it's desirable to have CodeEditor, the latex renderer, etc. to allow folks to customize stuff in a more Lab-centered way, and trying to shoehorn these into a lumino-react-lumino sandwich is no fun for anybody. We'd want the jupyterlab-markup, probably some nifty widgets for uploading, etc.

The sidebar UI concept is not really my favorite... ideally, there would be a preferred way to add Big Gutters to document activities that allowed stuff to play out nicely in e.g. single-document mode, jupyterlab-classic that could intelligently move cards up and down based on scroll position. This will get super-complicated with the virtual rendering.

So, I'd propose: