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

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, react, typescript
Domain
desktop

Research direction

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.

Written by the indexing model from the issue text.

Description

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
Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
2m
Merged PRs (30d)
59

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from A21-devs/Virtual-Machine-Manager

All issues in A21-devs/Virtual-Machine-Manager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.