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

Offen
#49 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
58/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
electron, react, typescript
Bereich
desktop

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
3
Forks
0
Ø Merge
2 Min.
Gemergte PRs (30 T.)
41

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus A21-devs/Virtual-Machine-Manager

Alle Issues in A21-devs/Virtual-Machine-Manager

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.