rationalmatter / Juno-Issue-Tracker

Defect Tracker for Juno
78 stars 1 forks source link

Self-hosted CoCalc integration #201

Open JoernBrauns opened 4 years ago

JoernBrauns commented 4 years ago

Is your feature request related to a problem? Please describe. When using the official CoCalc integration, the projects are nicely displayed in a native list view. Also, the opening of a notebook directly enables the CoCalc Classical Juypter Notebook fallback.

When a self-hosted CoCalc instace is added in Juno Connect by "Add Jupyter Server", only a webview of the project list is displayed and the Classical Jupyter Notebook fallback has to be selected manually in the profile settings.

Describe the solution you'd like Therefore, is it possible to use the same native CoCalc integration with a self-hosted instance? Maybe a switch (or an automatic detection) can be added to the function "Add Jupypter Server", when a self-hosted CoCalc is used instead of a "normal" Jupyter Notebook.

alexstaravoitau commented 4 years ago

Hi @JoernBrauns — that's an interesting use case, thanks for reporting! You won't be able to do this right now I'm afraid: Juno Connect is using CoCalc API to access projects and launch projects, and I'm not sure if it is at all available in self-hosted CoCalc instances. If it is, and if there is a significant demand for this, we should be able to find a way to allow adding a self-hosted CoCalc server later.