Missing icons in jupyterlab
Issue: Icons missing from tree in JupyterLab
- Icons render as 'empty' images (i.e. blank squares). I am guessing that the CSS is buggered.
Here is code to reproduce this:
from ipytree import Node, Tree
tree = Tree()
root_node = Node('Root 1', opened = False)
tree.add_node(root_node)
new_child = Node('Child 1')
new_child.model = 1
root_node.add_node(new_child)
root_node = Node('Root 2', opened = False)
tree.add_node(root_node)
new_child = Node('Child 2')
new_child.model = 1
root_node.add_node(new_child)
tree
setup for jupyterlab:
JupyterLab v2.1.4
Known labextensions:
app dir: /opt/app-root/share/jupyter/lab
@j123npm/jupyterlab-dash v0.1.0-alpha.4 enabled OK
@jupyter-widgets/jupyterlab-manager v2.0.0 enabled OK
@jupyterlab/debugger v0.3.0-alpha.1 enabled OK
@jupyterlab/git v0.20.0 enabled OK
@jupyterlab/latex v2.0.0 enabled OK
ipytree v0.1.8 enabled OK
jupyterlab-plotly v4.8.0 enabled OK
jupyterlab-sql v0.3.3 enabled X
nbdime-jupyterlab v2.0.0 enabled OK
plotlywidget v4.8.0 enabled OK
qgrid2 v1.1.3 enabled OK
The following extension are outdated:
jupyterlab-sql
Consider running "jupyter labextension update --all" to check for updates.
I cannot reproduce locally. Installing JupyterLab 2 with latest ipytree seems to work properly. Do you see any error in the JavaScript console?
Hi I didn't make it clear that I was experiencing this issue in Jupyterhub with JupyterLab. That is probably the reason why you were not able to reproduce it.
And there were no issues in the console
And there were no issues in the console
Not even a 404 error? Do you see any other missing icons in the JupyterLab UI? FontAwesome might not be in the page :S But I am not sure. JupyterLab should include it in the page.
Nothing. It's odd for sure