InsightSoftwareConsortium / InsightSoftwareConsortium/itkwidgets
Imjoy plugin loaded check. Or always show some cell output.
- Dominant language
- Python
- Stars
- 624
- Forks
- 83
- PR merge metrics
- No merged PRs in 30d
Description
When folks first `pip install itkwidgets`, my understanding is folks must refresh the notebook page to load the Imjoy extension. If they don't, `view(thing)` shows no cell output. Should always show some output.
The Env check notebook has some code to cope with that:
```
%%javascript
let needReload = (typeof window.loadImJoyRPC === "undefined");
if (needReload) {
needReload = false;
location.reload();
}
```
Is it possible to put this this check "client" side and show a error message with what to do about it.
Also, the check should check the Imjoy version number, as having an old Imjoy version passes this check, but still get no viewer rendering because error caused by Server/Client Imjoy version incomatablity.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.