Profiles tab forgets a running save after switching VMs

オープン 初心者向け
#127 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
77/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
electron, react, typescript
領域
desktop, frontend

調査の方向性

Profiles.tsx を読み、VmDetail が profileWork() と onProfileWork を介して App から現在の VM のプロファイル作業を受け取る流れを追跡する。その状態を、タブのローカルな busy 状態とともに、ボタンと保存ヒントに使用する。保存中に VM を切り替えてもコントロールが無効のままになり、保存中… が表示され、作業が完了するまで正しいヒントが保持されていれば完了。

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

説明

bug ui

The Profiles tab keeps its own busy state (Profiles.tsx). VmDetail is keyed by the VM name, so selecting another VM and coming back mounts a fresh Profiles tab with busy = null while the save is still running in the backend:

  • Save profile, Launch, Edit and Delete are enabled again, and Save/Launch/Delete fail with "is still busy with another profile".
  • The button no longer says Saving…, and while the VM is off in the middle of a session save the hint switches to "is off, so this saves the disk only", which isn't what's happening.

Since #121 the backend reports profile work (profileWork() / onProfileWork). The tab could take the VM's current work from App and use it alongside its own busy for the buttons and the hint.

主要言語
TypeScript
スター
3
フォーク
0
平均マージ
2分
マージ済み PR(30日)
59

環境構築

はじめの一歩

  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 を短くまとめたダイジェスト。