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

Đang mở
#49 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
58/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
electron, react, typescript
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3
Fork
0
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
35

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của A21-devs/Virtual-Machine-Manager

Tất cả issue của A21-devs/Virtual-Machine-Manager

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.