Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

[Feature] Stop Expo Go installation when Quick Pick is canceled

Đang mở Phù hợp với người mới
#2,959 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

@erenbati đang làm issue này rồi.

Từ ngày 26/9/2026.

  • #2967 của @erenbati — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
88/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
react-native, typescript, vscode

Hướng nghiên cứu

Bắt đầu từ lệnh React Native: Install Expo Go Application và lần theo hai lệnh gọi showQuickPick của nó. Trả về ngay lập tức khi một trong hai lựa chọn bị hủy, sau đó bổ sung kiểm thử hồi quy cho cả hai luồng hủy và xác minh rằng không có lời nhắc, yêu cầu siêu dữ liệu, quá trình tải xuống hoặc cài đặt nào diễn ra sau đó.

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

Mô tả

enhancement

Description

The Install Expo Go Application command continues executing when the user cancels one of its Quick Pick prompts.

  • Canceling the platform selection still opens the installation method prompt.
  • Canceling the installation method is treated like a manual installation, causing the command to continue checking the Expo environment and potentially downloading Expo Go.

Steps to reproduce

  1. Run the React Native: Install Expo Go Application command.
  2. Cancel the platform selection.

Alternatively:

  1. Select a platform.
  2. Cancel the installation method selection.

Expected behavior

The command should stop immediately when either Quick Pick is canceled. It should not display another prompt, request Expo version metadata, download files, or install an application.

Actual behavior

The command continues after cancellation and may perform unnecessary network or download operations.

Proposed fix

Return early after each showQuickPick call when no option is selected, and add regression tests for both cancellation paths.

Ngôn ngữ chính
TypeScript
Star
2.7k
Fork
298
Merge trung bình
15 giờ 2 phút
Pull request đã merge (30 ngày)
28

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 microsoft/vscode-react-native

Tất cả issue của microsoft/vscode-react-native

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.