Skip to content
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

Closed
blink1073 opened this issue Nov 28, 2016 · 18 comments
Closed

Add UI for editing notebook metadata #1308

blink1073 opened this issue Nov 28, 2016 · 18 comments
Assignees
Labels
enhancement pkg:notebook status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. tag:Design and UX tag:Feature Parity
Milestone

Comments

@blink1073
Copy link
Member

No description provided.

@vidartf
Copy link
Member

vidartf commented Nov 29, 2016

Related to #451 (?).

@blink1073
Copy link
Member Author

Could be, the feature parity would be a simple text editor.

@ellisonbg
Copy link
Contributor

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.

@mpacer
Copy link
Member

mpacer commented Jan 18, 2017

So for full feature parity notebook metadata and cell level metadata should probably be treated separately.

In the classic notebook:

  • notebook level metadata are editable from the "Edit → Notebook Metadata" menu dropdown.
  • cell level metadata are accessed by enabling cell level metadata editing with "View → Cell Toolbar → Edit Metadata" which enables the cell toolbar with an "Edit Metadata" button on the right hand side.

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.

@flying-sheep
Copy link
Contributor

flying-sheep commented Jan 19, 2017

for feature partity with R notebooks, we also need to consider their advantages, e.g. in the field of metadata:

image

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.

@yuvipanda
Copy link
Contributor

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

@jasongrout
Copy link
Contributor

Leaving as 1.0, since we really should have this functionality in core. Perhaps by including @yuvipanda's extension?

@choldgraf
Copy link
Contributor

hey all, friendly ping on this :-) did this get in to the RC1?

@bollwyvl
Copy link
Contributor

bollwyvl commented Feb 10, 2019 via email

@jasongrout
Copy link
Contributor

FYI, I've included a basic notebook metadata editor in #5968.

@blink1073 blink1073 removed their assignment Mar 13, 2019
@jasongrout
Copy link
Contributor

Fixed in #5968.

@choldgraf
Copy link
Contributor

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...

@saulshanabrook
Copy link
Member

@choldgraf I don't believe it is documented, but it is available under the "Advanced Tools" section in the cell tools:
Screen Shot 2019-06-19 at 2 06 31 PM

If you find a place to document this, that would be much appreciated!

@choldgraf
Copy link
Contributor

Hmmm, is that 'Advanced tools' thing activated somehow? I don't have that (running Lab 0.35.6)

@saulshanabrook
Copy link
Member

This was added after that release so only appears in the 1.0 releases (see the milestone on this is 1.0)

@choldgraf
Copy link
Contributor

ah ok and none of those are up on pip unless you're using --pre. gotcha :-)

@choldgraf
Copy link
Contributor

y'all I am excited for jupyterlab 1.0 :-)

@lock
Copy link

lock bot commented Aug 6, 2019

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.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 6, 2019
@jasongrout jasongrout added the status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Aug 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement pkg:notebook status:resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. tag:Design and UX tag:Feature Parity
Projects
None yet
Development

Successfully merging a pull request may close this issue.