Bring back a way for contributors to add a reduction to a problem not in the target list

Đang mở
#449 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
1-2 ngày
Mức phù hợp với người mới
57/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ệ
javascript
Lĩnh vực
frontend

Hướng nghiên cứu

Start in the Reduce pane and trace how its filtered target list opens the existing Add new reduction flow; the issue does not name files or tests. Add a separate, clearly labelled entry for choosing any other problem while keeping it distinct from real reduction targets. Done when contributors can reach the existing flow even if their problem has no reductions, and visitors still see only real targets; the complexity rule remains an open question.

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

Mô tả

enhancement

In plain terms

The Reduce pane's "reduce to" list now shows only problems the selected problem really reduces to (#46). Before, it listed every problem and greyed out the rest. That let a contributor pick a problem with no reduction yet and then click "Add new reduction". With the list filtered, that path is gone, and a problem with no reductions at all can't reach the button. This brings it back as its own clearly labelled entry for contributors.

What's wanted

  • A separate "Add a reduction to…" entry in the Reduce pane that lets a contributor pick any other problem and goes to the existing Add new reduction flow.
  • It stays visibly apart from the real targets, so visitors aren't offered reductions that don't exist.
  • Open question: should it follow a complexity rule (for example, don't suggest reducing a P problem to an NP-complete one as a hardness proof)?

Related

  • #46 (fix on fix/46-reduce-targets), #19
Ngôn ngữ chính
JavaScript
Star
3
Fork
18
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
27

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

  • Có Dockerfile hoặc tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 ReduxISU/Redux_GUI

Tất cả issue của ReduxISU/Redux_GUI

Issue tương tự

Thêm issue về JavaScript

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.