-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add UI for editing notebook metadata #1308
Comments
Related to #451 (?). |
Could be, the feature parity would be a simple text editor. |
I am fine with the feature parity version of this being a text editor, but we should implement it in the cell toolbar, which we are planning on making its own L side bar. See #902 for early design ideas. |
So for full feature parity notebook metadata and cell level metadata should probably be treated separately. In the classic notebook:
So, even if there is a metadata editor in the cell toolbar (for which I'm +1), it'd probably be good to have an additional/separate UI for editing the notebook's metadata that doesn't appear in the L side cell toolbar, even if it means just having a L side notebook toolbar if only to avoid confusion. The other paradigm I could imagine would be that the notebook metadata is what is accessible when no cells are selected, but that seems a bit of a fraught solution. |
for feature partity with R notebooks, we also need to consider their advantages, e.g. in the field of metadata: this is metadata for cell and notebook. note how the dialog for cell metadata has quite some features discoverable in the UI (the selectbox has the options “show output, show code, show both, show nothing and run code, show nothing and do nothing”). furthermore cell metadata is autocompleted. |
I created my first JupyterLab extension to sort through this. You can try it out and check out the source code in https://github.com/yuvipanda/jupyterlab-nbmetadata |
Leaving as 1.0, since we really should have this functionality in core. Perhaps by including @yuvipanda's extension? |
hey all, friendly ping on this :-) did this get in to the RC1? |
Certainly seems like the right start: I'd like to see the nbformat schema
used to validate this metadata, a la settings, since you can definitely
break your notebook. Ideally this would be served live, since unlike
settings, etc. your server's nbformat is the source of Truth.
Also, so long as cell tools is notebook-only (right?) this should probably
merge with that sidebar.
|
FYI, I've included a basic notebook metadata editor in #5968. |
Fixed in #5968. |
Is this feature documented anywhere? I see lots of notes that make me think it's now possible to edit notebook metadata in JupyterLab, but I cannot figure out how to do this... |
@choldgraf I don't believe it is documented, but it is available under the "Advanced Tools" section in the cell tools: If you find a place to document this, that would be much appreciated! |
Hmmm, is that 'Advanced tools' thing activated somehow? I don't have that (running Lab |
This was added after that release so only appears in the 1.0 releases (see the milestone on this is 1.0) |
ah ok and none of those are up on pip unless you're using |
y'all I am excited for jupyterlab 1.0 :-) |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related discussion. |
No description provided.
The text was updated successfully, but these errors were encountered: