Auto-start: show each failure as it happens, not after all VMs started

Aperta
#49 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, react, typescript
Ambito
desktop

Direzione di ricerca

Start in src/main/ipc.ts, where the autostart handler runs the marked VMs in sequence and returns the collected problems in one response, and keep its one-shot guard. Find where the renderer calls autostart and where existing toast or event messages go from main to the UI. Done when each failure reaches the UI as it happens (for example a vm:autostart-issue event), and the IPC call only signals that the UI is ready to start.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement ui

Since #48, auto-start runs the marked VMs one after another and the UI gets the list of problems back in one go when the autostart IPC resolves. With several auto-start VMs, a failure on the first one only shows up after the rest have started.

Came up in the second review on #48.

What would fix it: send each issue as it happens (an event like vm:autostart-issue, or push them through the existing toast path from main), and keep the IPC only as the "UI is ready, go" signal. The one-shot guard in src/main/ipc.ts should stay.

Not urgent, a single start resolves in a few seconds, so it only matters with several large VMs marked.

Lingua principale
TypeScript
Stelle
3
Fork
0
Merge medio
2m
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di A21-devs/Virtual-Machine-Manager

Tutte le issue di A21-devs/Virtual-Machine-Manager

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.