jupyterlab / jupyterlab-github

GitHub integration for JupyterLab
BSD 3-Clause "New" or "Revised" License
413 stars 106 forks source link

Plugin registration issue between file browser and github browser #156

Open ryokonorden opened 3 months ago

ryokonorden commented 3 months ago

Description

Notebook widgets from Launcher gives "Repository is read only" error after installing jupyterlab-github in JuptyerHub with JupyterLab > ver.4+. It tries to open Untitled.ipynb inside GitHub Browser instead of default File Browser pane.

A workaround is to select any file in the File Browser (no need to open it) before clicking the notebook widgets.

Reproduce

  1. Launch JupyterHub (docker run -p 8888:8888 quay.io/jupyter/datascience-notebook:hub-4.1.5)
  2. pip install jupyterlab-github
  3. Refresh browser
  4. Click on any Notebook widgets from Launcher image

Expected behavior

The new file Untitled.ipynb should open in File Browser pane instead of GitHub browser pane, which is read-only.

Context

jtpio commented 2 months ago

Thanks @ryokonorden for opening the issue :+1:

This appears to be a bug in JupyterLab and is being tracked in https://github.com/jupyterlab/jupyterlab/issues/15629.