Problem Editor "New problem template" is missleading

Đang mở
#2,732 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 4 ngày

Chưa có ai nhận issue nà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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
perl
Lĩnh vực
frontend

Hướng nghiên cứu

The misleading option is the "New problem template" choice in the problem editor, which opens assets/pg/newProblem.pg unless a saved temp file exists. Find where the editor picks between the template and the temp file, and check what label it shows. Before editing, settle the desired behavior: the reporter suggests either a label that reflects the temp-file case or two separate options. Done means the chosen wording or option matches what loads.

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

Mô tả

When selecting "New problem template" in the problem editor, the current behavior is to start editing the template assets/pg/newProblem.pg, but if any previous edits have been done and saved as a temp file, then the temp file is loaded instead.

Now I prefer the current behavior as I use this for testing, I just think the option is misleading because someone may select a "New problem template" and not get that. Would it be possible to adjust the text based on if a temp file exists or not, or give multiple options, one to continue editing the previous temp file and the next to actually start with a new problem template (though of course this will cause any unsaved edits to be lost).

I don't have a solution, just a minor thing I noticed.

Ngôn ngữ chính
Perl
Star
164
Fork
167
Merge trung bình
6 ngày 7 giờ
Pull request đã merge (30 ngày)
27

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không 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 openwebwork/webwork2

Tất cả issue của openwebwork/webwork2

Issue tương tự

Thêm issue về Perl

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.