Open fcollonval opened 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:
Discussion<Notebook, PullRequestsManager>
Discussion<Editor, PullRequestsManager>
Discussion<PullRequest, PullRequestsManager>
But for playing at home, and just storing stuff in notebook metadata, one might have:
Discussion<Notebook, NotebookMetadataManager>
hypothes.is
)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:
@jupyterlab/comment-cards
or whatever is easy to observe
Should we build on top of a common set of discussion components with https://github.com/jupyterlab/jupyterlab-commenting?