jupyterlab icon indicating copy to clipboard operation
jupyterlab copied to clipboard

Add reopen recently closed to context menu on tabbar

Open krassowski opened this issue 2 months ago • 0 comments

Problem

PR https://github.com/jupyterlab/jupyterlab/pull/15483 added a command and main menu entry to reopen recently closed tab. There is no such an entry in the context menu of the tabs themselves, even though this is where users would often go to close tabs.

I think "Reopen Closed Tab" could be in the context menu of the main area tab, because:

  • this is where "Close Tab", "Close All Other Tabs" and "Close Tabs to Right" are
  • this is where it is in web browsers

Originally posted by @krassowski in https://github.com/jupyterlab/jupyterlab/issues/11613#issuecomment-986015737

Proposed Solution

Add it in the context menu of the tab:

image

Additional context

This is where it in many web browsers, for example:

Firefox Edge
image image

It looks like Chrome does not have it there.

krassowski avatar Apr 19 '24 11:04 krassowski