jupyterlab / jupyterlab

JupyterLab computational environment.

Home Page:https://jupyterlab.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Import workspace and create new workspace context menu items show up in all sidebar panels

krassowski opened this issue · comments

Description

image

Reproduce

  1. Open running sidebar
  2. Right-click on an empty space
  3. See these two options show up even outside of "Workspaces" section

Expected behavior

These show up only in "Workspaces"

Context

  • JupyterLab version: 4.2.0

{
"command": "workspace-ui:import",
"selector": ".jp-RunningSessions:has(.jp-mod-workspace)",
"rank": 6
},
{
"command": "workspace-ui:create-new",
"selector": ".jp-RunningSessions:has(.jp-mod-workspace)",
"rank": 7
}

I think jp-RunningSessions should be jp-RunningSessions-section