Import file modal doesn't stay open when switching apps

Abierto
#2,182 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
desktop, frontend

Línea de trabajo

Empieza reproduciendo el problema mediante Files → Import → From IPFS y, a continuación, compara el comportamiento con ipfs-webui en localhost:5001. La corrección está terminada cuando el modal y su valor introducido permanecen después de cambiar a otra aplicación y volver.

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

Descripción

effort/days help wanted kind/bug P2 status/ready topic/design-front-end

Describe the bug
I was attempting to import a file from IPFS when I noticed this error because I had to switch back to my browser to copy the CID and name. After pasting one of the values, switching to the browser, copying the other value, and switching back to IPFS Desktop, the modal with the first value is still there, but immediately gets removed. This shouldn't happen.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Files'
  2. Click on 'Import'
  3. Click on 'From IPFS'
  4. Paste some value into either field
  5. Switch focus to another app
  6. Switch focus back to IPFS Desktop
  7. Notice that the modal and originally entered value is gone.

Expected behavior
I expected the modal to remain there, with the value I initially entered.

This bug does not happen in ipfs-webui (tested at localhost:5001)

Screenshots
ipfs_ipfs-desktop_issues_2182

Additional context
error.log

combined.log

Lenguaje dominante
JavaScript
Estrellas
6.6k
Forks
908
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

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 ipfs/ipfs-desktop

Todos los issues de ipfs/ipfs-desktop

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.