Toolbar: show disk work (clone, compact, grow) like profile work

Open Beginner friendly
#128 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
electron, react, typescript
Domain
backend, desktop

Research direction

Start in ipc.ts at withDiskWork and trace how vm:profileWork reaches the toolbar and Hardware tab, which the issue says already disable during work. Extend that flow to report clone, compact, and grow operations, then verify the toolbar and Hardware tab disable the relevant controls while each operation runs.

Written by the indexing model from the issue text.

Description

enhancement ui

#121 made the toolbar show a running profile operation and disable the buttons the backend would refuse. Disk work has the same problem: withDiskWork in ipc.ts refuses Power on, Save state, profiles, Delete and so on while a full clone, a compact or a grow runs, but only the clone dialog sets the renderer's busy. During a compact or grow started from the Disk tools section, Power on is still enabled and clicking it gives "Kali is having its disk compacted. Wait for it to finish."

The vm:profileWork channel could become a general vm:work with 'cloning' | 'compacting' | 'growing' added next to the profile ones, sent from withDiskWork too. The toolbar and Hardware tab already disable on it.

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.