Skip to content

Conversation

@Dilip-Jain
Copy link
Contributor

@Dilip-Jain Dilip-Jain commented Oct 9, 2023

Issue No. #6402

Problem

Feature Required: Edit Notebook Metadata option under the Edit Menu (in Notebook) as was in classic notebook.
@jtpio mentions -

Maybe the simplest way for now would be to add a Edit Notebook Metadata command to the menu that would open the Notebook tools panel instead of a dialog.

Solution

Edit Notebook Metadata plugin added under Edit Menu for functionality similar to classic-notebook. Clicking on the option under the menu opens up the Notebook Tools widget in the right sidebar and expands the Additional Tools (which contains the Notebook Metadata editor) collapsible section (default: collapsed).
Fixes #6402

Key Addition [Enhancement]

editNotebookMetadata plugin to add a command to open right sidebar for Editing Notebook Metadata when clicking on "Edit Notebook Metadata" option under Edit menu.

  • On the click, the plugin first checks if Show Notebook Tools (Right Sidebar) is open (expanded)
  • If not open, toggle the Right Sidebar and expand the Show Notebook Tools.
  • Lastly, it expands the 'Advanced Tools' collapsible section (default, collapsed)

Thank you for considering this pull request, and I welcome any feedback or suggestions for further improvements.

Edit Notebook Metadata plugin added under Edit Menu for functionality similar to classic-notebook.
Clicking on the option under the menu opens up the Notebook Tools widget in the right sidebar and expands the Additional Tools (which contains the Notebook Metadata editor) collapsible section (default: collapsed).
@github-actions
Copy link
Contributor

github-actions bot commented Oct 9, 2023

Binder 👈 Launch a Binder on branch Dilip-Jain/notebook/edit-notebook-metadata

@Dilip-Jain
Copy link
Contributor Author

Dilip-Jain commented Oct 26, 2023

Hey @jtpio,
anything not in place or needs to be altered?
just created another PR for (different) issue 7008, so just checkin' in here..

@jtpio jtpio added this to the 7.1 milestone Oct 27, 2023
@jtpio
Copy link
Member

jtpio commented Feb 7, 2024

FYI @Dilip-Jain I pushed a few commits to fix the menu item, and add the command to the command palette.

@jtpio
Copy link
Member

jtpio commented Feb 7, 2024

bot please update playwright snapshots

Copy link
Member

@jtpio jtpio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jtpio jtpio merged commit 2d717f5 into jupyter:main Feb 7, 2024
@Dilip-Jain Dilip-Jain deleted the edit-notebook-metadata branch February 7, 2024 13:04
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Edit notebook metadata

2 participants