ipytree icon indicating copy to clipboard operation
ipytree copied to clipboard

Missing icons in jupyterlab

Open wdalrymple opened this issue 5 years ago • 5 comments

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.

wdalrymple avatar Jun 01 '20 21:06 wdalrymple

I cannot reproduce locally. Installing JupyterLab 2 with latest ipytree seems to work properly. Do you see any error in the JavaScript console?

martinRenou avatar Jun 17 '20 12:06 martinRenou

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.

wdalrymple avatar Jun 18 '20 14:06 wdalrymple

And there were no issues in the console

wdalrymple avatar Jun 18 '20 14:06 wdalrymple

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.

martinRenou avatar Jun 18 '20 14:06 martinRenou

Nothing. It's odd for sure

wdalrymple avatar Jun 18 '20 18:06 wdalrymple