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

Remove "Close Tab" menu entry #6843

Merged
merged 3 commits into from
May 14, 2023
Merged

Remove "Close Tab" menu entry #6843

merged 3 commits into from
May 14, 2023

Conversation

timmerk3
Copy link
Contributor

Disables the "Close Tab" menu entry from the file dropdown, brought up in #6832. The user should be the one manually closing the tab.

@github-actions
Copy link
Contributor

Binder 👈 Launch a Binder on branch timmerk3/notebook/main

@jtpio jtpio added this to the 7.0 milestone Apr 20, 2023
@jtpio
Copy link
Member

jtpio commented Apr 20, 2023

Thanks @timmerk3 for looking into it.

@@ -13,6 +13,13 @@
{
"command": "notebook:trust",
"rank": 20
},
{
"type": "submenu",
Copy link
Member

Choose a reason for hiding this comment

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

Not sure it should be submenu here, since the entry appears as a regular single entry?

Also when trying this PR on Binder the menu entry still seems to be displayed:

image

@jtpio jtpio linked an issue Apr 20, 2023 that may be closed by this pull request
@jtpio jtpio mentioned this pull request May 14, 2023
@jtpio
Copy link
Member

jtpio commented May 14, 2023

FYI @timmerk3 I pushed a small change to fix the config.

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 855822d into jupyter:main May 14, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2024
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.

v7: "Close tab" and "Close and Shutdown notebook" should be reworked.
2 participants