Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing icons in jupyterlab #31

Open
wdalrymple opened this issue Jun 1, 2020 · 5 comments
Open

Missing icons in jupyterlab #31

wdalrymple opened this issue Jun 1, 2020 · 5 comments

Comments

@wdalrymple
Copy link

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.

@martinRenou
Copy link
Collaborator

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

@wdalrymple
Copy link
Author

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
Copy link
Author

And there were no issues in the console

@martinRenou
Copy link
Collaborator

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.

@wdalrymple
Copy link
Author

Nothing. It's odd for sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants