-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cells metadata totally ignored in DOM #68
Comments
So we would have to add a property The less obvious part is that the
... an abstract That sounds a bit complicated, but this is how we leverage the existing JupyterLab stack. Another option would be to reimplement another variant of the Notebook component which show a list of Cell components. In that case, the |
By trying this, I have noticed each cell was starting a new kernel in my jupyter server, whatever options I was putting. I'm a bit confused about how this project works exactly as I'm not very comfortable with Jupyter either, but it seems related with another issue (#60) doesn't it? |
@Cpavrai Just pushed 019dbfa that allows the Cell component to reuse a provided kernel, with an example. Initially, the goal was to isolate each of the components with its own kernel, this idea is moving to something more flexible. As you can see in the following cast, all the cells use a single kernel, but as the cell order execution is not predictable the initial run may fail. that is just a basis to show that it is possible to create a Notebook based on individual Cells. I will work more on that ASAP. Would love to continue the conversation to identify needs and requirements. |
This is very interesting. I am trying to do something similar. On a related, but slightly different topic: If I call "selectCell" on a page with multiple cells, it only returns the last cell added? |
I had similar issue sometime ago, but no more recently. That is for sure a CSS issue. You can inspect the DOM and add some '! important` height CSS.
For now only one cell is managed by the Redux store. We have updated the notebook store to deal with many notebooks, but not yet the cell one. I have opened #72 to track this feature. |
@jaydeanmartin I have opened #73 to follow-up on the toolbar for the Cell. This is coming from a missing Webpack rule. |
Problem
While my notebook has some metadatas in my cells, it is not visible in the rendered DOM and I cannot distinguish my cells. I'd like to replace some of my cells by a button when a metadata is set.
Proposed Solution
My idea would be to permit a property
cellRenderer
inNotebook
, which would be called for generating cells.The text was updated successfully, but these errors were encountered: