[Feature] Stop Expo Go installation when Quick Pick is canceled
Maintainer thường phản hồi trong vòng 1 ngày
Đá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
- Lĩnh vực
- developer-experience, tooling
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ả
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
- Run the
React Native: Install Expo Go Applicationcommand. - Cancel the platform selection.
Alternatively:
- Select a platform.
- 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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-react-native
-
[Feature] Avoid duplicate error notificationsCó thể đã có người làm @erenbati đã nhận 3 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/vscode-react-native#2963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
microsoft/vscode-react-native#2951 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature] Expo Doctor output is lost when diagnostics failCó thể đã có người làm @erenbati đã nhận 18 ngày trước. Đang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
microsoft/vscode-react-native#2957 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature] Incorrect log message when Metro process termination failsCó thể đã có người làm @erenbati đã nhận 3 ngày trước. Đang mởenhancement follow-up
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
microsoft/vscode-react-native#2952 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement follow-up
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
microsoft/vscode-react-native#2950 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của microsoft/vscode-react-native
Issue tương tự
-
Create/import wallet form shows raw "password must be at least 1 characters" instead of the translated messageCó thể đã có người làm @CapThunder19 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
joinmarket-webui/jam#1538 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
t0ggles
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
nolimits4web/swiper#8240 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
modelcontextprotocol/inspector#2723 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
status:approved type:bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
egdev6/quorb#109 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày