Open
Description
In some situations this extension results in showing a dialog "Error: Repository is read only" if one wants to create a new "Untitled.ipynb" notebook by clicking in the launchpad on "Python 3".
I assume it comes from this lines of code:
https://github.com/jupyterlab-contrib/jupyterlab-gitlab/blob/main/src/contents.ts#L321
newUntitled(options: Contents.ICreateOptions = {}): Promise<Contents.IModel> {
return Promise.reject('Repository is read only');
}
As soon as one has interacted with the filebrowser in some way, like creating a new file for example, this problem does not occur anymore. So I assume that the function "newUntitled" of the file-browser-plugin is called when a "Python 3"-notebook is newly created. And somehow the implementation of JupyterLab-GitLab is first in the row - which should not be the case.
I have seen this in JupyterLab 3.6 and now also in 4.2.1.