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

UX Bug while trying to save Credentials temporarily #1226

Open
jerrygb opened this issue Feb 17, 2023 · 2 comments
Open

UX Bug while trying to save Credentials temporarily #1226

jerrygb opened this issue Feb 17, 2023 · 2 comments
Labels

Comments

@jerrygb
Copy link

jerrygb commented Feb 17, 2023

Description

We have the 0.39.0 version installed and there seems to be issue with the styling or theme where the checkbox is disabled as seen in the screenshot below.

Screen Shot 2023-02-17 at 7 15 13 AM

Could it be that some theme/user setting is causing the checkbox to behave this way?

Reproduce

  1. Go to Git Plugin
  2. Click on Clone Repository
  3. After entering the repo to clone, you have the screen for entering credentials which allows us to cache credentials. This checkbox is disabled.

Expected behavior

The checkbox is working and in conjunction with the following notebook config allows us to cache the credentials for an hour.

c.JupyterLabGit.credential_helper = 'cache --timeout=3600'

Another thing we noticed was if this was setup via git using just the terminal

git config --global credential.helper 'cache --timeout=3600'
git clone [email protected]

Then invokes and sets up the credential helper and we notice the file /home/jovyan/.cache/git/credential/socket.

Context

  • Python package version:
Name: jupyterlab-git
Version: 0.39.0
Summary: A JupyterLab extension for version control using git
Home-page: https://github.com/jupyterlab/jupyterlab-git
Author: Jupyter Development Team
Author-email: 
License: BSD-3-Clause
Location: /opt/conda/lib/python3.8/site-packages
Requires: jupyter-server, nbdime, nbformat, packaging, pexpect, traitlets
Required-by: 
  • Extension version:
$ jupyter labextension list
JupyterLab v3.0.16
/opt/conda/share/jupyter/labextensions
        dask-labextension v6.0.0 enabled OK (python, dask_labextension)
        jupyterlab-plotly v5.13.0 enabled OK
        nbdime-jupyterlab v2.1.1 enabled OK
        @aquirdturtle/collapsible_headings v3.1.0 enabled OK (python, aquirdturtle_collapsible_headings)
        @jupyter-widgets/jupyterlab-manager v5.0.5 enabled OK (python, jupyterlab_widgets)
        @jupyterlab/git v0.39.0 enabled OK (python, jupyterlab-git)
        @jupyterlab/server-proxy v3.2.2 enabled OK
        @krassowski/jupyterlab-lsp v3.9.3 enabled OK (python, jupyterlab-lsp)

Other labextensions (built into JupyterLab)
   app dir: /opt/conda/share/jupyter/lab
  • Git version: 2.25.1
  • Operating System and its version: Linux amd64

  • Jupyter version

$ jupyter --version
Selected Jupyter core packages...
IPython          : 8.1.1
ipykernel        : 5.5.5
ipywidgets       : 8.0.4
jupyter_client   : 7.1.2
jupyter_core     : 4.9.2
jupyter_server   : 1.13.5
jupyterlab       : 3.0.16
nbclient         : 0.5.12
nbconvert        : 6.4.2
nbformat         : 5.1.3
notebook         : 6.4.0
qtconsole        : not installed
traitlets        : 5.1.1
  • Jupyter Paths
config:
    /home/jovyan/.jupyter
    /home/jovyan/.local/etc/jupyter
    /opt/conda/etc/jupyter
    /usr/local/etc/jupyter
    /etc/jupyter
data:
    /home/jovyan/.local/share/jupyter
    /opt/conda/share/jupyter
    /usr/local/share/jupyter
    /usr/share/jupyter
runtime:
    /home/jovyan/.local/share/jupyter/runtime

We have jupyter_notebook_config.py file placed under /home/jovyan/.jupyter

@jerrygb jerrygb added the bug label Feb 17, 2023
@welcome
Copy link

welcome bot commented Feb 17, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jerrygb jerrygb changed the title UX Bug for Caching Credentials UX Bug while trying to save Credentials temporarily Feb 17, 2023
@fcollonval
Copy link
Member

It indeed may come from the theme. I would also try to install a more recent version of JupyterLab.

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

No branches or pull requests

2 participants