Should ipykernel align kernel SVG with the one used by JupyterLab?

Abierto
#1,183 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
frontend

Línea de trabajo

Comienza con el issue 13991 de JupyterLab enlazado y compara el SVG del kernel de Python con el icono utilizado por JupyterLab. Localiza el recurso SVG de ipykernel y confirma qué icono de JupyterLab se pretende utilizar. Se considera completado cuando los dos iconos de Python utilizan el mismo SVG y las comprobaciones relevantes pasan correctamente.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

As per discussion in JupyterLab there seems to be a consensus to propose that ipykernel switches the svg icon to the one used in JupyterLab. Originally reported and discussed in https://github.com/jupyterlab/jupyterlab/issues/13991, included below for convenience:

Description

The buttons for launching a notebook with the Python kernel and for creating a new Python file both use a Python icon, but they look different. It is best to stick to one or the other to preserve consistency in the UI. This is of special significance given that this is what most users see first when launching JL.

Screen Shot 2023-02-13 at 2 27 59 PM

Reproduce

  1. Open JupyterLab
  2. Observe the Python icons are different

Expected behavior

The icons should be the same.

Context

  • Operating System and version: OS X Monterey
  • Browser and version: Chrome 109.0.5414.119 (Official Build) (x86_64)
  • JupyterLab version: 4.0.0a33 binder

I believe I had discussed this earlier when working on my CSS PR (now sadly abandoned). If I recall, the Python icons used at the top are actually coming from the kernel and are not hard-coded in the JL frontend. Would appreciate additional context from anybody knowledgable on this.

Originally posted by @dlqqq in https://github.com/jupyterlab/jupyterlab/issues/13991#issue-1583218948

Lenguaje dominante
Python
Estrellas
734
Forks
411
Merge medio
1 d 2 h
PR fusionados (30 d)
9

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ipython/ipykernel

Todos los issues de ipython/ipykernel

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.