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

Offen
#60 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
electron, react, typescript
Bereich
desktop

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
0
Ø Merge
2 Min.
Gemergte PRs (30 T.)
41

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus A21-devs/Virtual-Machine-Manager

Alle Issues in A21-devs/Virtual-Machine-Manager

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.