Show copy progress when an ISO is added by drag and drop

Abierto
#60 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

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
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
electron, react, typescript
Área
desktop

Línea de trabajo

The import currently runs through a copyFile call in the main process, which the issue wants replaced by a stream copy that reports bytes copied and total. Find where the drag-and-drop ISO import starts, and where the toolbar is disabled during it, and trace how the renderer's "Copying ..." toast is driven. Done means progress reaches the UI, Cancel deletes the .part file, and the toolbar stays usable while the copy runs; the design of the toast or bar and the cancel behaviour should be confirmed in the thread before you build it.

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

Descripción

enhancement ui

Copying a dropped ISO into the ISOs folder (#52) shows one "Copying ..." toast and then nothing until the new VM opens. For a 6 GB Windows ISO on a slow disk that can be a minute or more, and the toolbar stays disabled the whole time, so it looks stuck.

  • report progress from the main process (bytes copied / total, via a stream copy instead of copyFile)
  • show it in the toast or a small bar, with a Cancel that removes the .part file
  • don't block the toolbar while copying, only the import itself
Lenguaje dominante
TypeScript
Estrellas
3
Forks
0
Merge medio
2 min
PR fusionados (30 d)
35

Preparar el entorno

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 A21-devs/Virtual-Machine-Manager

Todos los issues de A21-devs/Virtual-Machine-Manager

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.