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

オープン
#60 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
electron, react, typescript
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
3
フォーク
0
平均マージ
2分
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

A21-devs/Virtual-Machine-Manager のほかの issue

A21-devs/Virtual-Machine-Manager の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。